Can LDAP entry belong to OU that not in its DN?

Michael

Can LDAP entry belong to OU that not in its DN? For example, can the entry with the following DN belong to OU=QA?

CN=bob, OU=RnD ,DC=test,DC=com

Or it belongs only to one OU=RnD?

In another words can I find all OU of an entry by looking on its path in LDAP?

marc_s

With this given LDAP string

CN=bob,OU=RnD,DC=test,DC=com

user Bob is part of the RnD OU - nothing else. The LDAP path (or DN) defines where in the hierarchy the object resides.

Bob can be member of any number of groups that are located anywhere in the directory tree - but the Bob user object itself is in the RnD OU - nowhere else.

So to answer your question:

Can LDAP entry belong to OU that not in its DN?

No, it cannot - the DN fully defines where object exists.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

php ldap retrieve ou value of dn

From Dev

php ldap retrieve ou value of dn

From Dev

How can I find an LDAP user's DN in JSP?

From Dev

Is LDAP DN case insensitive?

From Dev

ldapsearch - filtering ou in dn

From Dev

ldapsearch - filtering ou in dn

From Dev

LDAP - Extract CN value from DN

From Dev

Perl Net::LDAP - Fetch DN without Search?

From Dev

Make LDAP search don't show DN

From Dev

Matching substring within LDAP DN using Awk

From Dev

Java LDAP get Group DN by using CN

From Dev

UnboundID LDAP Java SDK - need to list descendants of a given parent DN

From Dev

How do I list root DN's using python ldap?

From Dev

UnboundID LDAP Java SDK - need to list descendants of a given parent DN

From Dev

LDAP Query for OU or group

From Dev

Django Model to manipulate LDAP Entry

From Dev

Django Model to manipulate LDAP Entry

From Dev

Can a textarea belong to multiple forms?

From Dev

Filter a dataframe by its entry

From Dev

How to bind to a specific ou in ldap

From Dev

Why can I start a root shell with sudo even with a '! ' in its shadow entry?

From Dev

What to I put for $base_dn if I need to search two subfolders in LDAP and PHP

From Dev

How do you filter on an LDAP attribute that uses the dn syntax using the ColdFusion CFLDAP tag?

From Dev

Attempting to detect acceptable LDAP base DN defaults for various directory servers in a bash script

From Dev

A user can't read file but belong to the group

From Dev

How Can I Regex Match The Common Name of This DN?

From Dev

How can i setup a network Lexmark MS812dn?

From Java

What are CN, OU, DC in an LDAP search?

From Dev

How to LDAP query without knowing exact OU

Related Related

HotTag

Archive