[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldap delete and modifying by delete problems
Michael StrÃder schrieb:
> Catalin wrote:
>
>> âPHP Warning: ldap_delete() [<a
>> href='function.ldap-delete'>function.ldap-delete</a>]: Delete:
>> Strong(er) authentication required in
>>
>
> Your PHP app is not correctly bound to the LDAP service.
>
>
>> $r = @ldap_bind($ldap, "root","password");
>>
> ^^^^^^
> I don't know PHP-LDAP but shouldn't this be a bind-DN? A simple bind has
> nothing to do with Unix user accounts such as "root".
>
> Ciao, Michael.
>
correct, you need to specifiy a bind DN i.e. "cn=master,dc=mydomain,dc=com"
in PHP ldap_bind will bind you anonymously when binding with
user/password fails