Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2150 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23990 invoked from network); 4 Jun 2003 07:13:11 -0000 Received: from unknown (HELO blacksheep.csh.rit.edu) (129.21.60.6) by pb1.pair.com with SMTP; 4 Jun 2003 07:13:11 -0000 Received: from fury.csh.rit.edu (fury.csh.rit.edu [2001:470:1f00:135:a00:20ff:fe8d:5399]) by blacksheep.csh.rit.edu (Postfix) with ESMTP id 29A35F1 for ; Wed, 4 Jun 2003 03:13:11 -0400 (EDT) Received: by fury.csh.rit.edu (Postfix, from userid 37404) id EB2AA1267; Wed, 4 Jun 2003 03:13:10 -0400 (EDT) Date: Wed, 4 Jun 2003 03:13:10 -0400 To: internals@lists.php.net Message-ID: <20030604071309.GB16893@csh.rit.edu> Mail-Followup-To: internals@lists.php.net References: <20030604065940.GA16893@csh.rit.edu> <20030604091015.A8798@sverresborg.uninett.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030604091015.A8798@sverresborg.uninett.no> User-Agent: Mutt/1.5.3i Subject: Re: [PHP-DEV] LDAP bind option From: jon@php.net (Jon Parise) On Wed, Jun 04, 2003 at 09:10:15AM +0200, Stig Venaas wrote: > > > Currently the call to ldap_bind only supports the method LDAP_AUTH_SIMPLE > > > (as it is hardcoded in the php function definition). Can we put the > > > method parameter (as see in the call to ldap_bind_s) back into the PHP > > > function? I have an application that obtains x509 certs (securely) and I > > > want to use them to bind to the LDAP server. > > > > I'll try and have a look at this soon. I just need to find the time > > to get my local LDAP server up and running again for testing. > > There are also things like SASL that should be supported. That should > perhaps be done with a separate bind function though. Yes, I noticed. It looks like the Microsoft implementation has its own set, as well: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netdir/ldap/ldap_bind_s.asp For now, I'll work from the OpenLDAP implementation. That will probably benefit the largest percentage of PHP users. > It's great if you look into this, I have sort of had it on my todo list > for a couple of years... Hopefully it won't remain on mine for that long. =) -- Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)