[Samba] Adding machine to domain fails - check permissions? (ldap)

Louis van Belle louis at van-belle.nl
Fri Aug 12 08:41:15 GMT 2005


Hi,

check this 
>	read this
>	howto setup samba with ldap ( based on debian ) 
>	
>http://lists.samba.org/archive/samba/2005-June/107614.html 
>	
>	printers and rights setup
>	http://lists.samba.org/archive/samba/2005-June/107615.html 
>	
>	 

Louis


>-----Oorspronkelijk bericht-----
>Van: samba-bounces+louis=van-belle.nl at lists.samba.org 
>[mailto:samba-bounces+louis=van-belle.nl at lists.samba.org] 
>Namens Eduard Witteveen
>Verzonden: vrijdag 12 augustus 2005 10:26
>Aan: samba at lists.samba.org
>Onderwerp: [Samba] Adding machine to domain fails - check 
>permissions? (ldap)
>
>Dear list,
>
>Whe i trying to add a machine to the domain(ldap/pdc) i get the 
>following error:
>
>> Error: modifications require authentication at 
>> /usr/share/perl5/smbldap_tools.pm line 891, <DATA> line 283.
>>   [2005/08/11 16:46:54, 0] 
>> rpc_server/srv_samr_nt.c:_samr_create_user(2324)
>> _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w 
>> "eduard-laptop$"' gave 127
>
>Since i used the user Administrator, i login from the 
>windows-machine on 
>the linux-computer running samba with the username Administrator 
>(account which is stored inside ldap), i *can* run the command 
>succesfull. (this user is actually root since i changed the gidnumber 
>and the uidnumber both to 0)
>
>But when this machine has been added manually to the ldap-database, i 
>still cannot join the domain and samba puts information like the 
>following in the log:
>
>> [2005/08/11 17:05:07, 0] lib/smbldap.c:smbldap_open(882)
>>   smbldap_open: cannot access LDAP when not root..
>> .....
>> [2005/08/11 17:05:22, 0] lib/smbldap.c:smbldap_search_suffix(1176)
>>   smbldap_search_suffix: Problem during the LDAP search:  (Timed out)
>> [2005/08/11 17:05:22, 0] 
>rpc_server/srv_samr_nt.c:_samr_create_user(2350)
>>   could not add user/computer eduard-laptop$ to passdb.  Check 
>> permissions?
>
>I've attached the smb.conf for completeness. Furthermore, im running 
>Version 3.0.14a-Ubuntu
>
>Please let me know, how i can let samba execute the "add 
>machine script" 
>successfull
>
>-- 
>Eduard Witteveen
>+31 (0)6 414 789 23
>nl_NL  fy_NL  en_US
>
>



More information about the samba mailing list