[Samba] Samba 3.0.1 W2K Joing domain error - the user name
couldnot be found
Andrew Bartlett
abartlet at samba.org
Sun Jan 4 22:03:22 GMT 2004
On Sun, Dec 28, 2003 at 12:34:21AM -0500, sun at percipia.com wrote:
> Hi,
>
> Thanks for your information. Now I was not able to login as domain user. I
> am getting following error message.
>
This looks all messed up:
> # nobody, People, sfgroup.com
> dn: uid=nobody,ou=People,dc=sfgroup,dc=com
> cn: nobody
> sn: nobody
> objectClass: inetOrgPerson
> objectClass: sambaSAMAccount
> objectClass: posixAccount
> gidNumber: 514
> uid: nobody
> uidNumber: 999
You should have this as 99, and remove the entry from /etc/passwd, or
match it exactly. Having 'nobody' twice will cause you pain.
> homeDirectory: /dev/null
> sambaPwdLastSet: 0
> sambaLogonTime: 0
> sambaLogoffTime: 2147483647
> sambaKickoffTime: 2147483647
> sambaPwdCanChange: 0
> sambaPwdMustChange: 2147483647
> sambaHomePath: \\_PDCNAME_\homes
> sambaHomeDrive: _HOMEDRIVE_
> sambaProfilePath: \\_PDCNAME_\profiles\
> sambaPrimaryGroupSID: S-1-5-21-3516781642-1962875130-3438800523-514
> sambaLMPassword: NO PASSWORDXXXXXXXXXXXXXXXXXXXXX
> sambaNTPassword: NO PASSWORDXXXXXXXXXXXXXXXXXXXXX
Remove these lines. This meas 'accept any password', we handle the
guest login seperatly.
> sambaAcctFlags: [NU ]
Remove the 'N'.
> sambaSID: S-1-5-21-3516781642-1962875130-3438800523-2998
This must end in -501 to be the guest account.
> loginShell: /bin/false
Andrew Bartlett
More information about the samba
mailing list