[Samba] Samba-3.0.2 PDC LDAP: Add computer to domain issue with
jerome.tournier at idealx.com
Thu Feb 26 13:26:25 GMT 2004
Le Thu, Feb 26, 2004 at 03:08:58PM +0200, David Wilson a ecrit:
> add users to /etc/passwd etc. and then to LDAP with smbldap-useradd -a
Why don't you put the account in ldap only ? 'smbldap-useradd -a' will add
a posix account in the directory: you'll then have 2 accounts with the
same username !
> My only problem is that I cannot seem to get a machine account added
> correctly. I've added the PC name to /etc/passwd etc. with "useradd -s
> /bin/false -g computers pc1$" and also run "smbldap-useradd -w pc1".
> When the computer attempts to join the domain it receives an "unable to
> join domain" error. It seems that "smbldap-useradd -w pc1" seems to add
> only a posix account to the LDAP backend ?:
Yes. Samba will add the sambaSAMAccoutn objectclass when joining the
> I've missed something somewhere for sure ? Perhaps I need nss_ldap ?
Yes, you nedd nss_ldap.
More information about the samba