Re: [Samba] ldap user suffix

2010-10-25 Thread vishesh kumar
Thanks for your idea .

thanks

On 10/22/10, Gaiseric Vandal gaiseric.van...@gmail.com wrote:
 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 FONTESoliv...@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



-- 
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


Re: [Samba] ldap user suffix

2010-10-22 Thread vishesh kumar
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 FONTESoliv...@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


Re: [Samba] ldap user suffix

2010-10-22 Thread Gaiseric Vandal
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 FONTESoliv...@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


Re: [Samba] ldap user suffix

2010-10-22 Thread miguelmedalha



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.



I don't quite understand what is your problem here.
You can a ou inside another ou and then search the user base dn  
with a scope of sub.

Let's say:

ou=Users
ou=Users,ou=Organization1
ou=Users,ou=Organization2

Then, in /etc/ldap.conf, you would specify:

nss_base_passwd ou=Users,dc=domain,dc=com?sub

instead of

nss_base_passwd ou=Users,dc=domain,dc=com?one

Did I understand your question wrongly?

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] ldap user suffix

2010-10-20 Thread Olivier FONTES
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.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] ldap user suffix

2010-10-20 Thread vishesh kumar
Thanks oliver for your reply,
But No this is not possible in my case

Thanks


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


Re: [Samba] ldap user suffix

2010-10-20 Thread Lukasz Zalewski

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 FONTESoliv...@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.






--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] ldap user suffix

2010-10-19 Thread vishesh kumar
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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] ldap user suffix, 3.0.14a

2005-05-18 Thread John Allman
Hi - I'm using samba 3.0.14a - the latest release from debian and it
nearly works perfectly. However, i'm finding that the ldap user suffix
 paramater in the configuration file is being ignored and it's using the
value of ldap suffix instead. From what i've read of the changelog this
behaviour isn't supposed to happen anymore so i'm wondering if anyone
can help me.

I've tried settting ldap user suffix to the part of the dn relative to
the ldap suffix as the documentation suggests and i've also tried
setting it to the full dn but either way i can see in both my samba and
my ldap logs that it's being ignored.

Users authenticate correctly as the scope of the ldap search is set to
sub but this is not the behaviour i need. I want to use aliases to
manage which users have access to samba.

Any help or advice you can give me would be much appreciated. please cc
me manually in your reply as i'm not subscribed to the list.

Thanks,

John Allman
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba