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 worka
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'l
>this program is giving me "*Invalid DN syntax* " error. what's wrong?
>cn
>for the the user is "user"
the DN should look like this
uid={username},..., dc={yourdomain}, dc={TLD}
ask your admin for further options...
cheers
Björn Bartels
-Development/IT-Services-
--
>this program is giving me "*Invalid DN syntax* " error. what's wrong?
>cn
>for the the user is "user"
the DN should look like this
cn={username},..., dc={yourdomain}, dc={TLD}
ask your admin for further options...
cheers
Björn Bartels
-Development/IT-Services-
--
$ldaprdn = 'user';
$ldappass = 'userpass';
$ldapconn = ldap_connect("ldap.mydomain.com")
or die("Could not connect to LDAP server.");
if ($ldapconn) {
$ldapbind = ldap_bind($ldapconn,$ldaprdn, $ldappass);
if ($ldapbind) {
echo "LDAP bind successful...";
} else {
echo "LDAP
"Santosh Jambhlikar" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> then can i output the SMD5 of my password in php.
>
>
> Jeff Loiselle wrote:
>
> > Santosh Jambhlikar wrote:
> >
> >> Hi ,
> >>
> >> I have a ldap server the user password are stored in that. my php
> >> ldasearch r
then can i output the SMD5 of my password in php.
Jeff Loiselle wrote:
Santosh Jambhlikar wrote:
Hi ,
I have a ldap server the user password are stored in that. my php
ldasearch result says that the result is
ldap user password : {SMD5}eRuT8dttD6M6N6tgMJF33/TNAvc=
i want to compare this
Santosh Jambhlikar wrote:
Hi ,
I have a ldap server the user password are stored in that. my php
ldasearch result says that the result is
ldap user password : {SMD5}eRuT8dttD6M6N6tgMJF33/TNAvc=
i want to compare this password with the user given password in other
application (obviously php)
Ben,
I was trying the same thing, but I am not sure you are using the same
setup as me. My office runs a windows 2000 domain with a Exchange server
2000 box. All profile information is stored in the windows 2000 domain
controller, and the exchange server accesses the information from there.
So
9 matches
Mail list logo