Hello forum,

i want to develop a login script with php and userauthentification with
novell eDirectory.

But when I will test the script the followin error message appears:

>
> Warning: ldap_bind() [function.ldap-bind]: Unable to bind to server:
> Confidentiality required
>


The code which I use is the following


PHP code:
--------------------

$ldap = ldap_connect("Server IP");
$bind_results = ldap_bind($ldap, $uid, $pw);

--------------------



But if i write the following code whithout $uid and $pw it will work
and no error message appears. With this code i can not make a user
authentifucation


PHP code:
--------------------

$ldap = ldap_connect("Server IP");
$bind_results = ldap_bind($ldap);

--------------------


Did anyone hava a idea why the error message appears??


--
M81
------------------------------------------------------------------------
M81's Profile: http://forums.novell.com/member.php?userid=49053
View this thread: http://forums.novell.com/showthread.php?t=367669