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 [EMAIL PROTECTED] 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
[EMAIL PROTECTED]
ftp://dbusiness.dyndns.org





--
Santosh Jambhlikar
Linux Administrator
Cash-Tech Solutions
Pride Parmar Galaxy, Pune
Maharashtra.
Ph.
O.:- 56052000
ext. 2150

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to