[SOLVED] Samba Rejecting User root !
I am having a lot of trouble trying to get one particular machine to allow for a root login to samba. I have set
and put in a password. I have also put in
under a share definition.
valid users = root
user = root
However, when I try to log in as root with the password I put in to smbpasswd using smbclient I get the following
and I also get the following error in my logs
smbclient //hostname/sharename -U root%password
tree connect failed: NT_STATUS_WRONG_PASSWORD
I have done the same configuration on several other servers and they work, I can't think why this doesn't work.
Dec 25 20:07:35 hostname smbd: [2006/12/25 20:07:35, 0] passdb/pampass.c:smb_pam_passcheck(827)
Dec 25 20:07:35 hostname smbd: smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User root !
Dec 25 20:07:35 hostname PAM-warn: function=[pam_sm_authenticate] service=[samba] terminal=[samba] user=[root] ruser=[<unknown>] rhost=[mymachine.mydomain.com]
I have been googling all over the place but the answers I have found say that I need to put in an smbpasswd, but I have put in an smbpasswd!