wifang / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

LDAP authentication error #428

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I had set up the LDAP authentication 
"authentication_methods" => array("pw","ldap"),
"ldap_server" => "ldap://uasd.net",
"ldap_conn_string" => "uid=[USER],ou=UASD,dc=uasd,dc=net",

when i try to lodig it gives me "Unknown Error Occurred"..
i followed the instruction given in the below link to get error log
http://code.google.com/p/mollify/wiki/Troubleshooting

and it retured
{"code":0,"error":"Unknown error: Unknown service 'debug'","details":""}

Please help me to solve this problem..

Regards
Salman

Original issue reported on code.google.com by mdsalma...@gmail.com on 19 Dec 2012 at 4:34

GoogleCodeExporter commented 9 years ago
The error "{"code":0,"error":"Unknown error: Unknown service 
'debug'","details":""}" means that you haven't enabled debug logging. This has 
nothing to do with LDAP error.

Please look at the PHP error log to see what's the error with LDAP

Original comment by samuli.j...@gmail.com on 19 Dec 2012 at 6:36

GoogleCodeExporter commented 9 years ago
I am getting this error..
[19-Dec-2012 19:58:17 UTC] MOLLIFY ERROR: PHP error #2, ldap_bind(): Unable
to bind to server: Can't contact LDAP server
(C:\xampp\htdocs\mollify\backend\include\Authentication.class.php:154)

Dont know where is the mistake

Original comment by mdsalma...@gmail.com on 19 Dec 2012 at 8:02

GoogleCodeExporter commented 9 years ago
This error means that PHP LDAP module cannot find the LDAP server. Perhaps the 
LDAP server address is incorrect, you could try without the ldap protocol, or 
with just ip address.

You just need to find LDAP connection properties that works with PHP LDAP 
module, as Mollify uses http://php.net/manual/en/function.ldap-connect.php, see 
that page for troubleshooting.

Original comment by samuli.j...@gmail.com on 20 Dec 2012 at 12:40

GoogleCodeExporter commented 9 years ago

Original comment by samuli.j...@gmail.com on 3 Jun 2013 at 5:40