Ray Raszka
2002-Dec-05 19:23 UTC
[Samba] Adding users to samba 3.0alpha21 -> ldap backend - fails
I am attempting to add domain users from a WINNT 4.0 domain workstation using user manager for domains onto a samba 3.0 alpha 21 PDC. The problem is that if the smb.conf file contains the "add user script" parameter, the script executes and adds the user to the ldap backend, however then samba tries to add a samba account in pdb_ldap.c and returns an error that the user already exists. If the "add user script" parameter is removed the user is never added to the backend because pdb_ldap.c fails with a "missing rid" message. There appears to be no way around this. In the design of 3.0 what is the thought on adding new users to a PDC using an ldap backend? What is the proper way of configuring the PDC to do this? By the way the message displayed at the WIN NT workstation is always "ACCESS DENIED", very descriptive, even though that is not the problem! Thanks for your help. Ray Raszka