<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 11">
<meta name=Originator content="Microsoft Word 11">
<link rel=File-List href="cid:filelist.xml@01C5A1AB.C03D2780">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:DisplayBackgroundShape/>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:EnvelopeVis/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"ms sans";
        panose-1:0 0 0 0 0 0 0 0 0 0;
        mso-font-alt:"Times New Roman";
        mso-font-charset:0;
        mso-generic-font-family:roman;
        mso-font-format:other;
        mso-font-pitch:auto;
        mso-font-signature:3 0 0 0 1 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none;
        text-underline:none;
        text-decoration:none;
        text-line-through:none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0in 5.4pt 0in 5.4pt;
        mso-para-margin:0in;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'>
<div class=Section1>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'>Hello
gents/ladies… <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'>I’m
not new to PHP but am new to this group.<span style='mso-spacerun:yes'>
</span>My question deals with using PHP and ldap_search to query the Active
Directory.<span style='mso-spacerun:yes'> </span>I want to check AD to see if
a user is a member of a specific group or if the user is a member of a group
that is part of a group (this is what I really want)… <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'>I
can already return group membership – but I guess what I’m looking
for is a way to do the following:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'>Joe
wants access to a page… <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'>Joe
is part of “Super Admins” which is a member of “Another Admin”
group.<span style='mso-spacerun:yes'> </span><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'>Joe
doesn’t have “member of” listing for “Another Admin”
group.<span style='mso-spacerun:yes'> </span>How can I check the AD with
PHP/LDAP to tell me that Joe is OK for this page b/c he is part of a group that
has membership to the required group?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'>Does
this make sense?<span style='mso-spacerun:yes'> </span>If so – anybody have
any thoughts?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'>Thanks
in advance.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:Arial;color:blue'><o:p> </o:p></span></p>
<p class=MsoNormal><b style='mso-bidi-font-weight:normal'><span
style='font-size:10.0pt;font-family:"ms sans";color:navy;mso-no-proof:yes'>Rich
S. Wyatt<o:p></o:p></span></b></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"ms sans";
color:navy;mso-no-proof:yes'>Webmaster</span><span style='color:blue;
mso-no-proof:yes'><o:p></o:p></span></p>
<p class=MsoNormal><strong><span style='color:navy;mso-no-proof:yes'>Bloodgood
Sharp Buster Architects and Planners, Inc.</span></strong><span
style='color:blue;mso-no-proof:yes'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"ms sans";
color:navy;mso-no-proof:yes'>Corporate-Des Moines</span><span style='color:
blue;mso-no-proof:yes'><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:10.0pt;font-family:"ms sans";
color:navy;mso-no-proof:yes'>Office: 515.273.3020<span style='mso-tab-count:
1'> </span>Fax: 515.221.3272<o:p></o:p></span></p>
<p class=MsoNormal><u><span style='color:navy;mso-no-proof:yes'><a
href="http://www.bsbdesign.com"><span style='font-size:10.0pt;font-family:"ms sans";
color:navy'>www.bsbdesign.com</span></a></span></u><u><span style='font-size:
10.0pt;font-family:"ms sans";color:navy;mso-no-proof:yes'> </span></u><span
style='color:blue;mso-no-proof:yes'><o:p></o:p></span></p>
<p class=MsoNormal><em><span style='font-size:10.0pt;font-family:Arial;
color:black;mso-no-proof:yes'>National Experience, Regional Sensitivity</span></em><span
style='font-family:"ms sans";color:black;mso-no-proof:yes'><o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<DIV><P><HR>
NOTICE: This email (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error then delete it.
</P></DIV>
</body>
</html>