[Samba] Samba PDC (3.0.14a) with LDAP cannot add machines

Jan Evert van Grootheest j.e.van.grootheest at hccnet.nl
Tue Sep 13 14:03:56 GMT 2005

Eduard, list,

Eduard Witteveen wrote:
> Jan Evert van Grootheest wrote:
>> I am setting up a Samba PDC which uses LDAP for account information.
>> It is a debian installation with samba 3.0.14a and slapd 2.2.23 (I'm 
>> also using ldap-account-manager, but I don't think that has anything 
>> to do with this).
> Jan,
> I also ran into maybe similar problems, which i couldnt solve on 
> ubuntu(debian). The problem for me is that when the script is executed 
> on the command line/ '/usr/sbin/smbldap-useradd -w //"eduard-laptop$"'/ 
> the following enviourment varaibles are set:

I don't think I have your problem, because it is smbd that is reporting 
Furthermore I don't have smbldap-useradd on this system (I use 
ldap-accound-manager for this).

To be sure: I do not have a problem creating the user account for the 
machine. I have problems joining the machine itself to the domain.

As far as I understand, the machine will set a password for itself and I 
think that is what is failing.

I think I understand the reason now, but I'm not sure what to do next. 
Apparently, when I attempt to join the machine to the domain, an smbd 
instance is started with as the user that I gave (which is part of the 
Domain Admins group). And of course this user is not root, so that 
apparently is why it fails.

So... any suggestions what to do?

Jan Evert

More information about the samba mailing list