[Date Prev][Date Next] [Chronological] [Thread] [Top]

OpenLDAP and PHP/Apache problem (more info)

I just did a comparison between the verbose output of slapd and here is the
difference I see:

This one works (using command line ldapmodify):

=> acl_access_allowed: write access to value "aaaaaaaaaaaaaaaaa" by

This one does not (ldap_modify using php):

=> acl_access_allowed: write access to value "" by "CN=ROOT,DC=

I have set the attribute value correctly in php and it doesn't seem to
appear. I used:


It is strange that php seems to hiccup on this and cannot trap a return
error. Any pointers appreciated!

----- Original Message -----
From: "Sacha Stanton" <sacha.stanton@modusinc.com>
To: <openldap-devel@OpenLDAP.org>
Sent: Tuesday, January 04, 2000 22:54
Subject: OpenLDAP and PHP/Apache problem

> > Hi,
> >
> > I have a problem modifying entries with PHP on Apache. I can list
> > without a problem and also delete them, but using the ldap_modify
> > the web page that should load is not present and a standard "server not
> > found" error appears in the browser. It is very strange because using
> > command line ldapmodify and a ldif file works fine. I am not able to
> > the error.
> >
> > Also, the attribute I just tried to modify disappears from the ldap
> >
> > Incidentally, the LDAPExplorer tool (which is excellent) has the same
> > problem when trying to modify an entry.
> >
> > Are there permissions to set between php or apache and ldap? Doesn't
> > right to me...
> >
> > Any ideas?
> >
> > Thanks,
> >
> > -s
> >
> >