Re: Re: php ldap
| From: | Björn Bartels | Date: | Fri, 26 Aug 2005 11:02:13 +0000 |
| Subject: | Re: Re: php ldap | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-221423@lists.php.net to get a copy of this message | ||
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
>So 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