I cannot join a Win2k machine to the Samba LDAP PDC. Have added a root account in ldap added the machine in /etc/passwd and added the machine via smbpasswd but to no avail. I have turned up logging to level 3 and can't find anything. Below are the following errors.: On Win2k PC : Logon Failure: unknown user or bad password Samba LDAP PDC: Jul 2 14:54:24 devel smbd[19074]: No user to modify! Please help. (pleeeease)
NSC - NetworkServiceCenter
2002-Jul-02 22:53 UTC
[Samba] Cannot join Win2k with Samba+LDAP PDC
hi dennis> I cannot join a Win2k machine to the Samba LDAP PDC. Have added a root > account in ldapdid you set the password with >>smbpasswd -w PASSWORD -D uid=root,dc=TEST,dc=NET<< ? you need the root password to bind stored in secrets.tdb. after this, set the password stored in the dit with>>smbpasswd root<< .> added the machine in /etc/passwd and added the machine > via smbpasswd but to no avail. I have turned up logging to level 3 andwhy in /etc/passwd and not in the directory-tree (dit)? make an entry for the ws in the dit and set the passwd with >>smbpasswd -m - a CLIENTNAME$<<. it should work now, but only if your pam.d files and nsswitch.conf where modified correctly! nsswitch.conf can you test with >>getent passwd<<. if you get entries from /etc/passwd and the dit your nsswitch.conf is configured correctly i hope i could help lg thomas reisenbichler
i had problems with 2.2.5 and joining a domain. try the latest cvs. works for me brad On Tue, 2002-07-02 at 16:00, Dennis Lattka wrote:> I cannot join a Win2k machine to the Samba LDAP PDC. Have added a root > account in ldap added the machine in /etc/passwd and added the machine > via smbpasswd but to no avail. I have turned up logging to level 3 and > can't find anything. Below are the following errors.: > > On Win2k PC : Logon Failure: unknown user or bad password > > Samba LDAP PDC: Jul 2 14:54:24 devel smbd[19074]: No user to modify! > > > Please help. (pleeeease) > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > > >
I have a similar problem. What I've noticed is that the "add user script" is not being executed such that I can add a machine automagically. I can use the script from the command line with no problem. I have also tried doing a test by createing a simple script to see if it gets executed, but no dice. It is not being executed at all, ever by Samba as far as I can tell. If I execute the script from the command line and then try and join the domain I have no trouble. hAAaaAAAaaaAaaalp! ;-) Dennis Lattka wrote:> I cannot join a Win2k machine to the Samba LDAP PDC. Have added a root > account in ldap added the machine in /etc/passwd and added the machine > via smbpasswd but to no avail. I have turned up logging to level 3 and > can't find anything. Below are the following errors.: > > On Win2k PC : Logon Failure: unknown user or bad password > > Samba LDAP PDC: Jul 2 14:54:24 devel smbd[19074]: No user to modify! > > > Please help. (pleeeease) > >