FYI, I was able to solve this problem with help from Russ and the
previous messages on <a href="http://pmwiki.org">pmwiki.org</a>.&nbsp; Essentially, to use both
containers, you're going to have to use a subtree, explained before by
using ?sub at the end of the line.&nbsp; Thusly:<br>
<br>

 $AuthUser['ldap'] = '<a>ldap://ldap.example.com/o=example?uid</a>?sub';<br>
<br>
both ou=People and ou=OtherPeople (separate containers) are under the
subtree of o=example, so apparently this gives the server the go-ahead
to search in the entire subtree, whereas if you use the ou= variable,
it will only search that container.&nbsp; <br>
<br>
I'll write this in the AuthUser page on <a href="http://pmwiki.org">pmwiki.org</a> for future admins,
but I don't really know ldap very well, so if somebody knows how to
explain how subtrees work and where o, ou, and sub all fit in, it would
be awesome if you could make it clearer.<br>
<br>
Jon<br><br><div><span class="gmail_quote">On 11/1/05, <b class="gmail_sendername">Jon Haupt</b> &lt;<a href="mailto:jhaupt@gmail.com">jhaupt@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi there,<br>
<br>
I've been setting up a wiki for use by library staff, and using an LDAP
server through AuthUser.&nbsp; At first moment it appeared to be
working perfectly - our setup works beautifully with the example you
offered:<br>
<br>
 $AuthUser['ldap'] = '<a>ldap://ldap.example.com/ou=People,o=example?uid</a>';<br>
<br>
Until I was told that, in fact, we have staff in *two different
containers* in the same LDAP server.&nbsp; So, I need it to check the
above, and also:<br>
<br>
 $AuthUser['ldap'] = '<a>ldap://ldap.example.com/ou=OtherPeople,o=example?uid</a>';<br>
<br>
I tried just adding another line, but that broke it - now nobody could
get in.&nbsp; I tried removing the ou= part of the line - that didn't
work either.<br>
<br>
Is there a way to make this work?<br>
<br>
Thanks,<br>
<br>
Jon<br clear="all"><span class="sg"><br>-- <br>Jon Haupt<br>Fine &amp; Performing Arts Librarian<br>Iowa State University<br>152 Parks Library<br>Ames, IA 50011<br>515-294-0904<br><a href="mailto:jhaupt@iastate.edu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
jhaupt@iastate.edu</a>


</span></blockquote></div>