guest user, is this a bug, as I have a guest unix user and a smbpasswd
smbpasswd user. Both of these have passwords.
I've tried this just about every way I can think of!
Its driving me up the wall, any ideas would be gratefully accepted.
[global]
hosts allow = 194.217.17. 127. 213.219.41. 10.
guest account = guest
security = user
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
username map = /etc/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
(I've cut out all the browse / logon stuff)
[clients]
comment = Clients
valid users = @ovatedev
create mode = 0775
directory mode = 0775
path = /usr/local/documents/clients
writeable = yes
guest ok = yes
/etc/smbusers contains
root = administrator admin
nobody = pcguest smbguest
/etc/smbpasswd contains
guest:1007: -- Password deleted -- :[U ]:LCT-3A65EAF7:
/etc/group contains
ovatedev::109:list,of,usernames
/etc/passwd contains
guest:x:1007:100::/home/guest:/bin/sh
The group ovatedev contains a list of unix usernames - our windows
logons are the same as our unix usernames.
The unix file permissions /usr/local/documents/clients are
drwxrwxr-x 3 root ovatedev 512 Jan 15 17:10 clients
If I put myself in the ovatedev group I can connect as normal.
Once I remove myself from the group I can no longer access the share and
am
asked for a username and password.
This is what goes into log.smb and log.tosh (10.2.0.11) - at log level 2
[2001/01/17 21:39:12, 2] lib/access.c:check_access(258)
Allowed connection from 10.2.0.11 (10.2.0.11)
[2001/01/17 21:39:12, 0] passdb/smbpass.c:getsmbfilepwent(298)
getsmbfilepwent: malformed password entry (uid not number)
[2001/01/17 21:39:12, 2] lib/access.c:check_access(258)
Allowed connection from 10.2.0.11 (10.2.0.11)
[2001/01/17 21:39:12, 2] lib/access.c:check_access(258)
Allowed connection from 10.2.0.11 (10.2.0.11)
[2001/01/17 21:39:12, 0] smbd/password.c:authorise_login(826)
rejected invalid user guest
[2001/01/17 21:39:12, 2] smbd/service.c:make_connection(284)
Invalid username/password for clients
[2001/01/17 21:39:12, 2] lib/access.c:check_access(258)
Allowed connection from 10.2.0.11 (10.2.0.11)
[2001/01/17 21:39:12, 0] smbd/password.c:authorise_login(826)
rejected invalid user guest
[2001/01/17 21:39:12, 2] smbd/service.c:make_connection(284)
Invalid username/password for clients
[2001/01/17 21:39:12, 2] lib/access.c:check_access(258)
Allowed connection from 10.2.0.11 (10.2.0.11)
[2001/01/17 21:39:13, 0] smbd/password.c:authorise_login(826)
rejected invalid user guest
[2001/01/17 21:39:13, 2] smbd/service.c:make_connection(284)
Invalid username/password for clients
[2001/01/17 21:39:13, 2] lib/access.c:check_access(258)
Allowed connection from 10.2.0.11 (10.2.0.11)
[2001/01/17 21:39:13, 0] smbd/password.c:authorise_login(826)
rejected invalid user guest
[2001/01/17 21:39:13, 2] smbd/service.c:make_connection(284)
Invalid username/password for clients
Any help would be very gratefully accepted,
Alex Madden
--
Alex Madden (alexm@ovate.com)
Unix Systems Administrator
Phone - (020) 7689 7600 www.ovate.com www.remoteapps.com
Ovate, Islington, London, EC1V 2PT