If the two organizations having nothing to do with each other, does that mean they don't need access to the same files?
Will the following solution work for you - configure a 2nd IP on the server - run two instances of samba- each samba instance has its own smb.conf file, with unique ip, server name, ldap settings, local configuration directories etc. The two samba instances don't even have to be in the same domain or workgroup. I would however make one the WINS server for the whole organization. -----Original Message----- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of vishesh kumar Sent: Friday, October 22, 2010 8:18 AM To: Lukasz Zalewski Cc: samba@lists.samba.org Subject: Re: [Samba] ldap user suffix Thanks Luk I have to store users in different OU, because there is two separate Units running inside one organization. They have nothing to do with each other and their parent organization is same and their is only one Server to manage both. Thanks On 10/20/10, Lukasz Zalewski <lu...@eecs.qmul.ac.uk> wrote: > 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 > > Regards > > Luk > >> >> On 10/20/10, Olivier FONTES<oliv...@famille-fontes.net> wrote: >>> On Wed, 20 Oct 2010 11:19:12 +0530, vishesh kumar >>> <linuxtovish...@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. >>> >> >> > > -- http://linuxinterviews.blogspot.com -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba