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

Re: CLI remotes write, php remotes can't



On 23 janv. 2011, at 00:30, "mike@grounded.net" <mike@grounded.net> wrote:

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 command line. However, from remotes using php-ldap, I cannot create users, only read.

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?

Hi,

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.

Jonathan