Oh yeah, if that&#39;s what you are looking for I wrote a whole PHP api to do common AD stuff like:<br>BaseSearchDn = (your DN)<br>function: adUserExists()<br>function: adGroupExists()<br>function: adIsGroupMember()<br><br>
calculating the AD password reset time,<br>and converting the AD LDAP fields into COMMON ldap fields - oh the memories :)<br><br>... and LDAP (ad) API will actually come with OpenLEAF - but thats another story.<br><br>I will round up some examples for ya :) <br>
<br><div class="gmail_quote">On Thu, Jul 2, 2009 at 9:41 PM, Michael Mol <span dir="ltr">&lt;<a href="mailto:mikemol@gmail.com">mikemol@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Thu, Jul 2, 2009 at 9:27 PM, Ben DeMott&lt;<a href="mailto:ben.demott@gmail.com">ben.demott@gmail.com</a>&gt; wrote:<br>
&gt; Since this was brought up I will make a comment ,should anyone else find it<br>
&gt; useful ...<br>
&gt;<br>
&gt; Microsoft doesn&#39;t mention adsiedit.msc very often but it is hands down one<br>
&gt; of the best tools to learn how to turn the Proprietary mass of confusion<br>
&gt; that is Active Directory into something interoperable and useful...<br>
&gt;<br>
&gt; So anyone trying to integrate AD services or directory authentication / user<br>
&gt; search into their business application that should be your first stop - it<br>
&gt; is in general a good tool to learn how LDAP works, and naming conventions in<br>
&gt; general.<br>
&gt;<br>
&gt; I&#39;m actually going to be diong some LDAP work with (what was formely known<br>
&gt; as) Fedora Directory Server and using python&#39;s ldap interface for the first<br>
&gt; time - not sure what you are looking for exactly but if you need some code<br>
&gt; examples I would be happy to help ??<br>
<br>
</div>These are the two tasks that currently exist...<br>
<br>
<a href="http://rosettacode.org/wiki/Connect_to_Active_Directory" target="_blank">http://rosettacode.org/wiki/Connect_to_Active_Directory</a><br>
<a href="http://rosettacode.org/wiki/Search_for_a_User_in_Active_Directory" target="_blank">http://rosettacode.org/wiki/Search_for_a_User_in_Active_Directory</a><br>
<br>
They&#39;re currently only solved in VBScript and Tcl.  Python (and any<br>
other language) examples would be awesome.  As would be some more<br>
practical task suggestions in the LDAP/ActiveDirectory domain.<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">:wq<br>
_______________________________________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>
</div></div></blockquote></div><br>