[Samba] ldap user suffix

Lukasz Zalewski lukas at eecs.qmul.ac.uk
Wed Oct 20 02:34:34 MDT 2010

On 10/20/2010 08:16 AM, vishesh kumar wrote:
> Thanks oliver for your reply,
> But No this is not possible in my case
> Thanks

Why do you want to store users in two separate OU's?
What is the rule that defines which OU should be used?
You could look into openldap overlays, which might allow you to do 
dynamic re-write of dn's (amongst other things). Some distros ship 
openldap without overlays enabled so you need to check (this approach 
sounds like an overkill though, and might be more trouble than its worth)
I'm assuming you are using openldap



> On 10/20/10, Olivier FONTES<olivier at famille-fontes.net>  wrote:
>> On Wed, 20 Oct 2010 11:19:12 +0530, vishesh kumar
>> <linuxtovishesh at gmail.com>  wrote:
>>> Dear friends
>>>   My domain users in two diffrent OU, one OU is TEMP_USERS and other OU
>>> is PEOPLE.
>>> What i should mention in smb.conf ?
>>>   If i mention
>>>      ldap user suffix = ou=PEOPLE, then
>>>   users of ou TEMP_USERS is not able to authenticate.
>>> Please guide me.
>>> Thanks
>>> --
>>> http://linuxinterviews.blogspot.com
>> Hi, is it possible to put the two OU into a specific OU that you could
>> mention in your smb.conf ??
>> I had a similar problem, i solved it this way.
>> Olivier
>> ---
>> Le domaine famille-fontes.net est auto hébergé à mon domicile.
>> Contactez moi si vous souhaitez faire de même.

More information about the samba mailing list