<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:www.nabble.com,2006:forum-14467</id>
	<title>Nabble - LDAP UMich Lists</title>
	<updated>2008-12-04T14:16:52Z</updated>
	<link rel="self" type="application/atom+xml" href="http://www.nabble.com/LDAP-UMich-Lists-f14467.xml" />
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-UMich-Lists-f14467.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:www.nabble.com,2006:post-20843691</id>
	<title>Re: Is a searchable dc tree rooted in a null base suffix wrong or just hubris?</title>
	<published>2008-12-04T14:16:52Z</published>
	<updated>2008-12-04T14:16:52Z</updated>
	<author>
		<name>Emmanuel Lecharny-3</name>
	</author>
	<content type="html">Bill Cole wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The question in my Subject is what all this boils down to, so if you 
&lt;br&gt;&amp;gt; have no time to read a long explanation, feel free to answer it as 
&lt;br&gt;&amp;gt; asked...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Background: I'm working on my first attempt at doing the grand 
&lt;br&gt;&amp;gt; architecture for a new LDAP instance, although I've been working with 
&lt;br&gt;&amp;gt; LDAP as an admin for years: doing housekeeping on existing servers, 
&lt;br&gt;&amp;gt; setting up simple small environments, and managing other systems using 
&lt;br&gt;&amp;gt; LDAP as a utility data/auth source. I'm not a newbie to LDAP (or to 
&lt;br&gt;&amp;gt; OpenLDAP, which I'm using for this project) but I haven't previously 
&lt;br&gt;&amp;gt; had any reason to depart from fairly tame &amp;quot;cookbook&amp;quot; work.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I now have to build a single directory to serve dozens of small to 
&lt;br&gt;&amp;gt; medium businesses to authenticate users for a small collection of 
&lt;br&gt;&amp;gt; mostly web-based applications that my employer provides for them. To 
&lt;br&gt;&amp;gt; avoid complexity on the application side, we want to have a common 
&lt;br&gt;&amp;gt; auth interface for all clients rather than proliferating a &amp;nbsp;bunch of 
&lt;br&gt;&amp;gt; per-client vhosts for little real purpose. Because we manage mail 
&lt;br&gt;&amp;gt; systems for most of these companies, we have hard knowledge of user 
&lt;br&gt;&amp;gt; email addresses, and those make the perfect globally-unique 
&lt;br&gt;&amp;gt; identifiers for each user: &amp;nbsp;we can enforce correctness and uniqueness, 
&lt;br&gt;&amp;gt; and the users should have no trouble remembering what their login ID's 
&lt;br&gt;&amp;gt; are.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Because we already have some facilities using Apple's &amp;quot;Open 
&lt;br&gt;&amp;gt; Directory&amp;quot; &amp;nbsp;environment, which integrates OpenLDAP, Kerberos, and some 
&lt;br&gt;&amp;gt; of their own facilities, we're hoping to piggyback on the existing 
&lt;br&gt;&amp;gt; LDAP it uses, which uses a domain-based suffix: the FQDN of the server 
&lt;br&gt;&amp;gt; split into dc components. The obvious way to add in our clients to 
&lt;br&gt;&amp;gt; that without putting them into the part of the directory tree managed 
&lt;br&gt;&amp;gt; by Open Directory is to build out the logical domain-based tree with 
&lt;br&gt;&amp;gt; our clients having their own branches, i.e. 
&lt;br&gt;&amp;gt; &amp;quot;dc=hostname,dc=oursite,dc=ourdomain,dc=net&amp;quot; already exists and is 
&lt;br&gt;&amp;gt; where the Open Directory DIT lives, and I was hoping to create 
&lt;br&gt;&amp;gt; &amp;quot;dc=client1,dc=com&amp;quot; and &amp;quot;dc=client2,dc=net&amp;quot; and so on for our clients. 
&lt;br&gt;&amp;gt; This way, we could (in principle) have the authentication layer search 
&lt;br&gt;&amp;gt; for &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20843691&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mail=username@...&lt;/a&gt; with a null search base across the whole 
&lt;br&gt;&amp;gt; DIT and find &amp;quot;uid=username,cn=users,dc=client1,dc=com&amp;quot; which apps 
&lt;br&gt;&amp;gt; could use as a way to identify which client organization the user is 
&lt;br&gt;&amp;gt; part of.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; However, I am finding that actually setting up a server to handle a 
&lt;br&gt;&amp;gt; pure domain-based tree that can be searched in full from a null base 
&lt;br&gt;&amp;gt; is a battle against the prevailing models. I have a working system 
&lt;br&gt;&amp;gt; from the standpoint of searches: ldapsearch finds user records 
&lt;br&gt;&amp;gt; wherever they are in the tree, and the DSE object has a single empty 
&lt;br&gt;&amp;gt; namingContexts attribute. However, the effect of this has also been to 
&lt;br&gt;&amp;gt; completely confuse other more user-friendly tools (Apple's Workgroup 
&lt;br&gt;&amp;gt; Manager, JXplorer, Apache Directory Studio) and that's not going to 
&lt;br&gt;&amp;gt; fly because while I can handle the fact that client records cannot be 
&lt;br&gt;&amp;gt; seen in Apple's tools, I cannot break those tools for their existing 
&lt;br&gt;&amp;gt; user or hand the front-line support staff a system that can only be 
&lt;br&gt;&amp;gt; administered with &amp;nbsp;command-line tools and LDIF files. Even when I 
&lt;br&gt;&amp;gt; populate the logical nodes between the root and the domains that have 
&lt;br&gt;&amp;gt; real content, browsing tools don't see them, apparently because they 
&lt;br&gt;&amp;gt; don't like the null naming context as a naming context.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; So, I am looking here for an answer from the broad LDAP community to 
&lt;br&gt;&amp;gt; the question in my Subject. I am concerned that while I may be trying 
&lt;br&gt;&amp;gt; to do something that seems &amp;quot;right&amp;quot; based on my reading of RFC2247, I 
&lt;br&gt;&amp;gt; may have missed something in my research and this may be conceptually 
&lt;br&gt;&amp;gt; broken. While clearly I am doing something that is harder to get 
&lt;br&gt;&amp;gt; working than I expected it to be, I am trying to not keep pounding 
&lt;br&gt;&amp;gt; away at trying to get something to work that never will work or if I 
&lt;br&gt;&amp;gt; manage it, *shouldn't* work.
&lt;/div&gt;We can investigate your problem on Apache Direcroty Studio, and fix it, 
&lt;br&gt;that's for sure. Can you post a mail to the apache directory mailing 
&lt;br&gt;list with a short description of your problem, or even better, fill an 
&lt;br&gt;issue ?
&lt;br&gt;&lt;br&gt;links :
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20843691&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://issues.apache.org/jira/browse/dirstudio&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://issues.apache.org/jira/browse/dirstudio&lt;/a&gt;&amp;nbsp;(you will have to register)
&lt;br&gt;&lt;br&gt;Thanks !
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;--
&lt;br&gt;cordialement, regards,
&lt;br&gt;Emmanuel Lécharny
&lt;br&gt;www.iktek.com
&lt;br&gt;directory.apache.org
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Is-a-searchable-dc-tree-rooted-in-a-null-base-suffix-wrong-or-just-hubris--tp20840907p20843691.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20842576</id>
	<title>Re: Is a searchable dc tree rooted in a null base suffix wrong or just hubris?</title>
	<published>2008-12-04T13:12:39Z</published>
	<updated>2008-12-04T13:12:39Z</updated>
	<author>
		<name>Dieter Kluenter</name>
	</author>
	<content type="html">Bill Cole &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20842576&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;umldap-20081204@...&lt;/a&gt;&amp;gt; writes:
&lt;br&gt;&lt;br&gt;&amp;gt; The question in my Subject is what all this boils down to, so if you
&lt;br&gt;&amp;gt; have no time to read a long explanation, feel free to answer it as
&lt;br&gt;&amp;gt; asked...
&lt;br&gt;[...]
&lt;br&gt;Yes, it is valid to define a DIT with root &amp;quot;&amp;quot;, but your clients should
&lt;br&gt;point to a defined subtree. 
&lt;br&gt;&lt;br&gt;-Dieter
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Dieter Klünter | Systemberatung
&lt;br&gt;&lt;a href=&quot;http://www.dpunkt.de/buecher/2104.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.dpunkt.de/buecher/2104.html&lt;/a&gt;&lt;br&gt;sip: +49.180.1555.7770535
&lt;br&gt;GPG Key ID:8EF7B6C6
&lt;br&gt;53°08'09,95&amp;quot;N
&lt;br&gt;10°08'02,42&amp;quot;E
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Is-a-searchable-dc-tree-rooted-in-a-null-base-suffix-wrong-or-just-hubris--tp20840907p20842576.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20841084</id>
	<title>Re: Is a searchable dc tree rooted in a null base suffix wrong or just hubris?</title>
	<published>2008-12-04T11:50:18Z</published>
	<updated>2008-12-04T11:50:18Z</updated>
	<author>
		<name>Quanah Gibson-Mount-3</name>
	</author>
	<content type="html">--On Thursday, December 04, 2008 2:42 PM -0500 Bill Cole 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20841084&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;umldap-20081204@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; So, I am looking here for an answer from the broad LDAP community to the
&lt;br&gt;&amp;gt; question in my Subject. I am concerned that while I may be trying to do
&lt;br&gt;&amp;gt; something that seems &amp;quot;right&amp;quot; based on my reading of RFC2247, I may have
&lt;br&gt;&amp;gt; missed something in my research and this may be conceptually broken.
&lt;br&gt;&amp;gt; While clearly I am doing something that is harder to get working than I
&lt;br&gt;&amp;gt; expected it to be, I am trying to not keep pounding away at trying to get
&lt;br&gt;&amp;gt; something to work that never will work or if I manage it, *shouldn't*
&lt;br&gt;&amp;gt; work.
&lt;br&gt;&lt;br&gt;The client tools are what is broken. &amp;nbsp;It is perfectly valid and reasonable 
&lt;br&gt;to use &amp;quot;&amp;quot; as the root of your LDAP tree. &amp;nbsp;We do that at Zimbra, for 
&lt;br&gt;example, in part because we have plenty of clients who run hosted mail 
&lt;br&gt;servers, and need to support multiple domains.
&lt;br&gt;&lt;br&gt;--Quanah
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;&lt;br&gt;Quanah Gibson-Mount
&lt;br&gt;Principal Software Engineer
&lt;br&gt;Zimbra, Inc
&lt;br&gt;--------------------
&lt;br&gt;Zimbra :: &amp;nbsp;the leader in open source messaging and collaboration
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Is-a-searchable-dc-tree-rooted-in-a-null-base-suffix-wrong-or-just-hubris--tp20840907p20841084.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20840907</id>
	<title>Is a searchable dc tree rooted in a null base suffix wrong or just hubris?</title>
	<published>2008-12-04T11:42:38Z</published>
	<updated>2008-12-04T11:42:38Z</updated>
	<author>
		<name>Bill Cole-6</name>
	</author>
	<content type="html">The question in my Subject is what all this boils down to, so if you 
&lt;br&gt;have no time to read a long explanation, feel free to answer it as 
&lt;br&gt;asked...
&lt;br&gt;&lt;br&gt;Background: I'm working on my first attempt at doing the grand 
&lt;br&gt;architecture for a new LDAP instance, although I've been working with 
&lt;br&gt;LDAP as an admin for years: doing housekeeping on existing servers, 
&lt;br&gt;setting up simple small environments, and managing other systems 
&lt;br&gt;using LDAP as a utility data/auth source. I'm not a newbie to LDAP 
&lt;br&gt;(or to OpenLDAP, which I'm using for this project) but I haven't 
&lt;br&gt;previously had any reason to depart from fairly tame &amp;quot;cookbook&amp;quot; work.
&lt;br&gt;&lt;br&gt;I now have to build a single directory to serve dozens of small to 
&lt;br&gt;medium businesses to authenticate users for a small collection of 
&lt;br&gt;mostly web-based applications that my employer provides for them. To 
&lt;br&gt;avoid complexity on the application side, we want to have a common 
&lt;br&gt;auth interface for all clients rather than proliferating a &amp;nbsp;bunch of 
&lt;br&gt;per-client vhosts for little real purpose. Because we manage mail 
&lt;br&gt;systems for most of these companies, we have hard knowledge of user 
&lt;br&gt;email addresses, and those make the perfect globally-unique 
&lt;br&gt;identifiers for each user: &amp;nbsp;we can enforce correctness and 
&lt;br&gt;uniqueness, and the users should have no trouble remembering what 
&lt;br&gt;their login ID's are.
&lt;br&gt;&lt;br&gt;Because we already have some facilities using Apple's &amp;quot;Open 
&lt;br&gt;Directory&amp;quot; &amp;nbsp;environment, which integrates OpenLDAP, Kerberos, and 
&lt;br&gt;some of their own facilities, we're hoping to piggyback on the 
&lt;br&gt;existing LDAP it uses, which uses a domain-based suffix: the FQDN of 
&lt;br&gt;the server split into dc components. The obvious way to add in our 
&lt;br&gt;clients to that without putting them into the part of the directory 
&lt;br&gt;tree managed by Open Directory is to build out the logical 
&lt;br&gt;domain-based tree with our clients having their own branches, i.e. 
&lt;br&gt;&amp;quot;dc=hostname,dc=oursite,dc=ourdomain,dc=net&amp;quot; already exists and is 
&lt;br&gt;where the Open Directory DIT lives, and I was hoping to create 
&lt;br&gt;&amp;quot;dc=client1,dc=com&amp;quot; and &amp;quot;dc=client2,dc=net&amp;quot; and so on for our 
&lt;br&gt;clients. This way, we could (in principle) have the authentication 
&lt;br&gt;layer search for &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20840907&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mail=username@...&lt;/a&gt; with a null search base 
&lt;br&gt;across the whole DIT and find 
&lt;br&gt;&amp;quot;uid=username,cn=users,dc=client1,dc=com&amp;quot; which apps could use as a 
&lt;br&gt;way to identify which client organization the user is part of.
&lt;br&gt;&lt;br&gt;However, I am finding that actually setting up a server to handle a 
&lt;br&gt;pure domain-based tree that can be searched in full from a null base 
&lt;br&gt;is a battle against the prevailing models. I have a working system 
&lt;br&gt;from the standpoint of searches: ldapsearch finds user records 
&lt;br&gt;wherever they are in the tree, and the DSE object has a single empty 
&lt;br&gt;namingContexts attribute. However, the effect of this has also been 
&lt;br&gt;to completely confuse other more user-friendly tools (Apple's 
&lt;br&gt;Workgroup Manager, JXplorer, Apache Directory Studio) and that's not 
&lt;br&gt;going to fly because while I can handle the fact that client records 
&lt;br&gt;cannot be seen in Apple's tools, I cannot break those tools for their 
&lt;br&gt;existing user or hand the front-line support staff a system that can 
&lt;br&gt;only be administered with &amp;nbsp;command-line tools and LDIF files. Even 
&lt;br&gt;when I populate the logical nodes between the root and the domains 
&lt;br&gt;that have real content, browsing tools don't see them, apparently 
&lt;br&gt;because they don't like the null naming context as a naming context.
&lt;br&gt;&lt;br&gt;So, I am looking here for an answer from the broad LDAP community to 
&lt;br&gt;the question in my Subject. I am concerned that while I may be trying 
&lt;br&gt;to do something that seems &amp;quot;right&amp;quot; based on my reading of RFC2247, I 
&lt;br&gt;may have missed something in my research and this may be conceptually 
&lt;br&gt;broken. While clearly I am doing something that is harder to get 
&lt;br&gt;working than I expected it to be, I am trying to not keep pounding 
&lt;br&gt;away at trying to get something to work that never will work or if I 
&lt;br&gt;manage it, *shouldn't* work.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Bill Cole
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20840907&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bill@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Is-a-searchable-dc-tree-rooted-in-a-null-base-suffix-wrong-or-just-hubris--tp20840907p20840907.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20787511</id>
	<title>Re: Help</title>
	<published>2008-12-01T23:44:43Z</published>
	<updated>2008-12-01T23:44:43Z</updated>
	<author>
		<name>Manilal K M</name>
	</author>
	<content type="html">So you are trying to authenticate desktop users from LDAP, right?
&lt;br&gt;Please give more details, such as which version of LDAP,
&lt;br&gt;OS/distribution used, a brief description about your LDAP structure,
&lt;br&gt;etc..
&lt;br&gt;Your description is too vague to give you an accurate solution.
&lt;br&gt;&lt;br&gt;2008/12/2 akhil bhardwaj &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20787511&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;akhil.bhardwaj@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Dear Sir,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; First login user and type 'passwd' &amp;nbsp;commadn on terminal.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Akhil Bhardwaj
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Manilal K M wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2008/12/2 Akhil Bhardwaj &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20787511&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;akhil.bhardwaj@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dear,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am new for ldap am configuring open ldap as a domain controller my
&lt;br&gt;&amp;gt; clients are also working fine but my open ldap users cannot change our own
&lt;br&gt;&amp;gt; password please help me about this problem
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; How did you tried to change the password?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Manilal K M : മണിലാല്‍ കെ എം.
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://libregeek.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://libregeek.blogspot.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Manilal K M : മണിലാല്‍ കെ എം.
&lt;br&gt;&lt;a href=&quot;http://libregeek.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://libregeek.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-Help-tp20787375p20787511.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20787375</id>
	<title>Re: Help</title>
	<published>2008-12-01T23:30:23Z</published>
	<updated>2008-12-01T23:30:23Z</updated>
	<author>
		<name>Manilal K M</name>
	</author>
	<content type="html">2008/12/2 Akhil Bhardwaj &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20787375&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;akhil.bhardwaj@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; Dear,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am new for ldap am configuring open ldap as a domain controller my
&lt;br&gt;&amp;gt; clients are also working fine but my open ldap users cannot change our own
&lt;br&gt;&amp;gt; password please help me about this problem
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;How did you tried to change the password?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Manilal K M : മണിലാല്‍ കെ എം.
&lt;br&gt;&lt;a href=&quot;http://libregeek.blogspot.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://libregeek.blogspot.com&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Re%3A-Help-tp20787375p20787375.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20787334</id>
	<title>Help</title>
	<published>2008-12-01T23:26:41Z</published>
	<updated>2008-12-01T23:26:41Z</updated>
	<author>
		<name>Akhil Bhardwaj</name>
	</author>
	<content type="html">Dear,
&lt;br&gt;&lt;br&gt;I am new for ldap am configuring open ldap as a domain controller my
&lt;br&gt;clients are also working fine but my open ldap users cannot change our own
&lt;br&gt;password please help me about this problem
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Help-tp20787334p20787334.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20176718</id>
	<title>Re: Guessing root DNs for active directory</title>
	<published>2008-10-26T11:53:24Z</published>
	<updated>2008-10-26T11:53:24Z</updated>
	<author>
		<name>Christoffer Andersson</name>
	</author>
	<content type="html">You can try to query the DSA (null search base) for defaultNamingContext. = Should be the NC of the domain you have perform:ed a bind to. Or namingContexts to get a list of NCs that the DSA is hosting.
&lt;br&gt;&lt;br&gt;/C
&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;zippy1981 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi,
&lt;br&gt;Let me know if this is the wrong list for this question, and where best to
&lt;br&gt;ask this.
&lt;br&gt;&lt;br&gt;I am trying to write a simple program in java that &amp;quot;guesses&amp;quot; if the machine
&lt;br&gt;is running on active directory and connects to the domain controller via
&lt;br&gt;LDAP. My goal is to submit a patch to JXPlorer (and eventually other
&lt;br&gt;software like apache directory studio) to &amp;quot;detect&amp;quot; active directory and
&lt;br&gt;&amp;quot;auto-configure&amp;quot; a connection to it.
&lt;br&gt;&lt;br&gt;Right now I am grabing the envirormental variable &amp;quot;USERDNSDOMAIN&amp;quot;, and
&lt;br&gt;transforming it from &amp;quot;foo.com&amp;quot; to &amp;quot;dc=foo,dc=com&amp;quot;. This works good enough.
&lt;br&gt;However, Is it possible via some sort of LDAP query to get the base DN of
&lt;br&gt;either the domain I am authenticated to, or better yet all domains in the
&lt;br&gt;forest?
&lt;br&gt;&lt;br&gt;If anyone cares to help me in my research, or laugh at a .NET programmer
&lt;br&gt;trying to write JAVA, feel free to take a poke at my code in SVN,
&lt;br&gt;&lt;a href=&quot;http://nightelves.svn.sourceforge.net/viewvc/nightelves/LI-PHP/LDAP/LDAP.Tests/src/LDAP/Tests.java?revision=57&amp;view=markup&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://nightelves.svn.sourceforge.net/viewvc/nightelves/LI-PHP/LDAP/LDAP.Tests/src/LDAP/Tests.java?revision=57&amp;view=markup&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks and Regards,
&lt;br&gt;&lt;br&gt;Justin Dearing
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Guessing-root-DNs-for-active-directory-tp19933349p20176718.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20167039</id>
	<title>Re: Guessing root DNs for active directory</title>
	<published>2008-10-25T12:09:27Z</published>
	<updated>2008-10-25T12:09:27Z</updated>
	<author>
		<name>zippy1981</name>
	</author>
	<content type="html">Mark,
&lt;br&gt;&lt;br&gt;Finally got to give this a try, One small mistake on your part. It's
&lt;br&gt;_ldap._tcp.domain. Corrected queries below. Just pointing this out to
&lt;br&gt;not fustrate anyone that finds this thread later.
&lt;br&gt;&lt;br&gt;On Mon, Oct 13, 2008 at 11:36 AM, Mark H. Wood &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20167039&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mwood@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; That is: &amp;nbsp;if the machine is named &amp;quot;host.baz.bar.foo.xcorp.com&amp;quot; you
&lt;br&gt;&amp;gt; would try to resolve:
&lt;br&gt;&amp;gt;
&lt;br&gt;_ldap._tcp.baz.bar.foo.xcorp.com &amp;nbsp;SRV
&lt;br&gt;_ldap._tcp.bar.foo.xcorp.com &amp;nbsp; &amp;nbsp; &amp;nbsp;SRV
&lt;br&gt;_ldap._tcp.foo.xcorp.com &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SRV
&lt;br&gt;_ldap._tcp.xcorp.com &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SRV
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/Guessing-root-DNs-for-active-directory-tp19933349p20167039.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20114030</id>
	<title>Re: newbie question: how to put company structure to  ldap</title>
	<published>2008-10-22T08:57:42Z</published>
	<updated>2008-10-22T08:57:42Z</updated>
	<author>
		<name>dpuryear</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;br&gt;You should probably get a LDAP book or read a few online
&lt;br&gt;tutorials. That said, the approach depends on whether you use groups or
&lt;br&gt;roles.
&lt;br&gt;&lt;br&gt;groups-
&lt;br&gt;Do a filter on
&lt;br&gt;(&amp;(objectClass=groupOfNames)(cn=TEAM-NAME)) and grab all the member
&lt;br&gt;attributes. Then you have to scan through each member in a second pass.
&lt;br&gt;&lt;br&gt;roles-
&lt;br&gt;Just do a filter on the role itself and you get the
&lt;br&gt;members in the first pass.
&lt;br&gt;&lt;br&gt;On a side note, while there may be
&lt;br&gt;some disagreement on this list about the use of groupOfUniqueNames, the
&lt;br&gt;fact is it's used almost interchangeably with groupOfNames these days (I
&lt;br&gt;do it) and you should always be ready to support it. 
&lt;br&gt;&lt;br&gt;You
&lt;br&gt;can do that by writing the appropriate filters:
&lt;br&gt;&lt;br&gt;(&amp;(|(objectClass=groupOfNames)(objectClass=groupOfUniqueNames))(cn=TEAM-NAME))
&lt;br&gt;&lt;br&gt;And then determining how to read the entry (member vs.
&lt;br&gt;uniqueMember) or have a configuration file that specifies the filter and
&lt;br&gt;attribute to look at.
&lt;br&gt;&lt;br&gt;&amp;gt; Hello Dustin, 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;thanks for answering. 
&lt;br&gt;&amp;gt; Nice to hear that I do not have to modify
&lt;br&gt;a lot :-) 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; But there's one answer left. How can I
&lt;br&gt;search for all members of a 
&lt;br&gt;&amp;gt; certain team. 
&lt;br&gt;&amp;gt; e.g.: I
&lt;br&gt;want to have a list of sn,mail,phone of all members of team a 
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; I have no idea how to create this type of search ? 
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; any help appreciated.....GERD..... 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Am 22.10.2008 um 17:27 schrieb Dustin Puryear: 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; What
&lt;/div&gt;you are trying to do is just create a set of users and teams 
&lt;br&gt;&amp;gt;&amp;gt; (groups of users). You can use LDAP groups or roles for the
&lt;br&gt;team 
&lt;br&gt;&amp;gt;&amp;gt; implementation. Let's just use groups. 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; root 
&lt;br&gt;&amp;gt;&amp;gt; - users 
&lt;br&gt;&amp;gt;&amp;gt; -- uid=bob
&lt;br&gt;(inetOrgPerson) 
&lt;br&gt;&amp;gt;&amp;gt; -- uid=frank 
&lt;br&gt;&amp;gt;&amp;gt; (inetOrgPerson)
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; - groups 
&lt;br&gt;&amp;gt;&amp;gt; -- cn=teama (groupOfNames or 
&lt;br&gt;&amp;gt;&amp;gt; groupOfUniqueNames) 
&lt;br&gt;&amp;gt;&amp;gt; -- cn=teamb (groupOfNames or
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; groupOfUniqueNames) 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; To make
&lt;br&gt;bob a member of teama, then add 
&lt;br&gt;&amp;gt;&amp;gt; uniqueMember=uid=bob,... to
&lt;br&gt;cn=teama. Ditto for teamb. To remove 
&lt;br&gt;&amp;gt;&amp;gt; bob from 
&lt;br&gt;&amp;gt;&amp;gt; teama, remove their uniqueMember=uid=bob,... from cn=teama. 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; This is essentially what you did. It works and
&lt;br&gt;it's how most of us do 
&lt;br&gt;&amp;gt;&amp;gt; it. 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;With roles, you would actually edit the user entry instead 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;and add a role attribute. Also, if you are using an LDAP server that 
&lt;br&gt;&amp;gt;&amp;gt; supports dynamic roles, you can probably maintain groups and
&lt;br&gt;get the 
&lt;br&gt;&amp;gt;&amp;gt; benefit of having roles (which are read directly
&lt;br&gt;from the user entry). 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hello, 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I'm going to create a ldap 
&lt;br&gt;&amp;gt;&amp;gt; directory for the company to have a central 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;place for user 
&lt;br&gt;&amp;gt;&amp;gt; administration. 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I've
&lt;br&gt;started with an example found in the web. 
&lt;br&gt;&amp;gt;&amp;gt; First of all I
&lt;br&gt;created 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the top level dc=example,dc=com and the 
&lt;br&gt;&amp;gt;&amp;gt; manager 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (cn=manager,dc=example,dc=com). 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Afterwards I 
&lt;br&gt;&amp;gt;&amp;gt; created 2 organizational units:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ou=persons 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ou=teams 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and filled them with content (see at bottom of the
&lt;br&gt;email). 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I'm in doubt if this is the
&lt;br&gt;correct way to build the 
&lt;br&gt;&amp;gt;&amp;gt; directory and 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;quot;connect&amp;quot; each user to its team. I only 
&lt;br&gt;&amp;gt;&amp;gt; set the
&lt;br&gt;&amp;quot;ou=&amp;quot; property of each 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; person to its 
&lt;br&gt;&amp;gt;&amp;gt; teamname, and added one &amp;quot;member=&amp;quot; entry for each
&lt;br&gt;person to 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; the team-object. I'm not happy with such
&lt;br&gt;setting. 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; What if a person changes
&lt;br&gt;the team, do I have to update the person's 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;quot;ou=&amp;quot; and the &amp;quot;member=&amp;quot; section of the
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; teams ?? 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Is this
&lt;br&gt;really the way to implement such a 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;company-&amp;gt;team-&amp;gt;person hierarchy 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ? 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; any help
&lt;br&gt;appreciated....GERD.... 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; dn: cn=Tinky
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Winky,ou=people,dc=example,dc=com 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;objectclass: inetOrgPerson 
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; sn: Tinky 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; cn: Tinky Winky 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; uid: twinky 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; userpassword: twinky 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ou: support 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; dn: 
&lt;br&gt;&amp;gt;&amp;gt; cn=Dipsy,ou=people,dc=example,dc=com 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; objectclass: inetOrgPerson 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; sn: Dipsy 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; cn: Dipsy 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;/div&gt;uid: dipsy 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; userpassword: dipsy 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ou: support 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; dn: cn=Laa 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;Laa,ou=people,dc=example,dc=com 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; objectclass:
&lt;br&gt;inetOrgPerson 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; sn: Laa 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; cn: Laa Laa
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; uid: laa 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;userpassword: laa 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ou: marketing 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ##
&lt;br&gt;team MARKETING 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; dn:
&lt;br&gt;cn=marketing,ou=teams,dc=transporeon,dc=nil 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; objectclass: groupofnames 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; cn: marketing 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; description: 
&lt;br&gt;&amp;gt;&amp;gt; team marketing 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; member: cn=Laa 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;Laa,ou=people,dc=transporeon,dc=nil 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ## team SUPPORT 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; dn:
&lt;br&gt;cn=support,ou=teams,dc=transporeon,dc=nil 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; objectclass:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; groupofnames 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; cn: support 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; description: team support 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;member: cn=Tinky Winky,ou=people,dc=transporeon,dc=nil 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;member: cn=Dipsy,ou=people,dc=transporeon,dc=nil 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; --
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; This message was 
&lt;br&gt;&amp;gt;&amp;gt; scanned by ESVA and is
&lt;br&gt;believed to be clean. 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Click here to 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;report this message as spam. 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&lt;a href=&quot;http://esva.puryear-it.com/cgi-bin/learn-msg.cgi?id=&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esva.puryear-it.com/cgi-bin/learn-msg.cgi?id=&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; Dustin Puryear 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;President and 
&lt;br&gt;&amp;gt;&amp;gt; Sr. Consultant 
&lt;br&gt;&amp;gt;&amp;gt; Puryear
&lt;br&gt;Information Technology, LLC 
&lt;br&gt;&amp;gt;&amp;gt; 225-706-8414 x112 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.puryear-it.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Author,
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;Best Practices for Managing Linux and UNIX
&lt;br&gt;Servers&amp;quot; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&lt;a href=&quot;http://www.puryear-it.com/pubs/linux-unix-best-practices/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com/pubs/linux-unix-best-practices/&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;
&lt;br&gt;This message was scanned by ESVA and is believed to be clean. 
&lt;br&gt;&amp;gt;
&lt;br&gt;Click here to report this message as spam. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;a href=&quot;http://esva.puryear-it.com/cgi-bin/learn-msg.cgi?id=&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esva.puryear-it.com/cgi-bin/learn-msg.cgi?id=&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Dustin Puryear 
&lt;br&gt;President and
&lt;br&gt;Sr. Consultant 
&lt;br&gt;Puryear Information Technology, LLC 
&lt;br&gt;225-706-8414 x112 
&lt;br&gt;&lt;a href=&quot;http://www.puryear-it.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Author,
&lt;br&gt;&amp;quot;Best Practices for Managing Linux and UNIX Servers&amp;quot; 
&lt;br&gt;&lt;a href=&quot;http://www.puryear-it.com/pubs/linux-unix-best-practices/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com/pubs/linux-unix-best-practices/&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;-- 
&lt;br&gt;Dustin Puryear
&lt;br&gt;President and Sr. Consultant
&lt;br&gt;Puryear Information Technology, LLC
&lt;br&gt;225-706-8414 x112
&lt;br&gt;&lt;a href=&quot;http://www.puryear-it.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;Author, &amp;quot;Best Practices for Managing Linux and UNIX Servers&amp;quot;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.puryear-it.com/pubs/linux-unix-best-practices/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com/pubs/linux-unix-best-practices/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/newbie-question%3A-how-to-put-company-structure-to-ldap-tp20083915p20114030.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20113569</id>
	<title>Re: newbie question: how to put company structure to ldap</title>
	<published>2008-10-22T08:38:06Z</published>
	<updated>2008-10-22T08:38:06Z</updated>
	<author>
		<name>Gerd König</name>
	</author>
	<content type="html">Hello Dustin,
&lt;br&gt;&lt;br&gt;thanks for answering.
&lt;br&gt;Nice to hear that I do not have to modify a lot :-)
&lt;br&gt;&lt;br&gt;But there's one answer left. How can I search for all members of a &amp;nbsp;
&lt;br&gt;certain team.
&lt;br&gt;e.g.: I want to have a list of sn,mail,phone of all members of team a
&lt;br&gt;&lt;br&gt;I have no idea how to create this type of search ?
&lt;br&gt;&lt;br&gt;any help appreciated.....GERD.....
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Am 22.10.2008 um 17:27 schrieb Dustin Puryear:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; What you are trying to do is just create a set of users and teams
&lt;br&gt;&amp;gt; (groups of users). You can use LDAP groups or roles for the team
&lt;br&gt;&amp;gt; implementation. Let's just use groups.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; root
&lt;br&gt;&amp;gt; - users
&lt;br&gt;&amp;gt; -- uid=bob (inetOrgPerson)
&lt;br&gt;&amp;gt; -- uid=frank
&lt;br&gt;&amp;gt; (inetOrgPerson)
&lt;br&gt;&amp;gt; - groups
&lt;br&gt;&amp;gt; -- cn=teama (groupOfNames or
&lt;br&gt;&amp;gt; groupOfUniqueNames)
&lt;br&gt;&amp;gt; -- cn=teamb (groupOfNames or
&lt;br&gt;&amp;gt; groupOfUniqueNames)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; To make bob a member of teama, then add
&lt;br&gt;&amp;gt; uniqueMember=uid=bob,... to cn=teama. Ditto for teamb. To remove &amp;nbsp;
&lt;br&gt;&amp;gt; bob from
&lt;br&gt;&amp;gt; teama, remove their uniqueMember=uid=bob,... from cn=teama.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is essentially what you did. It works and it's how most of us do
&lt;br&gt;&amp;gt; it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; With roles, you would actually edit the user entry instead
&lt;br&gt;&amp;gt; and add a role attribute. Also, if you are using an LDAP server that
&lt;br&gt;&amp;gt; supports dynamic roles, you can probably maintain groups and get the
&lt;br&gt;&amp;gt; benefit of having roles (which are read directly from the user entry).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hello,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm going to create a ldap
&lt;br&gt;&amp;gt; directory for the company to have a central
&lt;br&gt;&amp;gt;&amp;gt; place for user
&lt;br&gt;&amp;gt; administration.
&lt;br&gt;&amp;gt;&amp;gt; I've started with an example found in the web.
&lt;br&gt;&amp;gt; First of all I created
&lt;br&gt;&amp;gt;&amp;gt; the top level dc=example,dc=com and the
&lt;br&gt;&amp;gt; manager
&lt;br&gt;&amp;gt;&amp;gt; (cn=manager,dc=example,dc=com).
&lt;br&gt;&amp;gt;&amp;gt; Afterwards I
&lt;br&gt;&amp;gt; created 2 organizational units:
&lt;br&gt;&amp;gt;&amp;gt; ou=persons
&lt;br&gt;&amp;gt;&amp;gt; ou=teams
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and filled them with content (see at bottom of the email).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm in doubt if this is the correct way to build the
&lt;br&gt;&amp;gt; directory and
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;connect&amp;quot; each user to its team. I only
&lt;br&gt;&amp;gt; set the &amp;quot;ou=&amp;quot; property of each
&lt;br&gt;&amp;gt;&amp;gt; person to its
&lt;br&gt;&amp;gt; teamname, and added one &amp;quot;member=&amp;quot; entry for each person to
&lt;br&gt;&amp;gt;&amp;gt; the team-object. I'm not happy with such setting.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; What if a person changes the team, do I have to update the person's
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;ou=&amp;quot; and the &amp;quot;member=&amp;quot; section of the
&lt;br&gt;&amp;gt; teams ??
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Is this really the way to implement such a
&lt;br&gt;&amp;gt; company-&amp;gt;team-&amp;gt;person hierarchy
&lt;br&gt;&amp;gt;&amp;gt; ?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; any help appreciated....GERD....
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; dn: cn=Tinky
&lt;br&gt;&amp;gt; Winky,ou=people,dc=example,dc=com
&lt;br&gt;&amp;gt;&amp;gt; objectclass: inetOrgPerson
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; sn: Tinky
&lt;br&gt;&amp;gt;&amp;gt; cn: Tinky Winky
&lt;br&gt;&amp;gt;&amp;gt; uid: twinky
&lt;br&gt;&amp;gt;&amp;gt; userpassword: twinky
&lt;br&gt;&amp;gt;&amp;gt; ou: support
&lt;br&gt;&amp;gt;&amp;gt; dn:
&lt;br&gt;&amp;gt; cn=Dipsy,ou=people,dc=example,dc=com
&lt;br&gt;&amp;gt;&amp;gt; objectclass: inetOrgPerson
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; sn: Dipsy
&lt;br&gt;&amp;gt;&amp;gt; cn: Dipsy
&lt;br&gt;&amp;gt;&amp;gt; uid: dipsy
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; userpassword: dipsy
&lt;br&gt;&amp;gt;&amp;gt; ou: support
&lt;br&gt;&amp;gt;&amp;gt; dn: cn=Laa
&lt;br&gt;&amp;gt; Laa,ou=people,dc=example,dc=com
&lt;br&gt;&amp;gt;&amp;gt; objectclass: inetOrgPerson
&lt;br&gt;&amp;gt;&amp;gt; sn: Laa
&lt;br&gt;&amp;gt;&amp;gt; cn: Laa Laa
&lt;br&gt;&amp;gt;&amp;gt; uid: laa
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; userpassword: laa
&lt;br&gt;&amp;gt;&amp;gt; ou: marketing
&lt;br&gt;&amp;gt;&amp;gt; ## team MARKETING
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; dn: cn=marketing,ou=teams,dc=transporeon,dc=nil
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; objectclass: groupofnames
&lt;br&gt;&amp;gt;&amp;gt; cn: marketing
&lt;br&gt;&amp;gt;&amp;gt; description:
&lt;br&gt;&amp;gt; team marketing
&lt;br&gt;&amp;gt;&amp;gt; member: cn=Laa
&lt;br&gt;&amp;gt; Laa,ou=people,dc=transporeon,dc=nil
&lt;br&gt;&amp;gt;&amp;gt; ## team SUPPORT
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; dn: cn=support,ou=teams,dc=transporeon,dc=nil
&lt;br&gt;&amp;gt;&amp;gt; objectclass:
&lt;br&gt;&amp;gt; groupofnames
&lt;br&gt;&amp;gt;&amp;gt; cn: support
&lt;br&gt;&amp;gt;&amp;gt; description: team support
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; member: cn=Tinky Winky,ou=people,dc=transporeon,dc=nil
&lt;br&gt;&amp;gt;&amp;gt; member: cn=Dipsy,ou=people,dc=transporeon,dc=nil
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -- 
&lt;br&gt;&amp;gt;&amp;gt; This message was
&lt;br&gt;&amp;gt; scanned by ESVA and is believed to be clean.
&lt;br&gt;&amp;gt;&amp;gt; Click here to
&lt;br&gt;&amp;gt; report this message as spam.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://esva.puryear-it.com/cgi-bin/learn-msg.cgi?id=&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esva.puryear-it.com/cgi-bin/learn-msg.cgi?id=&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Dustin Puryear
&lt;br&gt;&amp;gt; President and
&lt;br&gt;&amp;gt; Sr. Consultant
&lt;br&gt;&amp;gt; Puryear Information Technology, LLC
&lt;br&gt;&amp;gt; 225-706-8414 x112
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.puryear-it.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Author,
&lt;br&gt;&amp;gt; &amp;quot;Best Practices for Managing Linux and UNIX Servers&amp;quot;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.puryear-it.com/pubs/linux-unix-best-practices/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com/pubs/linux-unix-best-practices/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/newbie-question%3A-how-to-put-company-structure-to-ldap-tp20083915p20113569.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20114012</id>
	<title>Re: newbie question: how to put company structure to ldap</title>
	<published>2008-10-22T08:27:03Z</published>
	<updated>2008-10-22T08:27:03Z</updated>
	<author>
		<name>dpuryear</name>
	</author>
	<content type="html">&lt;br&gt;&lt;br&gt;&lt;br&gt;What you are trying to do is just create a set of users and teams
&lt;br&gt;(groups of users). You can use LDAP groups or roles for the team
&lt;br&gt;implementation. Let's just use groups.
&lt;br&gt;&lt;br&gt;root
&lt;br&gt;- users
&lt;br&gt;-- uid=bob (inetOrgPerson)
&lt;br&gt;-- uid=frank
&lt;br&gt;(inetOrgPerson)
&lt;br&gt;- groups
&lt;br&gt;-- cn=teama (groupOfNames or
&lt;br&gt;groupOfUniqueNames)
&lt;br&gt;-- cn=teamb (groupOfNames or
&lt;br&gt;groupOfUniqueNames)
&lt;br&gt;&lt;br&gt;To make bob a member of teama, then add
&lt;br&gt;uniqueMember=uid=bob,... to cn=teama. Ditto for teamb. To remove bob from
&lt;br&gt;teama, remove their uniqueMember=uid=bob,... from cn=teama.
&lt;br&gt;&lt;br&gt;This is essentially what you did. It works and it's how most of us do
&lt;br&gt;it.
&lt;br&gt;&lt;br&gt;With roles, you would actually edit the user entry instead
&lt;br&gt;and add a role attribute. Also, if you are using an LDAP server that
&lt;br&gt;supports dynamic roles, you can probably maintain groups and get the
&lt;br&gt;benefit of having roles (which are read directly from the user entry).
&lt;br&gt;&lt;br&gt;&amp;gt; Hello, 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm going to create a ldap
&lt;br&gt;directory for the company to have a central 
&lt;br&gt;&amp;gt; place for user
&lt;br&gt;administration. 
&lt;br&gt;&amp;gt; I've started with an example found in the web.
&lt;br&gt;First of all I created 
&lt;br&gt;&amp;gt; the top level dc=example,dc=com and the
&lt;br&gt;manager 
&lt;br&gt;&amp;gt; (cn=manager,dc=example,dc=com). 
&lt;br&gt;&amp;gt; Afterwards I
&lt;br&gt;created 2 organizational units: 
&lt;br&gt;&amp;gt; ou=persons 
&lt;br&gt;&amp;gt; ou=teams
&lt;br&gt;&lt;br&gt;&amp;gt; and filled them with content (see at bottom of the email). 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'm in doubt if this is the correct way to build the
&lt;br&gt;directory and 
&lt;br&gt;&amp;gt; &amp;quot;connect&amp;quot; each user to its team. I only
&lt;br&gt;set the &amp;quot;ou=&amp;quot; property of each 
&lt;br&gt;&amp;gt; person to its
&lt;br&gt;teamname, and added one &amp;quot;member=&amp;quot; entry for each person to 
&lt;br&gt;&amp;gt; the team-object. I'm not happy with such setting. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; What if a person changes the team, do I have to update the person's
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;quot;ou=&amp;quot; and the &amp;quot;member=&amp;quot; section of the
&lt;br&gt;teams ?? 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is this really the way to implement such a
&lt;br&gt;company-&amp;gt;team-&amp;gt;person hierarchy 
&lt;br&gt;&amp;gt; ? 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;any help appreciated....GERD.... 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; dn: cn=Tinky
&lt;br&gt;Winky,ou=people,dc=example,dc=com 
&lt;br&gt;&amp;gt; objectclass: inetOrgPerson
&lt;br&gt;&lt;br&gt;&amp;gt; sn: Tinky 
&lt;br&gt;&amp;gt; cn: Tinky Winky 
&lt;br&gt;&amp;gt; uid: twinky 
&lt;br&gt;&amp;gt; userpassword: twinky 
&lt;br&gt;&amp;gt; ou: support 
&lt;br&gt;&amp;gt; dn:
&lt;br&gt;cn=Dipsy,ou=people,dc=example,dc=com 
&lt;br&gt;&amp;gt; objectclass: inetOrgPerson
&lt;br&gt;&lt;br&gt;&amp;gt; sn: Dipsy 
&lt;br&gt;&amp;gt; cn: Dipsy 
&lt;br&gt;&amp;gt; uid: dipsy 
&lt;br&gt;&amp;gt;
&lt;br&gt;userpassword: dipsy 
&lt;br&gt;&amp;gt; ou: support 
&lt;br&gt;&amp;gt; dn: cn=Laa
&lt;br&gt;Laa,ou=people,dc=example,dc=com 
&lt;br&gt;&amp;gt; objectclass: inetOrgPerson 
&lt;br&gt;&amp;gt; sn: Laa 
&lt;br&gt;&amp;gt; cn: Laa Laa 
&lt;br&gt;&amp;gt; uid: laa 
&lt;br&gt;&amp;gt;
&lt;br&gt;userpassword: laa 
&lt;br&gt;&amp;gt; ou: marketing 
&lt;br&gt;&amp;gt; ## team MARKETING
&lt;br&gt;&lt;br&gt;&amp;gt; dn: cn=marketing,ou=teams,dc=transporeon,dc=nil 
&lt;br&gt;&amp;gt;
&lt;br&gt;objectclass: groupofnames 
&lt;br&gt;&amp;gt; cn: marketing 
&lt;br&gt;&amp;gt; description:
&lt;br&gt;team marketing 
&lt;br&gt;&amp;gt; member: cn=Laa
&lt;br&gt;Laa,ou=people,dc=transporeon,dc=nil 
&lt;br&gt;&amp;gt; ## team SUPPORT 
&lt;br&gt;&amp;gt;
&lt;br&gt;dn: cn=support,ou=teams,dc=transporeon,dc=nil 
&lt;br&gt;&amp;gt; objectclass:
&lt;br&gt;groupofnames 
&lt;br&gt;&amp;gt; cn: support 
&lt;br&gt;&amp;gt; description: team support
&lt;br&gt;&lt;br&gt;&amp;gt; member: cn=Tinky Winky,ou=people,dc=transporeon,dc=nil 
&lt;br&gt;&amp;gt; member: cn=Dipsy,ou=people,dc=transporeon,dc=nil 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; This message was
&lt;br&gt;scanned by ESVA and is believed to be clean. 
&lt;br&gt;&amp;gt; Click here to
&lt;br&gt;report this message as spam. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;a href=&quot;http://esva.puryear-it.com/cgi-bin/learn-msg.cgi?id=&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://esva.puryear-it.com/cgi-bin/learn-msg.cgi?id=&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Dustin Puryear 
&lt;br&gt;President and
&lt;br&gt;Sr. Consultant 
&lt;br&gt;Puryear Information Technology, LLC 
&lt;br&gt;225-706-8414 x112 
&lt;br&gt;&lt;a href=&quot;http://www.puryear-it.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Author,
&lt;br&gt;&amp;quot;Best Practices for Managing Linux and UNIX Servers&amp;quot; 
&lt;br&gt;&lt;a href=&quot;http://www.puryear-it.com/pubs/linux-unix-best-practices/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com/pubs/linux-unix-best-practices/&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;-- 
&lt;br&gt;Dustin Puryear
&lt;br&gt;President and Sr. Consultant
&lt;br&gt;Puryear Information Technology, LLC
&lt;br&gt;225-706-8414 x112
&lt;br&gt;&lt;a href=&quot;http://www.puryear-it.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;Author, &amp;quot;Best Practices for Managing Linux and UNIX Servers&amp;quot;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.puryear-it.com/pubs/linux-unix-best-practices/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com/pubs/linux-unix-best-practices/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/newbie-question%3A-how-to-put-company-structure-to-ldap-tp20083915p20114012.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20084051</id>
	<title>newbie question: how to put company structure to ldap</title>
	<published>2008-10-20T23:14:48Z</published>
	<updated>2008-10-20T23:14:48Z</updated>
	<author>
		<name>Gerd König</name>
	</author>
	<content type="html">Hello again,
&lt;br&gt;&lt;br&gt;in my first email there was an copy-paste error.
&lt;br&gt;&lt;br&gt;The dn of the teams are also of the format
&lt;br&gt;dn=&amp;lt;teamname&amp;gt;,ou=teams,dc=example,dc=com
&lt;br&gt;&lt;br&gt;any help appreciated....GERD....
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/newbie-question%3A-how-to-put-company-structure-to-ldap-tp20084051p20084051.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20083915</id>
	<title>newbie question: how to put company structure to ldap</title>
	<published>2008-10-20T23:01:25Z</published>
	<updated>2008-10-20T23:01:25Z</updated>
	<author>
		<name>Gerd König</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I'm going to create a ldap directory for the company to have a central
&lt;br&gt;place for user administration.
&lt;br&gt;I've started with an example found in the web. First of all I created
&lt;br&gt;the top level dc=example,dc=com and the manager
&lt;br&gt;(cn=manager,dc=example,dc=com).
&lt;br&gt;Afterwards I created 2 organizational units:
&lt;br&gt;ou=persons
&lt;br&gt;ou=teams
&lt;br&gt;and filled them with content (see at bottom of the email).
&lt;br&gt;&lt;br&gt;I'm in doubt if this is the correct way to build the directory and
&lt;br&gt;&amp;quot;connect&amp;quot; each user to its team. I only set the &amp;quot;ou=&amp;quot; property of each
&lt;br&gt;person to its teamname, and added one &amp;quot;member=&amp;quot; entry for each person to
&lt;br&gt;the team-object. I'm not happy with such setting.
&lt;br&gt;&lt;br&gt;What if a person changes the team, do I have to update the person's
&lt;br&gt;&amp;quot;ou=&amp;quot; and the &amp;quot;member=&amp;quot; section of the teams ??
&lt;br&gt;&lt;br&gt;Is this really the way to implement such a company-&amp;gt;team-&amp;gt;person hierarchy ?
&lt;br&gt;&lt;br&gt;any help appreciated....GERD....
&lt;br&gt;&lt;br&gt;dn: cn=Tinky Winky,ou=people,dc=example,dc=com
&lt;br&gt;objectclass: inetOrgPerson
&lt;br&gt;sn: Tinky
&lt;br&gt;cn: Tinky Winky
&lt;br&gt;uid: twinky
&lt;br&gt;userpassword: twinky
&lt;br&gt;ou: support
&lt;br&gt;dn: cn=Dipsy,ou=people,dc=example,dc=com
&lt;br&gt;objectclass: inetOrgPerson
&lt;br&gt;sn: Dipsy
&lt;br&gt;cn: Dipsy
&lt;br&gt;uid: dipsy
&lt;br&gt;userpassword: dipsy
&lt;br&gt;ou: support
&lt;br&gt;dn: cn=Laa Laa,ou=people,dc=example,dc=com
&lt;br&gt;objectclass: inetOrgPerson
&lt;br&gt;sn: Laa
&lt;br&gt;cn: Laa Laa
&lt;br&gt;uid: laa
&lt;br&gt;userpassword: laa
&lt;br&gt;ou: marketing
&lt;br&gt;## team MARKETING
&lt;br&gt;dn: cn=marketing,ou=teams,dc=transporeon,dc=nil
&lt;br&gt;objectclass: groupofnames
&lt;br&gt;cn: marketing
&lt;br&gt;description: team marketing
&lt;br&gt;member: cn=Laa Laa,ou=people,dc=transporeon,dc=nil
&lt;br&gt;## team SUPPORT
&lt;br&gt;dn: cn=support,ou=teams,dc=transporeon,dc=nil
&lt;br&gt;objectclass: groupofnames
&lt;br&gt;cn: support
&lt;br&gt;description: team support
&lt;br&gt;member: cn=Tinky Winky,ou=people,dc=transporeon,dc=nil
&lt;br&gt;member: cn=Dipsy,ou=people,dc=transporeon,dc=nil
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/newbie-question%3A-how-to-put-company-structure-to-ldap-tp20083915p20083915.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20070933</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-20T07:09:15Z</published>
	<updated>2008-10-20T07:09:15Z</updated>
	<author>
		<name>Hallvard B Furuseth</name>
	</author>
	<content type="html">Mark H. Wood writes:
&lt;br&gt;&amp;gt; WebLogic has a problem which is independent of the LDAP service's
&lt;br&gt;&amp;gt; behavior: it is searching the wrong context. &amp;nbsp;If this is not the
&lt;br&gt;&amp;gt; result of misconfiguration by the customer, then they should fix that.
&lt;br&gt;&amp;gt; I would simply refuse *any* arguments concerning the LDAP response to
&lt;br&gt;&amp;gt; an incorrect query until the query is corrected. &amp;nbsp;I would keep
&lt;br&gt;&amp;gt; pointing to the error in WebLogic until it is acknowledged.
&lt;br&gt;&lt;br&gt;Sorry, no. &amp;nbsp;It's irritating but normal for LDAP clients to try several
&lt;br&gt;searches until one succeeds, and to not offer a way to turn off searches
&lt;br&gt;that the user knows will find nothing. &amp;nbsp;Furthermore &amp;quot;no such object&amp;quot; can
&lt;br&gt;mean user misconfiguration - &amp;quot;you must point the group base DN at an
&lt;br&gt;actual entry&amp;quot; while no search results is normal. &amp;nbsp;Assuming that group DN
&lt;br&gt;is actually configured and necessary, of course.
&lt;br&gt;&lt;br&gt;I've lost track of this discussion a bit, but anyway: Possibly it would
&lt;br&gt;help to point the group DN at the parent entry so that a search for the
&lt;br&gt;&amp;quot;group&amp;quot; will find users too. &amp;nbsp;Depends on whether group searches use
&lt;br&gt;subtree scope and filter for groups.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Hallvard
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20070933.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20069910</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-20T06:26:59Z</published>
	<updated>2008-10-20T06:26:59Z</updated>
	<author>
		<name>Mark H. Wood</name>
	</author>
	<content type="html">On Fri, Oct 17, 2008 at 10:03:27AM -0400, Agarwal, Sharad wrote:
&lt;br&gt;&amp;gt; This puts me in a tough predicament. Both parties have a plausible argument. WebLogic complains that the LDAP is not standards compliant. And LDAP complains that WebLogic should not search for groups in the user DN. And if it does, it should handle/ignore the error.
&lt;br&gt;&lt;br&gt;WebLogic has a problem which is independent of the LDAP service's
&lt;br&gt;behavior: it is searching the wrong context. &amp;nbsp;If this is not the
&lt;br&gt;result of misconfiguration by the customer, then they should fix that.
&lt;br&gt;I would simply refuse *any* arguments concerning the LDAP response to
&lt;br&gt;an incorrect query until the query is corrected. &amp;nbsp;I would keep
&lt;br&gt;pointing to the error in WebLogic until it is acknowledged.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Mark H. Wood, Lead System Programmer &amp;nbsp; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20069910&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;mwood@...&lt;/a&gt;
&lt;br&gt;Typically when a software vendor says that a product is &amp;quot;intuitive&amp;quot; he
&lt;br&gt;means the exact opposite.
&lt;br&gt;&lt;br&gt;&lt;br /&gt; &lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://www.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (204 bytes) &lt;a href=&quot;http://www.nabble.com/attachment/20069910/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20069910.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20034874</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-17T07:50:59Z</published>
	<updated>2008-10-17T07:50:59Z</updated>
	<author>
		<name>Michael Ströder</name>
	</author>
	<content type="html">Agarwal, Sharad wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;quot;Michael Ströder&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20034874&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; So I'd be interested which LDAP clients the original poster is 
&lt;br&gt;&amp;gt;&amp;gt; working with and which problems he experienced.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; WebLogic is the application in question. WebLogic allows us to define
&lt;br&gt;&amp;gt; Authenticators (code that connects to the LDAP server). Once an
&lt;br&gt;&amp;gt; Authenticator is defined, WebLogic offers a UI where all users and
&lt;br&gt;&amp;gt; groups can be listed.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The group listing fails because of some code in WebLogic that tries
&lt;br&gt;&amp;gt; to find the description of a group. They have a generic function
&lt;br&gt;&amp;gt; getdescription() that is used for both users and groups. It ends up
&lt;br&gt;&amp;gt; searching for the group in the user base DN. And our LDAP returns an
&lt;br&gt;&amp;gt; Error 32.
&lt;/div&gt;&lt;br&gt;In any case the LDAP client should also handle noSuchObject more
&lt;br&gt;gracefully. Although more thorough analysis should be done I think in
&lt;br&gt;this particular case noSuchObject could also be handled the same way
&lt;br&gt;like no group entry found. And that's exactly what I meant with &amp;quot;In most
&lt;br&gt;cases the handling is mainly the same&amp;quot;.
&lt;br&gt;&lt;br&gt;Ciao, Michael.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20034874.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20034787</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-17T07:46:18Z</published>
	<updated>2008-10-17T07:46:18Z</updated>
	<author>
		<name>Agarwal, Sharad</name>
	</author>
	<content type="html">Emmanuel Lecharny wrote:
&lt;br&gt;&amp;gt; Now the funiest part : WebLogic and Oracle Virtual Directory (, 
&lt;br&gt;&amp;gt; OctetString product) ar _both_ Oracle products ;) Either Oracle or 
&lt;br&gt;&amp;gt; Oracle is not compliant somewhere...
&lt;br&gt;&lt;br&gt;LOL. You are right, BEA was purchased by Oracle. They are indeed both
&lt;br&gt;Oracle products.
&lt;br&gt;&lt;br&gt;What I am not sure is whether Oracle Virtual Directory sends the LDAP
&lt;br&gt;Error 32 by default; or if it is the implementation of the product at
&lt;br&gt;our organization. I suspect it is the latter.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Sharad
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20034787.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20034529</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-17T07:33:19Z</published>
	<updated>2008-10-17T07:33:19Z</updated>
	<author>
		<name>Emmanuel Lecharny-3</name>
	</author>
	<content type="html">Agarwal, Sharad wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;quot;Michael Ströder&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20034529&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; So I'd be interested which LDAP clients the original poster is 
&lt;br&gt;&amp;gt;&amp;gt; working with and which problems he experienced.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; WebLogic is the application in question. WebLogic allows us to define Authenticators (code that connects to the LDAP server). Once an Authenticator is defined, WebLogic offers a UI where all users and groups can be listed. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The group listing fails because of some code in WebLogic that tries to find the description of a group. They have a generic function getdescription() that is used for both users and groups. It ends up searching for the group in the user base DN. And our LDAP returns an Error 32.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As far as I can tell, WebLogic should not be searching for the group in the user context. But it is doing that. By the same token, the LDAP should not return LDAP Error 32. But it is doing that. And, together, the twain are resulting in the user seeing a stack trace instead of the Group listing.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;Looking back to the request's base:
&lt;br&gt;&lt;br&gt;String searchBase = &amp;quot;ou=groups,ou=VgnLDAPRealm,dc=vgndomain&amp;quot;;
&lt;br&gt;&lt;br&gt;if the ou=groups,ou=VgnLDAPRealm,dc=vgndomain branch does not exist in your LDAP DIT, then you will get a NoSuchObject resultcode.
&lt;br&gt;&lt;br&gt;Your LDAP server is compliant if you get this result. 
&lt;br&gt;&lt;br&gt;&amp;gt; This puts me in a tough predicament. Both parties have a plausible argument. WebLogic complains that the LDAP is not standards compliant. And LDAP complains that WebLogic should not search for groups in the user DN. And if it does, it should handle/ignore the error.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;Now the funiest part : WebLogic and Oracle Virtual Directory (AFAIR, 
&lt;br&gt;OctetString product) ar _both_ Oracle products ;) Either Oracle or 
&lt;br&gt;Oracle is not compliant somewhere...
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;--
&lt;br&gt;cordialement, regards,
&lt;br&gt;Emmanuel Lécharny
&lt;br&gt;www.iktek.com
&lt;br&gt;directory.apache.org
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20034529.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20033944</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-17T07:03:27Z</published>
	<updated>2008-10-17T07:03:27Z</updated>
	<author>
		<name>Agarwal, Sharad</name>
	</author>
	<content type="html">&amp;quot;Michael Ströder&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20033944&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; So I'd be interested which LDAP clients the original poster is 
&lt;br&gt;&amp;gt; working with and which problems he experienced.
&lt;br&gt;&lt;br&gt;WebLogic is the application in question. WebLogic allows us to define Authenticators (code that connects to the LDAP server). Once an Authenticator is defined, WebLogic offers a UI where all users and groups can be listed. 
&lt;br&gt;&lt;br&gt;The group listing fails because of some code in WebLogic that tries to find the description of a group. They have a generic function getdescription() that is used for both users and groups. It ends up searching for the group in the user base DN. And our LDAP returns an Error 32.
&lt;br&gt;&lt;br&gt;As far as I can tell, WebLogic should not be searching for the group in the user context. But it is doing that. By the same token, the LDAP should not return LDAP Error 32. But it is doing that. And, together, the twain are resulting in the user seeing a stack trace instead of the Group listing.
&lt;br&gt;&lt;br&gt;This puts me in a tough predicament. Both parties have a plausible argument. WebLogic complains that the LDAP is not standards compliant. And LDAP complains that WebLogic should not search for groups in the user DN. And if it does, it should handle/ignore the error.
&lt;br&gt;&lt;br&gt;All - I really appreciate the various pointers I have received from this wonderful community. 
&lt;br&gt;&lt;br&gt;Thank you,
&lt;br&gt;Sharad
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20033944.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20031873</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-17T04:55:59Z</published>
	<updated>2008-10-17T04:55:59Z</updated>
	<author>
		<name>Michael Ströder</name>
	</author>
	<content type="html">Pierangelo Masarati wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; ----- &amp;quot;Michael Ströder&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20031873&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Pierangelo Masarati wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ----- &amp;quot;Emmanuel Lecharny&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20031873&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;elecharny@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Iinternet Drafts are not authoritative sources of information. 
&lt;br&gt;&amp;gt;&amp;gt; They
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; should never cited except as work-in-progress. &amp;nbsp;No one seems to be
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; questioning that noSuchObject is a legitimate response code for
&lt;br&gt;&amp;gt;&amp;gt; LDAP
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; searches. &amp;nbsp;The point is whether noSuchObject is appropriate for a
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; search whose searchBase exists.
&lt;br&gt;&amp;gt;&amp;gt; I wonder why that's such a big issue at all. When implementing LDAP
&lt;br&gt;&amp;gt;&amp;gt; client software one has to handle noSuchObject and an empty result
&lt;br&gt;&amp;gt;&amp;gt; set anyway. In most cases the handling is mainly the same.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Let me disagree: from an implementation point of view, it depends on
&lt;br&gt;&amp;gt; what a client is supposed to do. &amp;nbsp;If the client's task is over after
&lt;br&gt;&amp;gt; the search response is returned, I might agree. &amp;nbsp;But in any case,
&lt;br&gt;&amp;gt; from a(n informed) user's perspective, the two responses are not the
&lt;br&gt;&amp;gt; same.
&lt;/div&gt;&lt;br&gt;That's why I wrote &amp;quot;In most cases the handling is mainly the same&amp;quot;.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;^^^^ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^^^^^^
&lt;br&gt;&lt;br&gt;Most LDAP clients are not nifty interactive clients which try to guide
&lt;br&gt;the user what to do next. Most LDAP clients just log an error. While I'm
&lt;br&gt;pretty eager with fine-grained error handling in web2ldap I find myself
&lt;br&gt;writing the same application-level error handling for 1. noSuchObject
&lt;br&gt;and 2. empty result sets for simple cases. Only the log messages differ.
&lt;br&gt;&lt;br&gt;So I'd be interested which LDAP clients the original poster is working
&lt;br&gt;with and which problems he experienced.
&lt;br&gt;&lt;br&gt;Ciao, Michael.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20031873.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20017103</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-16T08:53:14Z</published>
	<updated>2008-10-16T08:53:14Z</updated>
	<author>
		<name>Kurt Zeilenga</name>
	</author>
	<content type="html">&lt;br&gt;On Oct 16, 2008, at 1:19 AM, Emmanuel Lecharny wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; The point is whether noSuchObject is appropriate for a search whose &amp;nbsp;
&lt;br&gt;&amp;gt;&amp;gt; searchBase exists.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; That's pretty clear it's not appropriate, RFC draft of not.
&lt;br&gt;&lt;br&gt;Actually, there are cases where it is appropriate. &amp;nbsp;For instance, when &amp;nbsp;
&lt;br&gt;the user is not authorized to know if the searchBase exists. &amp;nbsp;But this &amp;nbsp;
&lt;br&gt;case doesn't seem to apply here.
&lt;br&gt;&lt;br&gt;What should be clear is that by returning noSuchObject, the server is &amp;nbsp;
&lt;br&gt;reporting that the baseObject of the search does not exist. &amp;nbsp;This &amp;nbsp;
&lt;br&gt;quite different than reporting there are no entries which match the &amp;nbsp;
&lt;br&gt;search criteria.
&lt;br&gt;&lt;br&gt;-- Kurt
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; However,
&lt;br&gt;&amp;gt; it's still better to expose the fact that this point is being
&lt;br&gt;&amp;gt; clarified in a RFC draft, for those who haven't been read extensively
&lt;br&gt;&amp;gt; all the LDAP RFCs. May be the official drafts are not clear enough,
&lt;br&gt;&amp;gt; too.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20017103.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20015970</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-16T08:03:15Z</published>
	<updated>2008-10-16T08:03:15Z</updated>
	<author>
		<name>Paul Engle</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;&lt;br&gt;- --On Thursday, October 16, 2008 4:29 PM +0200 Pierangelo Masarati &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20015970&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ando@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----- &amp;quot;Michael Ströder&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20015970&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Pierangelo Masarati wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; ----- &amp;quot;Emmanuel Lecharny&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20015970&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;elecharny@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Iinternet Drafts are not authoritative sources of information.
&lt;br&gt;&amp;gt;&amp;gt; They
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; should never cited except as work-in-progress. &amp;nbsp;No one seems to be
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; questioning that noSuchObject is a legitimate response code for
&lt;br&gt;&amp;gt;&amp;gt; LDAP
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; searches. &amp;nbsp;The point is whether noSuchObject is appropriate for a
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; search whose searchBase exists.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I wonder why that's such a big issue at all. When implementing LDAP
&lt;br&gt;&amp;gt;&amp;gt; client software one has to handle noSuchObject and an empty result
&lt;br&gt;&amp;gt;&amp;gt; set
&lt;br&gt;&amp;gt;&amp;gt; anyway. In most cases the handling is mainly the same.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Let me disagree: from an implementation point of view, it depends on what a client is supposed to do. &amp;nbsp;If the client's task is over after the search response is returned, I might agree. &amp;nbsp;But in any case, from a(n informed) user's perspective, the two responses are not the same. &amp;nbsp;In case of &amp;quot;success&amp;quot;, no entry matched the search criteria, while in case of &amp;quot;noSuchObject&amp;quot; one search criterium, the searchBase, was inappropriate.
&lt;/div&gt;&lt;br&gt;I agree. Client software should behave differently under an error condition than it would with an empty search result. That's why this discussion is not trivial or nonsense.
&lt;br&gt;&lt;br&gt;&amp;gt; I concur that this whole discussion is a little nonsense, as I believe the expected behavior is so well explained in RFC 4511, which is the sole authoritative source of information for this topic, that there is no point in discussing it any further. &amp;nbsp;Also, I believe many implementations 'round do not conform yet to RFC 451*, as they might still conform to RFC 225* (like OpenLDAP 2.3 itself). &amp;nbsp;However, I don't see much difference with respect to this issue.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; p.
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;Ah, but the expected behavior is *not* well explained in this case. Appendix A only has this for the description of noSuchObject:
&lt;br&gt;&lt;br&gt;&amp;quot;Indicates that the object does not exist in the DIT.&amp;quot;
&lt;br&gt;&lt;br&gt;Well, *which* object? It's not too much of a stretch to interpret that as &amp;quot;the object for which you were searching does not exist&amp;quot;. In which case the server developer might feel justified in returning noSuchObject for an empty search.
&lt;br&gt;&lt;br&gt;I believe that the interpretation should be that an object for a supplied DN (i.e., the bind DN or the search base) doesn't exist. You don't know the DN of the object you are searching for, so you haven't supplied it. Therefore the noSuchObject shouldn't be returned. But just because I &amp; others interpret it that way doesn't mean it's clear to everyone.
&lt;br&gt;&lt;br&gt;There should either be wording to specify that an empty search should or must not return noSuchObject, or the definition of that result code should be worded more explicitly to remove the ambiguity.
&lt;br&gt;&lt;br&gt;&amp;nbsp; -paul
&lt;br&gt;&lt;br&gt;- -- 
&lt;br&gt;Paul D. Engle &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Rice University
&lt;br&gt;Sr. Systems Adminstrator, RHCE &amp;nbsp; &amp;nbsp; &amp;nbsp;| Information Technology - MS119
&lt;br&gt;713-348-4702 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| PO Box 1892
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20015970&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pengle@...&lt;/a&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Houston, TX 77251-1892
&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.7 (MingW32)
&lt;br&gt;&lt;br&gt;iD8DBQFI91e6CpkISWtyHNsRAlTzAJ4l48g+/hPqHKRle511h9ON3wkkTgCgtXwu
&lt;br&gt;QLQUYn5flFQyPim22ZvCnMs=
&lt;br&gt;=guBu
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20015970.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20015268</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-16T07:29:54Z</published>
	<updated>2008-10-16T07:29:54Z</updated>
	<author>
		<name>Pierangelo Masarati</name>
	</author>
	<content type="html">&lt;br&gt;----- &amp;quot;Michael Ströder&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20015268&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Pierangelo Masarati wrote:
&lt;br&gt;&amp;gt; &amp;gt; ----- &amp;quot;Emmanuel Lecharny&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20015268&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;elecharny@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Iinternet Drafts are not authoritative sources of information. 
&lt;br&gt;&amp;gt; They
&lt;br&gt;&amp;gt; &amp;gt; should never cited except as work-in-progress. &amp;nbsp;No one seems to be
&lt;br&gt;&amp;gt; &amp;gt; questioning that noSuchObject is a legitimate response code for
&lt;br&gt;&amp;gt; LDAP
&lt;br&gt;&amp;gt; &amp;gt; searches. &amp;nbsp;The point is whether noSuchObject is appropriate for a
&lt;br&gt;&amp;gt; &amp;gt; search whose searchBase exists.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I wonder why that's such a big issue at all. When implementing LDAP
&lt;br&gt;&amp;gt; client software one has to handle noSuchObject and an empty result
&lt;br&gt;&amp;gt; set
&lt;br&gt;&amp;gt; anyway. In most cases the handling is mainly the same.
&lt;/div&gt;&lt;br&gt;Let me disagree: from an implementation point of view, it depends on what a client is supposed to do. &amp;nbsp;If the client's task is over after the search response is returned, I might agree. &amp;nbsp;But in any case, from a(n informed) user's perspective, the two responses are not the same. &amp;nbsp;In case of &amp;quot;success&amp;quot;, no entry matched the search criteria, while in case of &amp;quot;noSuchObject&amp;quot; one search criterium, the searchBase, was inappropriate. &amp;nbsp;I concur that this whole discussion is a little nonsense, as I believe the expected behavior is so well explained in RFC 4511, which is the sole authoritative source of information for this topic, that there is no point in discussing it any further. &amp;nbsp;Also, I believe many implementations 'round do not conform yet to RFC 451*, as they might still conform to RFC 225* (like OpenLDAP 2.3 itself). &amp;nbsp;However, I don't see much difference with respect to this issue.
&lt;br&gt;&lt;br&gt;p.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Ing. Pierangelo Masarati
&lt;br&gt;OpenLDAP Core Team
&lt;br&gt;&lt;br&gt;SysNet s.r.l.
&lt;br&gt;via Dossi, 8 - 27100 Pavia - ITALIA
&lt;br&gt;&lt;a href=&quot;http://www.sys-net.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sys-net.it&lt;/a&gt;&lt;br&gt;-----------------------------------
&lt;br&gt;Office: &amp;nbsp;+39 02 23998309
&lt;br&gt;Mobile: &amp;nbsp;+39 333 4963172
&lt;br&gt;Fax: &amp;nbsp; &amp;nbsp; +39 0382 476497
&lt;br&gt;Email: &amp;nbsp; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20015268&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ando@...&lt;/a&gt;
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20015268.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20009470</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-16T01:37:43Z</published>
	<updated>2008-10-16T01:37:43Z</updated>
	<author>
		<name>Michael Ströder</name>
	</author>
	<content type="html">Pierangelo Masarati wrote:
&lt;br&gt;&amp;gt; ----- &amp;quot;Emmanuel Lecharny&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20009470&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;elecharny@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Iinternet Drafts are not authoritative sources of information. &amp;nbsp;They
&lt;br&gt;&amp;gt; should never cited except as work-in-progress. &amp;nbsp;No one seems to be
&lt;br&gt;&amp;gt; questioning that noSuchObject is a legitimate response code for LDAP
&lt;br&gt;&amp;gt; searches. &amp;nbsp;The point is whether noSuchObject is appropriate for a
&lt;br&gt;&amp;gt; search whose searchBase exists.
&lt;br&gt;&lt;br&gt;I wonder why that's such a big issue at all. When implementing LDAP
&lt;br&gt;client software one has to handle noSuchObject and an empty result set
&lt;br&gt;anyway. In most cases the handling is mainly the same.
&lt;br&gt;&lt;br&gt;Ciao, Michael.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20009470.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20009207</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-16T01:19:00Z</published>
	<updated>2008-10-16T01:19:00Z</updated>
	<author>
		<name>Emmanuel Lecharny-3</name>
	</author>
	<content type="html">&amp;gt; ----- &amp;quot;Emmanuel Lecharny&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20009207&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;elecharny@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Iinternet Drafts are not authoritative sources of information. &amp;nbsp;They should never cited except as work-in-progress. &amp;nbsp;No one seems to be questioning that noSuchObject is a legitimate response code for LDAP searches.
&lt;br&gt;&lt;br&gt;It seems that Agarwal's LDAP admins are questionning this simple fact :)
&lt;br&gt;&lt;br&gt;&amp;gt; The point is whether noSuchObject is appropriate for a search whose searchBase exists.
&lt;br&gt;&lt;br&gt;That's pretty clear it's not appropriate, RFC draft of not. However,
&lt;br&gt;it's still better to expose the fact that this point is being
&lt;br&gt;clarified in a RFC draft, for those who haven't been read extensively
&lt;br&gt;all the LDAP RFCs. May be the official drafts are not clear enough,
&lt;br&gt;too.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Ing. Pierangelo Masarati
&lt;br&gt;&amp;gt; OpenLDAP Core Team
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; SysNet s.r.l.
&lt;br&gt;&amp;gt; via Dossi, 8 - 27100 Pavia - ITALIA
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.sys-net.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sys-net.it&lt;/a&gt;&lt;br&gt;&amp;gt; -----------------------------------
&lt;br&gt;&amp;gt; Office: &amp;nbsp;+39 02 23998309
&lt;br&gt;&amp;gt; Mobile: &amp;nbsp;+39 333 4963172
&lt;br&gt;&amp;gt; Fax: &amp;nbsp; &amp;nbsp; +39 0382 476497
&lt;br&gt;&amp;gt; Email: &amp;nbsp; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20009207&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ando@...&lt;/a&gt;
&lt;br&gt;&amp;gt; -----------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Regards,
&lt;br&gt;Cordialement,
&lt;br&gt;Emmanuel Lécharny
&lt;br&gt;www.iktek.com
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20009207.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20008273</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-16T00:03:54Z</published>
	<updated>2008-10-16T00:03:54Z</updated>
	<author>
		<name>Pierangelo Masarati</name>
	</author>
	<content type="html">&lt;br&gt;----- &amp;quot;Emmanuel Lecharny&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20008273&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;elecharny@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&lt;/a&gt;&lt;br&gt;&lt;br&gt;Iinternet Drafts are not authoritative sources of information. &amp;nbsp;They should never cited except as work-in-progress. &amp;nbsp;No one seems to be questioning that noSuchObject is a legitimate response code for LDAP searches. &amp;nbsp;The point is whether noSuchObject is appropriate for a search whose searchBase exists.
&lt;br&gt;&lt;br&gt;p.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Ing. Pierangelo Masarati
&lt;br&gt;OpenLDAP Core Team
&lt;br&gt;&lt;br&gt;SysNet s.r.l.
&lt;br&gt;via Dossi, 8 - 27100 Pavia - ITALIA
&lt;br&gt;&lt;a href=&quot;http://www.sys-net.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.sys-net.it&lt;/a&gt;&lt;br&gt;-----------------------------------
&lt;br&gt;Office: &amp;nbsp;+39 02 23998309
&lt;br&gt;Mobile: &amp;nbsp;+39 333 4963172
&lt;br&gt;Fax: &amp;nbsp; &amp;nbsp; +39 0382 476497
&lt;br&gt;Email: &amp;nbsp; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20008273&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ando@...&lt;/a&gt;
&lt;br&gt;-----------------------------------
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20008273.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20000861</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-15T12:44:51Z</published>
	<updated>2008-10-15T12:44:51Z</updated>
	<author>
		<name>Emmanuel Lecharny-3</name>
	</author>
	<content type="html">Paul Engle wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;&amp;gt; Hash: SHA1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dieter beat me to the punch on citing RFC 4511 as the authoritative source for information. However, it doesn't really give guidelines on what result code to return for this (or any) situation.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Appendix A of the same RFC also gives short descriptions of the result codes, breaking them down into &amp;quot;Non-Error Result Codes&amp;quot; and &amp;quot;Result Codes&amp;quot;. Code 32 falls into the latter. Since that group is not &amp;quot;Non-Error&amp;quot;, I would tend to interpret it to mean that those codes *are* errors.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Not finding what you were searching for is not, in my opinion, a protocol error. To return an error code for a successful search operation doesn't seem right to me. Every LDAP directory I've worked with returns a Success (0) for an empty search result.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;a href=&quot;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.watersprings.org/pub/id/draft-just-ldapv3-rescodes-02.txt&lt;/a&gt;&lt;br&gt;&lt;br&gt;5.2.2.2.1noSuchObject(32)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;Applicable operations: all except for Bind.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;This error should only be returned if the target object cannot be
&lt;br&gt;&amp;nbsp; &amp;nbsp;found. For example, in a search operation if the search base can not
&lt;br&gt;&amp;nbsp; &amp;nbsp;be located in the DSA the server should return noSuchObject. If,
&lt;br&gt;&amp;nbsp; &amp;nbsp;however, the search base is found but does not match the search
&lt;br&gt;&amp;nbsp; &amp;nbsp;filter, success, with no resultant objects, should be returned
&lt;br&gt;&amp;nbsp; &amp;nbsp;instead of noSuchObject.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;--
&lt;br&gt;cordialement, regards,
&lt;br&gt;Emmanuel Lécharny
&lt;br&gt;www.iktek.com
&lt;br&gt;directory.apache.org
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20000861.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20000795</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-15T12:40:31Z</published>
	<updated>2008-10-15T12:40:31Z</updated>
	<author>
		<name>Paul Engle</name>
	</author>
	<content type="html">-----BEGIN PGP SIGNED MESSAGE-----
&lt;br&gt;Hash: SHA1
&lt;br&gt;&lt;br&gt;&lt;br&gt;Dieter beat me to the punch on citing RFC 4511 as the authoritative source for information. However, it doesn't really give guidelines on what result code to return for this (or any) situation.
&lt;br&gt;&lt;br&gt;Appendix A of the same RFC also gives short descriptions of the result codes, breaking them down into &amp;quot;Non-Error Result Codes&amp;quot; and &amp;quot;Result Codes&amp;quot;. Code 32 falls into the latter. Since that group is not &amp;quot;Non-Error&amp;quot;, I would tend to interpret it to mean that those codes *are* errors.
&lt;br&gt;&lt;br&gt;Not finding what you were searching for is not, in my opinion, a protocol error. To return an error code for a successful search operation doesn't seem right to me. Every LDAP directory I've worked with returns a Success (0) for an empty search result.
&lt;br&gt;&lt;br&gt;&amp;nbsp; -paul
&lt;br&gt;&lt;br&gt;- -- 
&lt;br&gt;Paul D. Engle &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Rice University
&lt;br&gt;Sr. Systems Adminstrator, RHCE &amp;nbsp; &amp;nbsp; &amp;nbsp;| Information Technology - MS119
&lt;br&gt;713-348-4702 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| PO Box 1892
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pengle@...&lt;/a&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; | Houston, TX 77251-1892
&lt;br&gt;&lt;br&gt;&lt;br&gt;- --On Wednesday, October 15, 2008 12:22 PM -0400 &amp;quot;Agarwal, Sharad&amp;quot; &amp;lt;&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Sharad.Agarwal@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks Joe. Appreciate your patience.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is there some kind of authoritative source I could cite when I have this
&lt;br&gt;&amp;gt; discussion with the LDAP administrators? They are just telling me that
&lt;br&gt;&amp;gt; the application should handle the error and that LDAP Error 32 is 'No
&lt;br&gt;&amp;gt; Such Object'. And since there is no (uid=foo) object, it is standards
&lt;br&gt;&amp;gt; compliant behavior for the server to return LDAP Error 32.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Sharad
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: joe [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Wednesday, October 15, 2008 12:19 PM
&lt;br&gt;&amp;gt; To: Agarwal, Sharad; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adam@...&lt;/a&gt;; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ldap@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: RE: [ldap] Re: LDAP Error 32 v/s Empty Result Set
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Good example. I would say the LDAP server was sending back a
&lt;br&gt;&amp;gt; non-standard
&lt;br&gt;&amp;gt; response for that situation then.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;joe
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; O'Reilly Active Directory Third Edition -
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.joeware.net/win/ad3e.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.joeware.net/win/ad3e.htm&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Agarwal, Sharad [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Sharad.Agarwal@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Wednesday, October 15, 2008 12:17 PM
&lt;br&gt;&amp;gt; To: joe; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adam@...&lt;/a&gt;; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ldap@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: RE: [ldap] Re: LDAP Error 32 v/s Empty Result Set
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Joe,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thank you for elaborating on that.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I think I was asking too generic a question. Here are two specific
&lt;br&gt;&amp;gt; queries
&lt;br&gt;&amp;gt; to the Oracle Virtual Directory server, both using the same bind
&lt;br&gt;&amp;gt; information. One succeeds, the other fails. The only difference between
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; two is that one is searching for (uid=vgnadmin) and the other for
&lt;br&gt;&amp;gt; (uid=foo).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Query:
&lt;br&gt;&amp;gt; ~~~~
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String searchBase = &amp;quot;ou=People,dc=fmr,dc=com&amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String searchFilter = &amp;quot;(uid=vgnadmin)&amp;quot;; //WORKS ~~~~
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Output:
&lt;br&gt;&amp;gt; ~~~~
&lt;br&gt;&amp;gt; LDAPEntry: uid=vgnadmin,ou=People,dc=fmr,dc=com; LDAPAttributeSet:
&lt;br&gt;&amp;gt; LDAPAttribute: {type='cn', value='vgnadmin, VDS'} ~~~~
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Query:
&lt;br&gt;&amp;gt; ~~~~
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String searchBase = &amp;quot;ou=People,dc=fmr,dc=com&amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String searchFilter = &amp;quot;(uid=foo)&amp;quot;; //FAILS ~~~~
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Output:
&lt;br&gt;&amp;gt; ~~~~
&lt;br&gt;&amp;gt; Error: LDAPException: No Such Object (32) No Such Object
&lt;br&gt;&amp;gt; LDAPException: Server Message: LDAP Error 32 : No Such Object ~~~~
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: joe [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Wednesday, October 15, 2008 11:27 AM
&lt;br&gt;&amp;gt; To: Agarwal, Sharad; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adam@...&lt;/a&gt;; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ldap@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: RE: [ldap] Re: LDAP Error 32 v/s Empty Result Set
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Does a base level search with a filter of objectclass=* return the base
&lt;br&gt;&amp;gt; object or does it return an error? Alternately if you change your filter
&lt;br&gt;&amp;gt; to
&lt;br&gt;&amp;gt; objectclass=* and leave the rest of the query the same does it work?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I could this being a problem with your search base as well as the DN
&lt;br&gt;&amp;gt; specified for the uniqueMember match. Either of which not existing or
&lt;br&gt;&amp;gt; you
&lt;br&gt;&amp;gt; not having access rights to see them.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;joe
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; O'Reilly Active Directory Third Edition -
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.joeware.net/win/ad3e.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.joeware.net/win/ad3e.htm&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounce-ldap-5210650@...&lt;/a&gt;
&lt;br&gt;&amp;gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounce-ldap-5210650@...&lt;/a&gt;] On Behalf Of
&lt;br&gt;&amp;gt; Agarwal,
&lt;br&gt;&amp;gt; Sharad
&lt;br&gt;&amp;gt; Sent: Wednesday, October 15, 2008 11:10 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adam@...&lt;/a&gt;; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=14&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ldap@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [ldap] Re: LDAP Error 32 v/s Empty Result Set
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks Adam.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My apologies, I should have been more clear on that front. Both the
&lt;br&gt;&amp;gt; searchBase and bind information is valid. The only thing out of order
&lt;br&gt;&amp;gt; (if we
&lt;br&gt;&amp;gt; can call it that) is that the search is for something that does not
&lt;br&gt;&amp;gt; exist.
&lt;br&gt;&amp;gt; Put another way, we are searching for an item that does not exist in the
&lt;br&gt;&amp;gt; searchBase.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If the standard behavior for an LDAP server is to NOT give an error, can
&lt;br&gt;&amp;gt; you
&lt;br&gt;&amp;gt; please point me to an authoritative source that I could cite to the LDAP
&lt;br&gt;&amp;gt; administrators?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Sharad
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounce-ldap-5778666@...&lt;/a&gt;
&lt;br&gt;&amp;gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=16&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounce-ldap-5778666@...&lt;/a&gt;] On Behalf Of Adam
&lt;br&gt;&amp;gt; Tauno Williams
&lt;br&gt;&amp;gt; Sent: Wednesday, October 15, 2008 11:04 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=17&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ldap@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [ldap] Re: LDAP Error 32 v/s Empty Result Set
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Is it standard behavior for an LDAP server to respond with (LDAP Error
&lt;br&gt;&amp;gt;&amp;gt; 32) when a query is run that has no match?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I suppose, if the specified searchBase does not exist or potentially if
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; simple bind fails (the latter isn't &amp;quot;correct&amp;quot; AFAIK, but I've seen it in
&lt;br&gt;&amp;gt; the
&lt;br&gt;&amp;gt; wild).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I tried a zero result query with the embedded LDAP Server (that comes
&lt;br&gt;&amp;gt;&amp;gt; with WebLogic). This query does not return LDAP Error 32, it just
&lt;br&gt;&amp;gt;&amp;gt; returns an empty result set.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Code snippet:
&lt;br&gt;&amp;gt;&amp;gt; ~~~~
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int ldapVersion &amp;nbsp; = LDAPConnection.LDAP_V3;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int ldapPort &amp;nbsp; &amp;nbsp; &amp;nbsp;= 27001;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String ldapHost &amp;nbsp; = &amp;quot;fesbosbgdd33v3&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String loginDN &amp;nbsp; &amp;nbsp;=
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;uid=vgnadmin,ou=people,ou=VgnLDAPRealm,dc=vgndomain&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String password &amp;nbsp; = &amp;quot;password masked&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String searchBase = &amp;quot;ou=groups,ou=VgnLDAPRealm,dc=vgndomain&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String searchFilter =
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;(&amp;(uniquemember=cn=Administrators,ou=groups,ou=VgnLDAPRealm,dc=vgndomai
&lt;br&gt;&amp;gt;&amp;gt; n)(objectclass=groupOfUniqueNames))&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt; ~~~~
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Consonance: an Open Source .NET OpenGroupware client.
&lt;br&gt;&amp;gt; &amp;nbsp;Contact:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000795&amp;i=18&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;awilliam@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://freshmeat.net/projects/consonance/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://freshmeat.net/projects/consonance/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-----BEGIN PGP SIGNATURE-----
&lt;br&gt;Version: GnuPG v1.4.7 (MingW32)
&lt;br&gt;&lt;br&gt;iD8DBQFI9kcvCpkISWtyHNsRAu5SAJ908yiy3cT0Qq90DVWtJwjznWbl5gCgxiNb
&lt;br&gt;OUXuaW4Y1rl84cqp+eWMUw4=
&lt;br&gt;=ewtM
&lt;br&gt;-----END PGP SIGNATURE-----
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20000795.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-20000045</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-15T09:38:12Z</published>
	<updated>2008-10-15T09:38:12Z</updated>
	<author>
		<name>dpuryear</name>
	</author>
	<content type="html">Perhaps you should give some actual examples of the DIT and some queries
&lt;br&gt;via ldapsearch. That may help. :)
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Dustin Puryear
&lt;br&gt;President and Sr. Consultant
&lt;br&gt;Puryear Information Technology, LLC
&lt;br&gt;225-706-8414 x112
&lt;br&gt;&lt;a href=&quot;http://www.puryear-it.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;Author, &amp;quot;Best Practices for Managing Linux and UNIX Servers&amp;quot;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.puryear-it.com/pubs/linux-unix-best-practices/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com/pubs/linux-unix-best-practices/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Agarwal, Sharad wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Thanks Adam.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My apologies, I should have been more clear on that front. Both the
&lt;br&gt;&amp;gt; searchBase and bind information is valid. The only thing out of order
&lt;br&gt;&amp;gt; (if we can call it that) is that the search is for something that does
&lt;br&gt;&amp;gt; not exist. Put another way, we are searching for an item that does not
&lt;br&gt;&amp;gt; exist in the searchBase.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If the standard behavior for an LDAP server is to NOT give an error, can
&lt;br&gt;&amp;gt; you please point me to an authoritative source that I could cite to the
&lt;br&gt;&amp;gt; LDAP administrators?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Sharad
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000045&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounce-ldap-5778666@...&lt;/a&gt;
&lt;br&gt;&amp;gt; [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000045&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounce-ldap-5778666@...&lt;/a&gt;] On Behalf Of Adam
&lt;br&gt;&amp;gt; Tauno Williams
&lt;br&gt;&amp;gt; Sent: Wednesday, October 15, 2008 11:04 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=20000045&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ldap@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: [ldap] Re: LDAP Error 32 v/s Empty Result Set
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Is it standard behavior for an LDAP server to respond with (LDAP Error
&lt;br&gt;&amp;gt;&amp;gt; 32) when a query is run that has no match?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I suppose, if the specified searchBase does not exist or potentially if
&lt;br&gt;&amp;gt; the simple bind fails (the latter isn't &amp;quot;correct&amp;quot; AFAIK, but I've seen
&lt;br&gt;&amp;gt; it in the wild).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I tried a zero result query with the embedded LDAP Server (that comes
&lt;br&gt;&amp;gt;&amp;gt; with WebLogic). This query does not return LDAP Error 32, it just
&lt;br&gt;&amp;gt;&amp;gt; returns an empty result set.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Code snippet:
&lt;br&gt;&amp;gt;&amp;gt; ~~~~
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int ldapVersion &amp;nbsp; = LDAPConnection.LDAP_V3;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int ldapPort &amp;nbsp; &amp;nbsp; &amp;nbsp;= 27001; 
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String ldapHost &amp;nbsp; = &amp;quot;fesbosbgdd33v3&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String loginDN &amp;nbsp; &amp;nbsp;=
&lt;br&gt;&amp;gt;&amp;gt; &amp;quot;uid=vgnadmin,ou=people,ou=VgnLDAPRealm,dc=vgndomain&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String password &amp;nbsp; = &amp;quot;password masked&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String searchBase = &amp;quot;ou=groups,ou=VgnLDAPRealm,dc=vgndomain&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String searchFilter =
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;quot;(&amp;(uniquemember=cn=Administrators,ou=groups,ou=VgnLDAPRealm,dc=vgndomai
&lt;br&gt;&amp;gt;&amp;gt; n)(objectclass=groupOfUniqueNames))&amp;quot;;
&lt;br&gt;&amp;gt;&amp;gt; ~~~~
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;&lt;div class=&quot;signature&quot;&gt;-- 
&lt;br&gt;Dustin Puryear
&lt;br&gt;President and Sr. Consultant
&lt;br&gt;Puryear Information Technology, LLC
&lt;br&gt;225-706-8414 x112
&lt;br&gt;&lt;a href=&quot;http://www.puryear-it.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com&lt;/a&gt;&lt;br&gt;&lt;br&gt;Author, &amp;quot;Best Practices for Managing Linux and UNIX Servers&amp;quot;
&lt;br&gt;&amp;nbsp; &lt;a href=&quot;http://www.puryear-it.com/pubs/linux-unix-best-practices/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.puryear-it.com/pubs/linux-unix-best-practices/&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://www.nabble.com/LDAP-UMIch-List2-f14468.html&quot; embed=&quot;fixTarget[14468]&quot; target=&quot;_top&quot; &gt;LDAP UMIch List2&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://www.nabble.com/LDAP-Error-32-v-s-Empty-Result-Set-tp19995297p20000045.html" />
</entry>

<entry>
	<id>tag:www.nabble.com,2006:post-19999978</id>
	<title>Re: LDAP Error 32 v/s Empty Result Set</title>
	<published>2008-10-15T09:22:27Z</published>
	<updated>2008-10-15T09:22:27Z</updated>
	<author>
		<name>Agarwal, Sharad</name>
	</author>
	<content type="html">Thanks Joe. Appreciate your patience.
&lt;br&gt;&lt;br&gt;Is there some kind of authoritative source I could cite when I have this
&lt;br&gt;discussion with the LDAP administrators? They are just telling me that
&lt;br&gt;the application should handle the error and that LDAP Error 32 is 'No
&lt;br&gt;Such Object'. And since there is no (uid=foo) object, it is standards
&lt;br&gt;compliant behavior for the server to return LDAP Error 32.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Sharad
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: joe [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, October 15, 2008 12:19 PM
&lt;br&gt;To: Agarwal, Sharad; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adam@...&lt;/a&gt;; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ldap@...&lt;/a&gt;
&lt;br&gt;Subject: RE: [ldap] Re: LDAP Error 32 v/s Empty Result Set
&lt;br&gt;&lt;br&gt;Good example. I would say the LDAP server was sending back a
&lt;br&gt;non-standard
&lt;br&gt;response for that situation then. 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;joe
&lt;br&gt;&amp;nbsp;
&lt;br&gt;--
&lt;br&gt;O'Reilly Active Directory Third Edition -
&lt;br&gt;&lt;a href=&quot;http://www.joeware.net/win/ad3e.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.joeware.net/win/ad3e.htm&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Agarwal, Sharad [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Sharad.Agarwal@...&lt;/a&gt;] 
&lt;br&gt;Sent: Wednesday, October 15, 2008 12:17 PM
&lt;br&gt;To: joe; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adam@...&lt;/a&gt;; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ldap@...&lt;/a&gt;
&lt;br&gt;Subject: RE: [ldap] Re: LDAP Error 32 v/s Empty Result Set
&lt;br&gt;&lt;br&gt;Hi Joe,
&lt;br&gt;&lt;br&gt;Thank you for elaborating on that. 
&lt;br&gt;&lt;br&gt;I think I was asking too generic a question. Here are two specific
&lt;br&gt;queries
&lt;br&gt;to the Oracle Virtual Directory server, both using the same bind
&lt;br&gt;information. One succeeds, the other fails. The only difference between
&lt;br&gt;the
&lt;br&gt;two is that one is searching for (uid=vgnadmin) and the other for
&lt;br&gt;(uid=foo).
&lt;br&gt;&lt;br&gt;Query:
&lt;br&gt;~~~~
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String searchBase = &amp;quot;ou=People,dc=fmr,dc=com&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String searchFilter = &amp;quot;(uid=vgnadmin)&amp;quot;; //WORKS ~~~~
&lt;br&gt;&lt;br&gt;Output:
&lt;br&gt;~~~~
&lt;br&gt;LDAPEntry: uid=vgnadmin,ou=People,dc=fmr,dc=com; LDAPAttributeSet:
&lt;br&gt;LDAPAttribute: {type='cn', value='vgnadmin, VDS'} ~~~~
&lt;br&gt;&lt;br&gt;Query:
&lt;br&gt;~~~~
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String searchBase = &amp;quot;ou=People,dc=fmr,dc=com&amp;quot;;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String searchFilter = &amp;quot;(uid=foo)&amp;quot;; //FAILS ~~~~
&lt;br&gt;&lt;br&gt;Output:
&lt;br&gt;~~~~
&lt;br&gt;Error: LDAPException: No Such Object (32) No Such Object
&lt;br&gt;LDAPException: Server Message: LDAP Error 32 : No Such Object ~~~~
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: joe [mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;joe@...&lt;/a&gt;]
&lt;br&gt;Sent: Wednesday, October 15, 2008 11:27 AM
&lt;br&gt;To: Agarwal, Sharad; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adam@...&lt;/a&gt;; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ldap@...&lt;/a&gt;
&lt;br&gt;Subject: RE: [ldap] Re: LDAP Error 32 v/s Empty Result Set
&lt;br&gt;&lt;br&gt;Does a base level search with a filter of objectclass=* return the base
&lt;br&gt;object or does it return an error? Alternately if you change your filter
&lt;br&gt;to
&lt;br&gt;objectclass=* and leave the rest of the query the same does it work?
&lt;br&gt;&lt;br&gt;I could this being a problem with your search base as well as the DN
&lt;br&gt;specified for the uniqueMember match. Either of which not existing or
&lt;br&gt;you
&lt;br&gt;not having access rights to see them.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;joe
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;--
&lt;br&gt;O'Reilly Active Directory Third Edition -
&lt;br&gt;&lt;a href=&quot;http://www.joeware.net/win/ad3e.htm&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.joeware.net/win/ad3e.htm&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounce-ldap-5210650@...&lt;/a&gt;
&lt;br&gt;[mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounce-ldap-5210650@...&lt;/a&gt;] On Behalf Of
&lt;br&gt;Agarwal,
&lt;br&gt;Sharad
&lt;br&gt;Sent: Wednesday, October 15, 2008 11:10 AM
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;adam@...&lt;/a&gt;; &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ldap@...&lt;/a&gt;
&lt;br&gt;Subject: [ldap] Re: LDAP Error 32 v/s Empty Result Set
&lt;br&gt;&lt;br&gt;Thanks Adam.
&lt;br&gt;&lt;br&gt;My apologies, I should have been more clear on that front. Both the
&lt;br&gt;searchBase and bind information is valid. The only thing out of order
&lt;br&gt;(if we
&lt;br&gt;can call it that) is that the search is for something that does not
&lt;br&gt;exist.
&lt;br&gt;Put another way, we are searching for an item that does not exist in the
&lt;br&gt;searchBase.
&lt;br&gt;&lt;br&gt;If the standard behavior for an LDAP server is to NOT give an error, can
&lt;br&gt;you
&lt;br&gt;please point me to an authoritative source that I could cite to the LDAP
&lt;br&gt;administrators?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Sharad
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounce-ldap-5778666@...&lt;/a&gt;
&lt;br&gt;[mailto:&lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=14&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounce-ldap-5778666@...&lt;/a&gt;] On Behalf Of Adam
&lt;br&gt;Tauno Williams
&lt;br&gt;Sent: Wednesday, October 15, 2008 11:04 AM
&lt;br&gt;To: &lt;a href=&quot;http://www.nabble.com/user/SendEmail.jtp?type=post&amp;post=19999978&amp;i=15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ldap@...&lt;/a&gt;
&lt;br&gt;Subject: [ldap] Re: LDAP Error 32 v/s Empty Result Set
&lt;br&gt;&lt;br&gt;&amp;gt; Is it standard behavior for an LDAP server to respond with (LDAP Error
&lt;br&gt;&amp;gt; 32) when a query is run that has no match?
&lt;br&gt;&lt;br&gt;I suppose, if the specified searchBase does not exist or potentially if
&lt;br&gt;the
&lt;br&gt;simple bind fails (the latter isn't &amp;quot;correct&amp;quot; AFAIK, but I've seen it in
&lt;br&gt;the
&lt;br&gt;wild).
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I tried a zero result query with the embedded LDAP Server (that comes 
&lt;br&gt;&amp;gt; with WebLogic). This query does not return LDAP Error 32, it just 
&lt;br&gt;&amp;gt; returns an empty result set.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Code snippet:
&lt;br&gt;&amp;gt; ~~~~
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int ldapVersion &amp;nbsp; = LDAPConnection.LDAP_V3;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int ldapPort &amp;nbsp; &amp;nbsp; &amp;nbsp;= 27001; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String ldapHost &amp;nbsp; = &amp;quot;fesbosbgdd33v3&amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String loginDN &amp;nbsp; &amp;nbsp;=
&lt;br&gt;&amp;gt; &amp;quot;uid=vgnadmin,ou=people,ou=VgnLDAPRealm,dc=vgndomain&amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String password &amp;nbsp; = &amp;quot;password masked&amp;quot;;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String searchBase = 