Hi,
I am currently using e-smith 5.0 and have sucessfully got a samba domain running with NT 4 workstation, millenium and win98 clients successfully logging in.
However I need to allow users to log in without a password. I have read and implemented the instructions in
http://www.samba.org/samba/docs/ENCRYPTION.htmlCurrently I have encyption turned on in samba and also get it to use the smbpasswd file. This file was already created.
In order to try and get users to login without a password I have tried to following.
Added "null passwords = yes" to the global section of smb.conf
restarted the smb deamon.
Added a new account via the e-smith manager console.
I have reset the password n the e-smith manager console
edited passwd and blanked the account for test
from
test:x:5007 to test::5007
Edited smbpassword and added "NO PASSWORD" in the first XXX section as follows
test:5077:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[U }
Basically I have replaced the 21 character hash values with Xs and added "NO PASSWORD".
I have tried to log in with the test account without a password but I get the following in the samba log file
[2002/03/05 14:28:04, 1] smbd/reply.c:reply_sesssetup_and_X(937)
Rejecting user 'test': bad password
[2002/03/05 14:29:16, 1] smbd/service.c:make_connection(550)
pc-00072 (192.168.1.72) connect to service netlogon as user test (uid=5007, gid=5007) (pid 1350)
[2002/03/05 14:29:19, 1] smbd/service.c:close_cnum(581)
pc-00072 (192.168.1.72) closed connection to service netlogon
[2002/03/05 14:29:19, 1] smbd/service.c:make_connection(550)
pc-00072 (192.168.1.72) connect to service netlogon as user test (uid=5007, gid=5007) (pid 1352)
[2002/03/05 14:32:04, 1] smbd/service.c:close_cnum(581)
pc-00072 (192.168.1.72) closed connection to service netlogon
However I can log in with the password I set via the esmith web manager.
This suggest to me that the password is set and kept somewhere else maybe.
I do know that the accounts are kept in an accounts folder in the e-smith folder.
I have also set the account flag to N (signifying no password) in smbpassword as per instructions in
http://www.samba.org/samba/docs/man/smbpasswd.5.htmlbut samba is ignoring the command.
Can anyone help please.
After two days of searching and changing smbpasswd settings I cannot get a user to login without a password. I would like to do this as some users are children and they are used to not entering a password. I am replacing an NT solution with a brilliant linux solution and this is the last hurdle.
Any help provided really appreciated.