[Samba] Guest account not working after upgrade
Woodcock, Steve
SWoodcock at scholastic.co.uk
Tue Mar 25 13:17:06 GMT 2003
I recently upgraded samba from samba-2.2.1a-4 to samba-2.2.7-2.7.2 on Red
Hat 7.2 and a guest share stopped working.
The share is defined as:
[test]
comment = Test
path = /test
browseable = yes
guest ok = yes
guest account = intranet
writable = yes
It looks like with the new version samba has started accessing the file
system as user nobody, which doesn't work.
This is my smb.conf global section:
[global]
workgroup = IT
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
printing = lprng
log file = /var/log/samba/%m.log
max log size = 0
security = domain
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
The shared directory is owned by intranet:
[root at rhtest1 test]# ls -ld /test
drwxr-xr-x 2 intranet intranet 1024 Mar 25 11:55 /test
I'm connecting to the share with a domain account, which is not in
/etc/passwd.
Here are log excerpts from the working and broken versions:
(works)
[2003/03/25 13:06:27, 1] smbd/service.c:make_connection(606)
soitsw (10.20.10.158) connect to service test as user intranet (uid=507,
gid=511) (pid 17637)
(broken)
[2003/03/25 13:05:43, 1] smbd/service.c:make_connection(636)
soitsw (10.20.10.158) connect to service test as user intranet (uid=99,
gid=99) (pid 17588)
As you can see, in the broken case samba has got the wrong uid/gid. Can
anyone help me find out what's causing this?
Regards, Steve Woodcock
More information about the samba
mailing list