[Samba] ldap, quickie...

ww m-pubsyssamba pubsyssamba at bbc.co.uk
Wed Feb 18 14:44:19 GMT 2004


I beleive the confusion is because an LDAP DN can be either in the format "cn=xx,ou,yy,dc=ddd" or "uid=xx,ou=yy,dc=ddd" and this is dependant on the object you are describing. Take a look at the object with an ldapsearch and it will tell you what the DN is,

	thanks Andy,

-----Original Message-----
From: samba-bounces+pubsyssamba=bbc.co.uk at lists.samba.org
[mailto:samba-bounces+pubsyssamba=bbc.co.uk at lists.samba.org]On Behalf Of
Craig White
Posted At: 18 February 2004 05:49
Posted To: Samba
Conversation: [Samba] ldap, quickie...
Subject: Re: [Samba] ldap, quickie...


On Tue, 2004-02-17 at 10:43, Torben Thomsen wrote:
> Hi,
> I'm a bit confused over the whole "dn" concept .... various 
> documentation states that I should create new samba-entries with
> dn: uid=user,ou=<user-org>,dc=<domain>
> and other states that i should do it with
> dn: cn=user,ou=<user-org>,dc=<domain>
> 
> Right now i have a few entries, created both ways... and since i'm not 
> quite home in ldap, I haven't yet testet how each dn works... or if 
> there is a difference at all...
> 
> Perhaps it's a stupid question, but it just confuses me....
---
No - not a stupid question.

I have found that samba 3 wants uid values.

Also, it would seem that the general container for users & machines is
ou=People,... but you do have the opportunity to have it your way.

Craig

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

BBCi at http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.


More information about the samba mailing list