[Samba] problem joining computer to domain
Tony Austin
nsswitch at gigaday.com
Mon Nov 21 17:39:38 GMT 2005
I cannot join my WinXP workstation computers to the Samba domain. Using
the Computer Name / Change on the XP computer gives me an error saying
that the username or password is incorrect - except very occasionally when
it works although I do nothing different!
I have noticed that on when it works there is a machine record set up in
LDAP with Samba data as follows:-
dn: uid=leem-q4hw$,ou=People,dc=commtechgroup,dc=co.uk
uid: leem-q4hw$
sambaSID: S-1-5-21-1504740027-1884281049-541626052-3090
sambaPrimaryGroupSID: S-1-5-21-1504740027-1884281049-541626052-2107
displayName: leem-q4hw$
objectClass: sambaSamAccount
objectClass: account
creatorsName: cn=Manager,dc=commtechgroup,dc=co.uk
createTimestamp: 20051109143944Z
sambaPwdCanChange: 1131547184
sambaPwdMustChange: 2147483647
sambaNTPassword: 7F47D21BE0CCA3F6BA29CDC00277875B
sambaPwdLastSet: 1131547184
sambaAcctFlags: [W ]
modifiersName: cn=Manager,dc=commtechgroup,dc=co.uk
modifyTimestamp: 20051109143944Z
But the rest of the time, when it doesn't work, I get an LDAP entry
without any Samba data like this:-
dn: uid=commaint-df398$,ou=People,dc=commtechgroup,dc=co.uk
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
cn: commaint-df398$
sn: commaint-df398$
uid: commaint-df398$
uidNumber: 1046
gidNumber: 553
homeDirectory: /dev/null
loginShell: /bin/false
description: Computer
creatorsName: cn=Manager,dc=commtechgroup,dc=co.uk
createTimestamp: 20051116130633Z
modifiersName: cn=Manager,dc=commtechgroup,dc=co.uk
modifyTimestamp: 20051116130633Z
I have experimented with various combinations of
root# ./smbldap-useradd -a -w compname$
to see if I can get the record set up with the Samba data, but no luck.
I now have 2 servers both of which show the same symptom.
Tony
More information about the samba
mailing list