[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LDAP Noobie



Yes this will work.  Best resource I found was just php.net and the ldap
documentation there.

The way I use it is you just bind as the username/password combo you want
to test.  If they bind then they authenticated successfully.  If not, they
didn't.

pwilson

> Hi All,
>
> 	This is my first time on this list. I have tried for about a week now
> to find some information that would help me in my endeavors, to no
> avail. I am new to useing LDAP and PHP together. I have tried to search
> the PHP Forums/Lists and the web to find answer that are most likely
> rudimentry. So I would appreciate if any of you could take a few
> moments to help me.
>
>
> Im running a Win2K Server with Apache/PHP w/LDAP Support. Im trying to
> create a web application for my intranet here. One of the things Im
> trying to do is user authentication thru a php login interface that uses
> LDAP to talk to an Active Directory Server to validate the user. My
> question is basic, Will this work? Can PHP w/LDAP be used to take a
> username and password and then query the Active Directory Server to
> validate the user? If so, can anyone point me to a place to find some
> helpful info?
>
> Beriah
>
> Disclaimer - 10/14/2003
>
> This email and any files transmitted with it are confidential and
> intended solely for the end user. If you are not the named addressee you
> should not disseminate, distribute, copy or alter this email. Please
> delete this email and notify the sender of the error.
>
> Any views or opinions presented in this email are solely those of the
> author and might not represent those of Opportunity Enterprises, Inc..
>
> Warning: Although Opportunity Enterprises, Inc.  has taken reasonable
> precautions to ensure no viruses are present in this email,  the company
> cannot accept responsibility for any loss or damage arising from the use
> of this email or attachments. (c) 2003 Opportunity Enterprises Inc.