Page 1 of 1
ldpamodify on ADS via PHP
Posted: Mon Aug 19, 2002 4:50 am
by StefanImmel
I am looking for a way to modify an ADS attribut via PHP.
I tried:
$entry["extensionattribute1"][0] = "Test";
ldap_modify($lc,$dn,$entry);
with a valid $lc but I only get an:
DSA is unwilling to perform back.
can somebody help me there ???
Posted: Mon Aug 19, 2002 6:01 am
by volka
your password grants you modifications on the backend and it supports the given operation?
Posted: Mon Aug 19, 2002 6:45 am
by StefanImmel
volka wrote:your password grants you modifications on the backend and it supports the given operation?
The user/password is right and I even tried it with an Admin equivalent.
I think the problem is the backend (ADS) but how can I check that ???
Posted: Mon Aug 19, 2002 8:05 am
by volka
hmmmm....sorry. I have no practice with LDAP.
All I know is from my mcp-tests (to be more exact from a book "just the answers"

).
But as far as I know there are attributes to each object like aclentry and aclsource that hold the information of who has what permissions.
Probably you can do a ldap search on those objects/attributes.
they maybe even reflect the backend capabilities - maybe not :-S