Re: Re: php ldap
| From: | Santosh Jambhlikar | Date: | Fri, 26 Aug 2005 11:08:13 +0000 |
| Subject: | Re: Re: php ldap | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221424@lists.php.net to get a copy of this message | ||
thanks bartels,
ldap_bind is working find i just used uid instead of cn. :)
Björn Bartels wrote:
that looks good, i think you should better use "uid" instead of "cn"... btw, i mentioned some authentication-problem earlier in this list. take a look at the php-manual @ ldap_bind() for a workaround if the same thing is happening to you (testscript works fine, loginscript does not !?!)... You'll find a function there by edi@..... which might help you out-- Santosh Jambhlikar Linux Administrator Cash-Tech Solutions Pride Parmar Galaxy, Pune Maharashtra. Ph. O.:- 56052000 ext. 2150So should i give $ldaprdn = 'cn=user,ou=Users,dc=mydomain,dc=com';sorry for that delayed reply... being at work now :) Björn Bartels -Development/IT-Services- ---------------------------------------------- dbusiness.de gmbh digital business & printing gmbh Greifswalder Str. 152 D-10409 Berlin Fon: [0.30] 4.21.19.95 Fax: [0.30] 4.21.19.74 www.dbusiness.de info@dbusiness.de ftp://dbusiness.dyndns.org