Oh yeah, if that'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"><<a href="mailto:mikemol@gmail.com">mikemol@gmail.com</a>></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<<a href="mailto:ben.demott@gmail.com">ben.demott@gmail.com</a>> wrote:<br>
> Since this was brought up I will make a comment ,should anyone else find it<br>
> useful ...<br>
><br>
> Microsoft doesn't mention adsiedit.msc very often but it is hands down one<br>
> of the best tools to learn how to turn the Proprietary mass of confusion<br>
> that is Active Directory into something interoperable and useful...<br>
><br>
> So anyone trying to integrate AD services or directory authentication / user<br>
> search into their business application that should be your first stop - it<br>
> is in general a good tool to learn how LDAP works, and naming conventions in<br>
> general.<br>
><br>
> I'm actually going to be diong some LDAP work with (what was formely known<br>
> as) Fedora Directory Server and using python's ldap interface for the first<br>
> time - not sure what you are looking for exactly but if you need some code<br>
> 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'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>