31,029
edits
(→Usage) |
(→Errors) |
||
| Line 49: | Line 49: | ||
= Errors = | = Errors = | ||
Because error message returned by PHP function are not accurate, if you experience a message and don't known what's wrong, this is what you can do: | Because error message returned by PHP function are not accurate, if you experience a message and don't known what's wrong, this is what you can do: | ||
* Just after error occurs, a file '''ldap/temp/ldapinput.in''' is created into your dolibarr documents directory. Go into | * Just after error occurs, a file '''ldap/temp/ldapinput.in''' is created into your dolibarr documents directory. Go into directory '''ldap/temp'''. | ||
* Open file, you will find into first lines (as comments), the full ldap command you can run from command line to emulate the same action that PHP send to LDAP server. | * Open file '''ldapintput.in''', you will find into first lines (as comments), the full ldap command you can run from command line to emulate the same action that PHP send to LDAP server. | ||
* Run this command | * Run this command. You need to have ldap utilities (ldapadd, ldapmodify and ldapdelete) installed on your computer. | ||
* Analyze the result. You should get more information on error reason. | * Analyze the result. You should get more information on error reason. | ||