PDA

Bekijk de volledige versie : Problem with Samba



bs3
22-05-2005, 00:18
Hi.

I got a WL 500gx and when I use the 1.9.2.7-4 firmware, SAMBA runs fine but when I use the 1.9.2.7-5a (or 1.9.2.7-5) firmware, I get some problems. In Windows XP , I can see the samba-share (and share$) and the files on the disk, but I can't be allowed to read the files or write new files to the disk.
Ftp works fine and the LAN hostname got a value

Any suggestion?

barsju
22-05-2005, 08:12
Well you can check out /var/log/smb and /tmp/syslog.log for any errors. You can also post your /etc/smb.conf file if you want some to help you see if you have something wrong there..

B.

PS: Samba works fine for me with 1.9.2.7-5a..

petgun
22-05-2005, 08:59
hi,

PS: Samba works fine for me with 1.9.2.7-5a..
same to me, exept that files > 2 GB are still invisible.

cu,
peter

bs3
22-05-2005, 09:56
Hi.
When I just updated from CR4 til CR5a, samba works fine, but after a router reboot I get the same problems. I can see the files and browse the folders on the samba-share but I'm not allowed to read the files or write new files to the drive.
Please help me :)

My smb.conf:
[admin@BRS etc]$ cat smb.conf
[global]
workgroup = WORKGROUP
guest account = nobody
security = share
browseable = yes
guest ok = yes
guest only = yes
log level = 1
max log size = 100
encrypt passwords = no
preserve case = yes
short preserve case = yes

[share]
path = /tmp/harddisk

[fat32]
path = /tmp/harddisk
writable = yes
force user = admin
browseable = yes
[admin@BRS etc]$

My /var/log/smb:
[admin@BRS log]$ cat smb
1970/01/01 00:02:37 computer1 (1
min (uid=0,gid=99) (pid 149)
[admin@BRS log]$ cat smb
1970/01/01 00:02:37 computer1 (1
min (uid=0,gid=99) (pid 149)
[admin@BRS log]$ cat smb
1970/01/01 00:02:37 computer1 (1
min (uid=0,gid=99) (pid 149)
1970/01/01 00:03:25 computer1 (1
body (uid=99,gid=99) (pid 149)
1970/01/01 00:03:26 computer1 (1
1970/01/01 00:03:26 computer1 (1
body (uid=99,gid=99) (pid 149)
1970/01/01 00:03:26 computer1 (1
1970/01/01 00:03:26 computer1 (1
body (uid=99,gid=99) (pid 149)
1970/01/01 00:03:26 computer1 (1
1970/01/01 00:03:26 computer1 (1
body (uid=99,gid=99) (pid 149)
1970/01/01 00:03:26 computer1 (1
1970/01/01 00:03:26 computer1 (1
body (uid=99,gid=99) (pid 149)

bs3
22-05-2005, 09:57
My /tmp/syslog.log:
[admin@BRS /tmp]$ cat syslog.log
Jan 1 01:00:05 syslogd started: BusyBox v1.00 (2005.05.11-18:29+0000)
Jan 1 01:00:05 dnsmasq[60]: started, version 2.17 cachesize 150
Jan 1 01:00:05 dnsmasq[60]: DHCP, IP range 192.168.1.2 -- 192.168.1.254, lease
time 24h
Jan 1 01:00:05 dnsmasq[60]: DHCP, /tmp/dnsmasq.log will be written every 28800s
Jan 1 01:00:05 kernel: Creating 5 MTD partitions on "Physically mapped flash":
Jan 1 01:00:05 kernel: 0x00000000-0x00040000 : "pmon"
Jan 1 01:00:05 kernel: 0x00040000-0x003e0000 : "linux"
Jan 1 01:00:05 kernel: 0x000eb5b4-0x003e0000 : "rootfs"
Jan 1 01:00:05 kernel: 0x003f0000-0x00400000 : "nvram"
Jan 1 01:00:05 kernel: 0x003e0000-0x003f0000 : "config"
Jan 1 01:00:05 kernel: sflash: found no supported devices
Jan 1 01:00:05 kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Jan 1 01:00:05 kernel: IP Protocols: ICMP, UDP, TCP
Jan 1 01:00:05 kernel: IP: routing cache hash table of 512 buckets, 4Kbytes
Jan 1 01:00:05 kernel: TCP: Hash tables configured (established 2048 bind 4096)
Jan 1 01:00:05 kernel: ip_conntrack version 2.1 (256 buckets, 2048 max) - 344 b
ytes per conntrack
Jan 1 01:00:05 kernel: ip_conntrack_pptp version 1.9 loaded
Jan 1 01:00:05 kernel: ip_nat_pptp version 1.5 loaded
Jan 1 01:00:05 kernel: ip_tables: (C) 2000-2002 Netfilter core team
Jan 1 01:00:05 kernel: ipt_time loading
Jan 1 01:00:05 kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Jan 1 01:00:05 kernel: IPv6 v0.8 for NET4.0
Jan 1 01:00:05 kernel: IPv6 over IPv4 tunneling driver
Jan 1 01:00:05 kernel: NET4: Ethernet Bridge 008 for NET4.0
Jan 1 01:00:05 kernel: 802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech
.com>
Jan 1 01:00:05 kernel: All bugs added by David S. Miller <davem@redhat.com>
Jan 1 01:00:05 dnsmasq[60]: read /etc/hosts - 5 addresses
Jan 1 01:00:05 dnsmasq[60]: reading /tmp/resolv.conf
Jan 1 01:00:05 kernel: FAT: bogus logical sector size 64512
Jan 1 01:00:05 kernel: FAT: bogus logical sector size 64512
Jan 1 01:00:05 kernel: NTFS: Unable to set blocksize 512.
Jan 1 01:00:05 kernel: VFS: Mounted root (squashfs filesystem) readonly.
Jan 1 01:00:05 kernel: Mounted devfs on /dev
Jan 1 01:00:05 kernel: Freeing unused kernel memory: 72k freed
Jan 1 01:00:05 kernel: Algorithmics/MIPS FPU Emulator v1.5
Jan 1 01:00:05 kernel: eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3
.90.7.0
Jan 1 01:00:05 kernel: PCI: Enabling device 01:03.0 (0004 -> 0006)
Jan 1 01:00:05 kernel: ontroller 3.90.23.0
Jan 1 01:00:05 kernel: device eth1 entered promiscuous mode
Jan 1 01:00:05 kernel: eth0.1: add 33:33:00:00:00:01 mcast address to master in
terface
Jan 1 01:00:05 kernel: eth0.1: add 33:33:ff:d1:e0:bb mcast address to master in
terface
Jan 1 01:00:05 kernel: eth0.1: dev_set_promiscuity(master, 1)
Jan 1 01:00:05 kernel: device eth0 entered promiscuous mode
Jan 1 01:00:05 kernel: device eth0.1 entered promiscuous mode
Jan 1 01:00:05 kernel: br0: port 2(eth0.1) entering listening state
Jan 1 01:00:05 kernel: br0: port 1(eth1) entering listening state
Jan 1 01:00:05 kernel: br0: port 2(eth0.1) entering learning state
Jan 1 01:00:05 kernel: br0: port 2(eth0.1) entering forwarding state
Jan 1 01:00:05 kernel: br0: topology change detected, propagating
Jan 1 01:00:05 kernel: br0: port 1(eth1) entering learning state
Jan 1 01:00:05 kernel: br0: port 1(eth1) entering forwarding state
Jan 1 01:00:05 kernel: br0: topology change detected, propagating
Jan 1 01:00:05 kernel: usb.c: registered new driver usbdevfs
Jan 1 01:00:05 kernel: usb.c: registered new driver hub
Jan 1 01:00:06 kernel: usb-uhci.c: $Revision: 1.275 $ time 21:43:09 Apr 20 2005
Jan 1 01:00:06 kernel: usb-uhci.c: High bandwidth mode enabled
Jan 1 01:00:06 kernel: PCI: Enabling device 01:02.0 (0000 -> 0001)
Jan 1 01:00:06 kernel: usb-uhci.c: USB UHCI at I/O 0x100, IRQ 2
Jan 1 01:00:06 kernel: usb-uhci.c: Detected 2 ports
Jan 1 01:00:06 kernel: usb.c: new USB bus registered, assigned bus number 1
Jan 1 01:00:06 kernel: hub.c: USB hub found
Jan 1 01:00:06 kernel: hub.c: 2 ports detected
Jan 1 01:00:06 kernel: PCI: Enabling device 01:02.1 (0000 -> 0001)
Jan 1 01:00:06 kernel: usb-uhci.c: USB UHCI at I/O 0x120, IRQ 2
Jan 1 01:00:06 kernel: usb-uhci.c: Detected 2 ports
Jan 1 01:00:06 kernel: usb.c: new USB bus registered, assigned bus number 2
Jan 1 01:00:06 kernel: hub.c: USB hub found
Jan 1 01:00:06 kernel: hub.c: 2 ports detected
Jan 1 01:00:06 kernel: usb-uhci.c: v1.275:USB Universal Host Controller Interfa
ce driver
Jan 1 01:00:06 kernel: PCI: Enabling device 01:02.2 (0000 -> 0002)
Jan 1 01:00:06 kernel: ehci_hcd 01:02.2: PCI device 1106:3104
Jan 1 01:00:06 kernel: ehci_hcd 01:02.2: irq 2, pci mem c00a4000
Jan 1 01:00:06 kernel: usb.c: new USB bus registered, assigned bus number 3
Jan 1 01:00:06 kernel: PCI: 01:02.2 PCI cache line size set incorrectly (0 byte
s) by BIOS/FW, correcting to 32
Jan 1 01:00:06 kernel: ehci_hcd 01:02.2: USB 2.0 enabled, EHCI 1.00, driver 200
3-Dec-29/2.4
Jan 1 01:00:06 kernel: hub.c: USB hub found
Jan 1 01:00:06 kernel: hub.c: 4 ports detected
Jan 1 01:00:06 kernel: usb.c: registered new driver usblp
Jan 1 01:00:06 kernel: printer.c: v0.13: USB Printer Device Class driver
Jan 1 01:00:07 kernel: hub.c: connect-debounce failed, port 2 disabled
Jan 1 01:00:07 kernel: hub.c: new USB device 01:02.2-2, assigned address 2
Jan 1 01:00:07 kernel: usb.c: USB device 2 (vend/prod 0x67b/0x2507) is not clai
med by any active driver.
Jan 1 01:00:08 kernel: usb.c: registered new driver audio
Jan 1 01:00:08 kernel: audio.c: v1.0.0:USB Audio Class driver
Jan 1 01:00:08 kernel: Linux video capture interface: v1.00
Jan 1 01:00:09 kernel: SCSI subsystem driver Revision: 1.00
Jan 1 01:00:09 kernel: Initializing USB Mass Storage driver...
Jan 1 01:00:09 kernel: usb.c: registered new driver usb-storage
Jan 1 01:00:09 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jan 1 01:00:09 kernel: Vendor: TOSHIBA Model: MK2018GAP Rev: M1.4
Jan 1 01:00:09 kernel: Type: Direct-Access ANSI SCSI r
evision: 02
Jan 1 01:00:09 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Jan 1 01:00:09 kernel: SCSI device sda: 39070081 512-byte hdwr sectors (20004 M
B)
Jan 1 01:00:09 kernel: Partition check:
Jan 1 01:00:10 kernel: p1
Jan 1 01:00:10 kernel: USB Mass Storage support registered.
Jan 1 01:00:10 kernel: eth0.1: del 33:33:ff:d1:e0:bb mcast address from master
interface
Jan 1 01:00:10 kernel: eth0.1: del 33:33:ff:d1:e0:bb mcast address from vlan in
terface
Jan 1 01:00:10 kernel: eth0.1: del 33:33:00:00:00:01 mcast address from master
interface
Jan 1 01:00:10 kernel: eth0.1: del 33:33:00:00:00:01 mcast address from vlan in
terface
Jan 1 01:00:10 kernel: br0: port 2(eth0.1) entering disabled state
Jan 1 01:00:10 kernel: eth0.1: dev_set_promiscuity(master, 1)
Jan 1 01:00:10 kernel: eth0.1: add 33:33:00:00:00:01 mcast address to master in
terface
Jan 1 01:00:10 kernel: eth0.1: add 33:33:ff:d1:e0:bb mcast address to master in
terface
Jan 1 01:00:10 kernel: br0: port 2(eth0.1) entering listening state
Jan 1 01:00:10 kernel: br0: port 2(eth0.1) entering learning state
Jan 1 01:00:10 kernel: br0: port 2(eth0.1) entering forwarding state
Jan 1 01:00:10 kernel: br0: topology change detected, propagating
Jan 1 01:00:10 pppd[89]: Plugin rp-pppoe.so loaded.
Jan 1 01:00:10 pppd[89]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.
2
Jan 1 01:00:11 pppd[90]: pppd 2.4.2 started by admin, uid 0
Jan 1 01:00:11 pppd[90]: PPP session is 21202
Jan 1 01:00:11 pppd[90]: Using interface ppp0
Jan 1 01:00:11 pppd[90]: Connect: ppp0 <--> eth0
Jan 1 01:00:11 pppd[90]: Remote message: Greetings!!
Jan 1 01:00:11 pppd[90]: PAP authentication succeeded
Jan 1 01:00:11 pppd[90]: peer from calling number 00:50:70:2A:01:18 authorized
Jan 1 01:00:11 kernel: mppe_decomp_alloc: options rejected: o[0]=12, o[1]=06, o
[2]=00, o[3]=00, o[4]=00, o[5]=00
Jan 1 01:00:11 pppd[90]: Received bad configure-ack:
Jan 1 01:00:11 pppd[90]: local IP address 10.255.28.127
Jan 1 01:00:11 pppd[90]: remote IP address 10.250.0.1
Jan 1 01:00:11 pppd[90]: primary DNS address 82.180.0.166
Jan 1 01:00:11 pppd[90]: secondary DNS address 213.170.224.166
Jan 1 01:00:11 dnsmasq[60]: read /etc/hosts - 5 addresses
Jan 1 01:00:11 dnsmasq[60]: reading /tmp/resolv.conf
Jan 1 01:00:11 dnsmasq[60]: using nameserver 213.170.224.166#53
Jan 1 01:00:11 dnsmasq[60]: using nameserver 82.180.0.166#53
Jan 1 00:00:12 PPPoE: connect to ISP
Jan 1 00:00:17 dnsmasq[60]: DHCPREQUEST(br0) 192.168.1.94 00:02:44:2d:47:71
Jan 1 00:00:17 dnsmasq[60]: DHCPACK(br0) 192.168.1.94 00:02:44:2d:47:71 compute
r1
Jan 1 00:00:21 kernel: VFS: Can't find ext3 filesystem on dev sd(8,1).
Jan 1 00:00:21 kernel: MSDOS FS: Using codepage 950
Jan 1 00:00:21 kernel: MSDOS FS: IO charset cp950
Jan 1 00:00:21 USB storage: vfat fs mounted to /tmp/harddisk
Jan 1 00:00:21 FTP server: daemon is started
Jan 1 00:02:06 login[139]: root login on `pts/0'
[admin@BRS /tmp]$

DocSnyder
23-05-2005, 01:00
Yeah, for me the same. With the 5a I can only see the shares but not read them. With ..4 everything works fine. Perhaps a bug. I have the Deluxe.

fraho
23-05-2005, 09:15
...and the same for me: I can only see the shares but can't execute them or write new files. this is my conf:

[global]
workgroup = myworkgroup
guest account = nobody
security = share
browseable = no
guest ok = yes
guest only = no
log level = 1
max log size = 100
encrypt passwords = yes

[disk]
path = /tmp/harddisk
writeable = yes

[video]
path = /tmp/harddisk/video
writeable = yes
browseable = yes

[audio]
path = /tmp/harddisk/audio
writeable = yes
browseable = yes

[pics]
path = /tmp/harddisk/video/pics
writeable = yes
browseable = yes

Oleg
23-05-2005, 10:32
You should add


force user = root

To all of your shares.

fraho
23-05-2005, 11:59
Hi Oleg,

I think my problem is that I tried to change the security-option within the smb.conf from "share" to "user" and created a smbuser and password with smbpasswd. Could it be possible that Samba 1.9.18 cannot handle encrypted passwords from a XP-client? However, whatever I'm changing within the smb.conf, since I played around with this smbpasswd stuff I'm getting smb-logs like the following one and can't read or write on the shares (except from creating new folders!):


[frank@MediaServer log]$ more smb
Couldn't find user root
1970/01/01 00:00:47 frankdesk (192.168.0.4) connect to service audio as user frank
nk (uid=0,gid=0) (pid 112)
1970/01/01 00:02:37 chdir() failed in unbecome_user
1970/01/01 00:02:37 chdir() failed in unbecome_user
1970/01/01 00:02:37 chdir() failed in unbecome_user
1970/01/01 00:02:37 chdir() failed in unbecome_user
1970/01/01 00:02:37 chdir() failed in unbecome_user
1970/01/01 00:02:37 chdir() failed in unbecome_user
1970/01/01 00:02:38 chdir() failed in unbecome_user
1970/01/01 00:02:38 chdir() failed in unbecome_user
1970/01/01 00:02:38 chdir() failed in unbecome_user
1970/01/01 00:02:38 chdir() failed in unbecome_user
1970/01/01 00:02:38 chdir() failed in unbecome_user
1970/01/01 00:02:38 chdir() failed in unbecome_user
1970/01/01 00:02:38 chdir() failed in unbecome_user
1970/01/01 00:02:38 chdir() failed in unbecome_user
1970/01/01 00:02:38 chdir() failed in unbecome_user
1970/01/01 00:02:38 chdir() failed in unbecome_user
1970/01/01 00:02:43 chdir() failed in unbecome_user
1970/01/01 00:02:43 chdir() failed in unbecome_user
1970/01/01 00:02:43 chdir() failed in unbecome_user
1970/01/01 00:02:43 chdir() failed in unbecome_user
--More-- (95% of 1223 bytes)

Maybe a reset of the wl-500gx would be the best???
Thanks for your help!

fraho

fraho
23-05-2005, 14:57
hi,

just resetted the smb.conf by deleting the entry in /usr/local/.files. After rebooting the wl-500gx I got the original one but I still can't write or read anything, neither on [share] nor on [share$]. This is the log for now:

2005/05/23 15:49:02 frankdesk (192.168.0.4) connect to service share as user nob
ody (uid=99,gid=99) (pid 111)
Unknown message type 160!
2005/05/23 15:49:02 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:49:03 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
2005/05/23 15:49:09 frankdesk (192.168.0.4) closed connection to service share
2005/05/23 15:49:29 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
Unknown message type 160!
2005/05/23 15:49:31 unknown command type (SMBunknown): cnum=78 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:49:31 unknown command type (SMBunknown): cnum=78 type=160 (0xA0)
2005/05/23 15:49:33 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:49:40 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:49:43 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:49:43 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:49:43 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:49:44 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:49:44 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:49:44 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:49:45 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:49:45 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:49:48 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:49:48 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:50:01 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:50:04 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:50:04 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:50:04 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:50:08 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:50:08 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:50:22 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:50:22 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:50:22 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:50:29 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:50:29 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:50:29 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:50:29 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:50:29 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:50:40 frankdesk (192.168.0.4) closed connection to service share$
2005/05/23 15:50:41 frankdesk (192.168.0.4) connect to service share$ as user frank (uid=0,gid=99) (pid 111)
2005/05/23 15:50:43 frankdesk (192.168.0.4) connect to service share as user nobody (uid=99,gid=99) (pid 111)
2005/05/23 15:50:52 frankdesk (192.168.0.4) closed connection to service share$
Unknown message type 160!
2005/05/23 15:50:52 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:50:53 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:50:53 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:50:54 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:50:54 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:50:54 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:50:54 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
2005/05/23 15:51:04 frankdesk (192.168.0.4) closed connection to service share
2005/05/23 15:51:07 frankdesk (192.168.0.4) connect to service share as user nobody (uid=99,gid=99) (pid 111)
2005/05/23 15:51:07 frankdesk (192.168.0.4) closed connection to service share
2005/05/23 15:51:07 frankdesk (192.168.0.4) connect to service share as user nobody (uid=99,gid=99) (pid 111)
2005/05/23 15:51:07 frankdesk (192.168.0.4) closed connection to service share
2005/05/23 15:51:08 frankdesk (192.168.0.4) connect to service share as user nobody (uid=99,gid=99) (pid 111)
2005/05/23 15:51:08 frankdesk (192.168.0.4) closed connection to service share
2005/05/23 15:51:08 frankdesk (192.168.0.4) connect to service share as user nobody (uid=99,gid=99) (pid 111)
Unknown message type 160!
2005/05/23 15:51:10 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:10 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:10 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:10 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:11 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:11 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:11 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:11 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:11 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:13 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:13 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:13 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:13 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:13 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:27 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:28 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:28 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:28 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
Unknown message type 160!
2005/05/23 15:51:28 unknown command type (SMBunknown): cnum=105 type=160 (0xA0)
2005/05/23 15:51:28 frankdesk (192.168.0.4) closed connection to service share
[frank@MediaServer log]$

Oleg
23-05-2005, 15:24
which filesystem is used? ext3 or fat?

DocSnyder
23-05-2005, 16:27
Thanx, Oleg! The force user = root entry did the trick for me. There stood admin before. But why works it with version .4 and not in 5a with the standard-settings?

fraho
23-05-2005, 18:12
hi,

I'm using the ext3-filesystem. The filesystem permissions of all data on /tmp/harddisk are set recursevly to 777, just to prevent any problems referring to this......

Anyway, I meanwhile re-flashed the wl-500gx and now it works again with the standard-settings.
But the question is, is it possible to set security = user? I don't like the idea of giving anyone access to ALL shares. I would like to give access for everyone only to specific shares whereas other shares should only be accessed by myself (with my XP-user). The way I handled that when my files were on a W2k3-Server...

fraho

Oleg
23-05-2005, 19:43
Thanx, Oleg! The force user = root entry did the trick for me. There stood admin before. But why works it with version .4 and not in 5a with the standard-settings?
it works fine with 5a out of the box.

Oleg
23-05-2005, 19:45
But the question is, is it possible to set security = user? I don't like the idea of giving anyone access to ALL shares. I would like to give access for everyone only to specific shares whereas other shares should only be accessed by myself (with my XP-user). The way I handled that when my files were on a W2k3-Server...

Yes, it works fine for me with security = user. You've to add users both to passwd and smbpasswd.

fraho
23-05-2005, 20:33
Yes, it works fine for me with security = user. You've to add users both to passwd and smbpasswd.

As the renamed root (admin) is already present concerning passwd, it should work if this one is added only in smbpasswd, right? Or do I have to create seperate users anyway?

fraho

fraho
24-05-2005, 09:42
Another result of my Samba-problems (maybe from setting the permissions on /tmp/harddisk to 777):

My Dbox can't mount my nfs-shares anymore (Mount-error).


mount -t nfs -o rw,nolock 192.168.0.2:/tmp/harddisk/video /var/mnt/video
mount: 192.168.0.2:/tmp/harddisk/video failed, reason given by server: Permission denied
mount: nfsmount failed: Bad file descriptor
mount: Mounting 192.168.0.2:/tmp/harddisk/video on /var/mnt/video failed: Invalid argument

What can I do to get this working again??

fraho