[Date Prev][Date Next]
Re: CLI remotes write, php remotes can't
On 23 janv. 2011, at 00:30, "email@example.com" <firstname.lastname@example.org>
I'm trying to find leads on what else to look for with this problem.
Locally, I can create users, etc.
From remote centos servers, I can create and read account info from
However, from remotes using php-ldap, I cannot create users, only
I'm not sure what to provide for info just yet as there are too many
variables but on the other hand, someone might immediately know what
the answer is.
I suspect something to do with php-ldap, perhaps a config or
something that's not allowing writes?
Just a few ideas off the top of my head:
- make sure your PHP sets ldap version to 3
- make sure you perform a bind operation with an account that has
sufficient authorizations to create entries
For further investigation, I suggest studying the slapd logs, with
loglevel stats enabled. The error code of your failed ADD operation
should point you to the problem.