[Samba] Cannot join SAMBA domain from XP/2K

Alexei Monastyrnyi alexeim at orcsoftware.com
Sun Sep 19 22:12:40 GMT 2004


For me either... cause I traced down that advice and did try to put  
everything in one LDAP container (well before posting to the List).
It didn't help...

deff wrote:

>On Saturday 18 September 2004 21:31, Alexei Monastyrnyi wrote:
>  
>
>>And what was the result of that struggle?
>>Didi you make it work?
>>
>>    
>>
>Yes, I did. In some other thread someone mentioned that it is mandatory to put 
>all users and machines accounts to ou=People due to some weird samba design 
>decision. However, it isn't mentioned in any howto, neither official nor 
>idealx's, and samba doesn't complain about it in any way either. Too 
>bad...for me.
>
>  
>
>>deff wrote:
>>    
>>
>>>UPDATE THE DOCS!!!
>>>For christ's sake, I've killed 3 days over this.
>>>And i'm pretty sure i'm not the only one.
>>>
>>>On Friday 17 September 2004 16:57, Alexei Monastyrnyi wrote:
>>>      
>>>
>>>>Hi List.
>>>>
>>>>I've got SAMBA 3.0.7 with LDAP passwd backend (OpenLDAP 2.2.15) on
>>>>Solaris 9 box.
>>>>
>>>>When joining the domain I have permanent error "The user name could not
>>>>be found".
>>>>To add machine I use account "administrator" which is already exist in
>>>>SAMBA/LDAP with uid=0 and proper password.
>>>>
>>>>I have "add machine script" directive in smb.conf file and I see  that
>>>>it works when I try to join the domain.
>>>>
>>>>add machine script = /usr/local/sbin/smbldap-useradd -w %u
>>>>
>>>>This script is from IDEALX smbldap-tools 0.8.5 package which is supposed
>>>>to be comparaible with SAMBA 3.0.
>>>>In the IDELX doc file they say that "add machine script" adds only Posix
>>>>stuff for machine LDAP account. And the rest should be added
>>>>automatically during join process.
>>>>So, Posiix account for machine is successfully created but not BAMBA one.
>>>>And in LDAP log file I see no attempts from SAMBA server to do that.
>>>>Neither see I errors in SAMBA log.
>>>>
>>>>My question is: what are the steps during the domain join process with
>>>>SAMBA + LDAP as backend?
>>>>
>>>>Thanks for any hint.
>>>>
>>>>A.
>>>>        
>>>>



More information about the samba mailing list