RE: [PHP] PHP and LDAP Authentication

2008-01-24 Thread Bastien Koert
htmlentities? urlencode? bastien> Date: Thu, 24 Jan 2008 15:20:44 -0600> From: [EMAIL PROTECTED]> To: php-general@lists.php.net> Subject: [PHP] PHP and LDAP Authentication> > Hello,> > I have encountered a situation where a user password> Contains a space

[PHP] PHP and LDAP Authentication

2008-01-24 Thread Sutton, John
Hello, I have encountered a situation where a user password Contains a space in it (in the middle). I am looking for A way to send that password through ldap_bind() Correctly. So far no luck. Can you give me any suggestions? John J. Sutton Sr. Programmer/Analyst 371-4872 (office) 773-4550 (cell)

Re: [PHP] PHP and LDAP...

2006-01-19 Thread Richard Lynch
On Tue, January 17, 2006 3:08 am, David BERCOT wrote: > I'm new on this list and with PHP. But I am a old web developer (with > ASP). > I'm looking for verifying a username/password in Active Directory with > a > LDAP request... > I have this error : > Warning: ldap_search() [function.ldap-search]:

Re: [PHP] PHP and LDAP...

2006-01-17 Thread David BERCOT
> David > > I found this resource usefull when authenticating users against LDAP, > its easy to set up and use. > > http://adldap.sourceforge.net/ OK. I have some problems but the most important point (verifying if a user can be authenticated) works well !!! Now, I have to adapt the script beca

Re: [PHP] PHP and LDAP...

2006-01-17 Thread Adrian Bruce
David I found this resource usefull when authenticating users against LDAP, its easy to set up and use. http://adldap.sourceforge.net/ Ade David BERCOT wrote: Hi, I'm new on this list and with PHP. But I am a old web developer (with ASP). I'm looking for verifying a username/password in A

[PHP] PHP and LDAP...

2006-01-17 Thread David BERCOT
Hi, I'm new on this list and with PHP. But I am a old web developer (with ASP). I'm looking for verifying a username/password in Active Directory with a LDAP request... I have this error : Warning: ldap_search() [function.ldap-search]: Search: Operations error in /var/www/ldap.html on line 69 I t

Re: [PHP] PHP and LDAP over SSL

2002-09-08 Thread Stig Venaas
On Wed, Sep 04, 2002 at 02:26:49PM +0200, Søren Henning Dalgaard wrote: > I can make an ldap_connect with the ldaps://hostname/ parameter but what > next: > How can make an ldap_bind command? > How can I encrypt and decrypt the data? When using ldaps:// all communications are through SSL, you do

[PHP] PHP and LDAP over SSL

2002-09-04 Thread Søren Henning Dalgaard
I'm new to both PHP, LDAP and SSL so I'm really asking for direction on where to start. I have an OpenLDAP server on a Linux box, and a Microsoft ISS on Windows 2000 with PHP-scripting. I have made a couple of PHP scripts that access the LDAP database for reading and writing. All works fine so fa

[PHP] PHP and LDAP over SSL

2002-09-04 Thread Søren Henning Dalgaard
I'm new to both PHP, LDAP and SSL so I'm really asking for direction on where to start. I have an OpenLDAP server on a Linux box, and a Microsoft ISS on Windows 2000 with PHP-scripting. I have made a couple of PHP scripts that access the LDAP database for reading and writing. All works fine so fa

Re: [PHP] PHP and LDAP over SSL

2002-08-26 Thread Curtis Robinson
Yea, I am using OpenLDAP. Putting the .ldaprc in the user homedir for the web server worked like a charm. Thanks. On Mon, Aug 26, 2002 at 08:37:52AM +0200, Stig Venaas wrote: > On Fri, Aug 23, 2002 at 11:52:11AM -0500, Curtis Robinson wrote: > > So, I see that php does not have the CA. But, I

Re: [PHP] PHP and LDAP over SSL

2002-08-25 Thread Stig Venaas
On Fri, Aug 23, 2002 at 11:52:11AM -0500, Curtis Robinson wrote: > So, I see that php does not have the CA. But, I have no clue as to where > to define the location of the CA in the php configuration. So, does > anyone know how I can configure this option? Are you using OpenLDAP? The below is o