Windows 2008R2 and LDAP connections

------=_NextPart_000_0010_01CA7DA3.E2D19E10
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0011_01CA7DA3.E2D19E10"


------=_NextPart_001_0011_01CA7DA3.E2D19E10
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello and good day,

I have been researching all day about connecting with PHP to
Active Directory. I am at an extreme loss because I am not 100% on what is
being talked about. So in hopes of a resolution I am spilling it all here.



I have all access that I need in order to make any changes
or adjustments that I need to (either to domain controller/AD controller or
anything else). I just do not know exactly what I need to do in order to
complete the process. I do have Active Directory installed on the domain
controller which serves as DC and AD controller. I have a separate machine
that is running IIS 7.5 and is acting as my intranet server. I have
installed the latest version of PHP with LDAP support. I have searched high
and low on a simpler explanation of the LDAP commands used in php as it is
new to me (know a little procedural php code). The end result that I am
trying to achieve is that users on the local network are automatically
logged into the intranet website because their computer is already
authenticated with AD for the logon and for users outside of the network
that attempt to access the site are queried for their login credentials. I
would much rather maintain one user database than two and right now we are
actually maintaining about three databases (which becomes a headache). Is
there anyone out there that can shed some light on this matter so that I
might get better educated on it?





Thank you in advance,



James Coffman - Webmaster

<http://www.cadc.com/> Central Arkansas Development Council

email2 <mailto:webmaster [at] cadc.cc> webmaster [at] cadc.com

phone501-778-1133

- Building Futures through community action -




------=_NextPart_001_0011_01CA7DA3.E2D19E10
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
..shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
[at] font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
[at] font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
[at] font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
[at] font-face
{font-family:"Blackadder ITC";
panose-1:4 2 5 5 5 16 7 2 13 2;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
..MsoChpDefault
{mso-style-type:export-only;}
[at] page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal>Hello and good day,<o:p></o:p></p>

<p =
class=3DMsoNormal>         &=
nbsp;      I
have been researching all day about connecting with PHP to Active
Directory.  I am at an extreme loss because I am not 100% on what =
is being
talked about.  So in hopes of a resolution I am spilling it all =
here.<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p =
class=3DMsoNormal>         &=
nbsp;       
I have all access that I need in order to make any changes or =
adjustments that
I need to (either to domain controller/AD controller or anything =
else).  I
just do not know exactly what I need to do in order to complete the
process.  I do have Active Directory installed on the domain =
controller
which serves as DC and AD controller.  I have a separate machine =
that is
running IIS 7.5 and is acting as my intranet server.  I have =
installed the
latest version of PHP with LDAP support.  I have searched high and =
low on
a simpler explanation of the LDAP commands used in php as it is new to =
me (know
a little procedural php code).  The end result that I am trying to =
achieve
is that users on the local network are automatically logged into the =
intranet
website because their computer is already authenticated with AD for the =
logon
and for users outside of the network that attempt to access the site are =
queried
for their login credentials.  I would much rather maintain one user
database than two and right now we are actually maintaining about three
databases (which becomes a headache).  Is there anyone out there =
that can
shed some light on this matter so that I might get better educated on =
it? 
<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>Thank you in advance,<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal><span =
style=3D'font-size:16.0pt;font-family:"Blackadder ITC";
color:#1F497D'>James Coffman – Webmaster</span><span =
style=3D'font-size:
16.0pt;font-family:"Blackadder =
ITC";color:#1F497D'><o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:16.0pt;font-family:"Blackadder ITC";
color:#1F497D'><a href=3D"http://www.cadc.com/"><span =
style=3D'color:blue'>Central
Arkansas Development Council</span></a><o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:16.0pt;font-family:"Blackadder ITC";
color:#1F497D'><img border=3D0 width=3D20 height=3D16 =
id=3D"Picture_x0020_1"
src=3D"cid:image001.jpg [at] 01CA7DA2.8E356B80" alt=3Demail2><a
href=3D"mailto:webmaster [at] cadc.cc"><span =
style=3D'color:blue'>webmaster [at] cadc.com</span></a><o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:16.0pt;font-family:"Blackadder ITC";
color:#1F497D'><img border=3D0 width=3D20 height=3D19 =
id=3D"Picture_x0020_2"
src=3D"cid:image002.jpg [at] 01CA7DA2.8E356B80" =
alt=3Dphone>501-778-1133<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:16.0pt;font-family:"Blackadder ITC";
color:#1F497D'>- Building Futures through community action -</span><span
style=3D'font-size:26.0pt;font-family:"Blackadder =
ITC";color:#1F497D'><o:p></o:p></span></p>

<p class=3DMsoNormal><o:p> </o:p></p>

</div>

</body>

</html>

------=_NextPart_001_0011_01CA7DA3.E2D19E10--

------=_NextPart_000_0010_01CA7DA3.E2D19E10--
James Coffman [ Di, 15 Dezember 2009 23:30 ] [ ID #2026208 ]

RE: Windows 2008R2 and LDAP connections

------_=_NextPart_001_01CA7DD7.40F3E717
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

We use adLDAP:

http://adldap.sourceforge.net/



Keith Davis (214) 906-5183



________________________________

From: James Coffman [mailto:webmaster [at] cadc.com]
Sent: Tuesday, December 15, 2009 4:30 PM
To: php-windows [at] lists.php.net
Subject: [PHP-WIN] Windows 2008R2 and LDAP connections



Hello and good day,

I have been researching all day about connecting with
PHP to Active Directory. I am at an extreme loss because I am not 100%
on what is being talked about. So in hopes of a resolution I am
spilling it all here.



I have all access that I need in order to make any
changes or adjustments that I need to (either to domain controller/AD
controller or anything else). I just do not know exactly what I need to
do in order to complete the process. I do have Active Directory
installed on the domain controller which serves as DC and AD controller.
I have a separate machine that is running IIS 7.5 and is acting as my
intranet server. I have installed the latest version of PHP with LDAP
support. I have searched high and low on a simpler explanation of the
LDAP commands used in php as it is new to me (know a little procedural
php code). The end result that I am trying to achieve is that users on
the local network are automatically logged into the intranet website
because their computer is already authenticated with AD for the logon
and for users outside of the network that attempt to access the site are
queried for their login credentials. I would much rather maintain one
user database than two and right now we are actually maintaining about
three databases (which becomes a headache). Is there anyone out there
that can shed some light on this matter so that I might get better
educated on it?





Thank you in advance,



James Coffman - Webmaster

Central Arkansas Development Council <http://www.cadc.com/>

email2webmaster [at] cadc.com <mailto:webmaster [at] cadc.cc>

phone501-778-1133

- Building Futures through community action -




This message (including any attachments) may contain confidential or =
otherwise privileged information and is intended only for the =
individual(s) to which it is addressed. If you are not the named =
addressee you should not disseminate, distribute or copy this e-mail. =
Please notify the sender immediately by e-mail if you have received this =
e-mail by mistake and delete this e-mail from your system. E-mail =
transmission cannot be guaranteed to be secured or error-free as =
information could be intercepted, corrupted, lost, destroyed, arrive =
late or incomplete, or contain viruses. The sender therefore does not =
accept liability for any errors or omissions in the contents of this =
message or that arise as a result of e-mail transmission. If =
verification is required please request a hard-copy version from the =
sender.

www.pridedallas.com


------_=_NextPart_001_01CA7DD7.40F3E717--
Keith Davis [ Di, 15 Dezember 2009 23:37 ] [ ID #2026209 ]

Re: Windows 2008R2 and LDAP connections

2009/12/15 Keith Davis <keithdavis [at] pridedallas.com>:
> We use adLDAP:
>
> http://adldap.sourceforge.net/
>
>
>
> Keith Davis (214) 906-5183
>
>
>
> ________________________________
>
> From: James Coffman [mailto:webmaster [at] cadc.com]
> Sent: Tuesday, December 15, 2009 4:30 PM
> To: php-windows [at] lists.php.net
> Subject: [PHP-WIN] Windows 2008R2 and LDAP connections
>
>
>
> Hello and good day,
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0I have been resear=
ching all day about connecting with
> PHP to Active Directory. =C2=A0I am at an extreme loss because I am not 1=
00%
> on what is being talked about. =C2=A0So in hopes of a resolution I am
> spilling it all here.
>
>
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0I have all =
access that I need in order to make any
> changes or adjustments that I need to (either to domain controller/AD
> controller or anything else). =C2=A0I just do not know exactly what I nee=
d to
> do in order to complete the process. =C2=A0I do have Active Directory
> installed on the domain controller which serves as DC and AD controller.
> I have a separate machine that is running IIS 7.5 and is acting as my
> intranet server. =C2=A0I have installed the latest version of PHP with LD=
AP
> support. =C2=A0I have searched high and low on a simpler explanation of t=
he
> LDAP commands used in php as it is new to me (know a little procedural
> php code). =C2=A0The end result that I am trying to achieve is that users=
on
> the local network are automatically logged into the intranet website
> because their computer is already authenticated with AD for the logon
> and for users outside of the network that attempt to access the site are
> queried for their login credentials. =C2=A0I would much rather maintain o=
ne
> user database than two and right now we are actually maintaining about
> three databases (which becomes a headache). =C2=A0Is there anyone out the=
re
> that can shed some light on this matter so that I might get better
> educated on it?
>
>
>
>
>
> Thank you in advance,
>
>
>
> James Coffman - Webmaster
>
> Central Arkansas Development Council <http://www.cadc.com/>
>
> email2webmaster [at] cadc.com <mailto:webmaster [at] cadc.cc>
>
> phone501-778-1133
>
> - Building Futures through community action -
>
>
>
>
> This message (including any attachments) may contain confidential or othe=
rwise privileged information and is intended only for the individual(s) to =
which it is addressed. If you are not the named addressee you should not di=
sseminate, distribute or copy this e-mail. Please notify the sender immedia=
tely by e-mail if you have received this e-mail by mistake and delete this =
e-mail from your system. E-mail transmission cannot be guaranteed to be sec=
ured or error-free as information could be intercepted, corrupted, lost, de=
stroyed, arrive late or incomplete, or contain viruses. The sender therefor=
e does not accept liability for any errors or omissions in the contents of =
this message or that arise as a result of e-mail transmission. If verificat=
ion is required please request a hard-copy version from the sender.
>
> www.pridedallas.com
>
>

This contains all the technical details for using IIS with ASP for
AD/LDAP authentication [1].

And one for PHP with AD/LDAP [2]


Regards,

Richard.

[1] http://support.microsoft.com/kb/326340
[2] http://www.developer.com/xml/article.php/3100951/Integrating -Active-Dir=
ectory-with-PHP.htm
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=3DZEND002498&r=3D213474=
731
ZOPA : http://uk.zopa.com/member/RQuadling

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Richard Quadling [ Mi, 16 Dezember 2009 00:59 ] [ ID #2026210 ]
PHP » gmane.comp.php.windows » Windows 2008R2 and LDAP connections

Vorheriges Thema: cgi
Nächstes Thema: Using PHPScript -- How?