On 11/10/13 13:10, Winfried wrote:
Doesn't work on my host.
On my samba 3.6.3 server
# cat /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
encrypt passwords = yes
log level = 2
guest account = nobody
security = user
map to guest = Bad User
[test]
path = /tmp
browsable = yes
read only = yes
guest ok = yes
AS above
# pdbedit -L
nobody:99:nobody
pdbedit -L
nobody:65534:nobody
Note: I never added user 'nobody'
# smbpasswd -x nobody
Deleted user nobody.
Did not do this
# pdbedit -L
# /etc/rc.d/rc.samba restart
Or the above
# smbclient -L localhost -U%
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.8]
Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.8]
Server Comment
--------- -------
Workgroup Master
--------- -------
smbclient -L localhost -U%
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba 3.6.3)
test Disk
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
Server Comment
--------- -------
TESTCLIENT Samba 3.6.3
Workgroup Master
--------- -------
WORKGROUP TESTCLIENT
# tail /var/log/samba/log.smbd
[2013/10/11 14:20:50.229649, 2] smbd/reply.c:553(reply_special)
netbios connect: name1=LOCALHOST 0x20 name2=SLAX 0x0
[2013/10/11 14:20:50.231106, 2] smbd/reply.c:573(reply_special)
netbios connect: local=localhost remote=slax, name type = 0
[2013/10/11 13:15:05.159362, 2] smbd/reply.c:553(reply_special)
netbios connect: name1=LOCALHOST 0x20 name2=TESTCLIENT 0x0
[2013/10/11 13:15:05.159504, 2] smbd/reply.c:573(reply_special)
netbios connect: local=localhost remote=testclient, name type = 0
It would seem that you do need the user 'nobody' but it also seems that
samba adds it automatically, what I do find strange is that on your
machine 'nobody' has the uidNumber of 99, whether this makes any
difference, I do not know.
I can only add that this setup works for me.
Rowland
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba