Code: Select all
JLDAP2: Could not get dn for username '[email protected]'. Check user dn/filter parameter and the authenticating user exists. LDAP reported: Success
Code: Select all
PHP Built On Linux NASSRV 3.4.6 #1 SMP Fri Apr 26 00:12:30 CST 2013 i686
Database Version 5.1.36
Database Collation utf8_general_ci
PHP Version 5.3.14
Web Server Apache
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 2.5.11 Stable [ Ember ] 26-April-2013 14:00 GMT
Joomla! Platform Version Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36
The result from the ldapdebug.php is
Both functions credentials are valid and below is the result
Authentication
Code: Select all
:: PHP LDAP Debug V1.06 Script Started ::
Attempting to bind to LDAP server using connect username and password...
LDAP bind successful.
Attempting to use search to find user...
Successfully found user
Attempting to logon with user CN=xxxxxxx,OU=my_Users,OU=my Users,DC=xxxxxxx,DC=gr ...
Successfully logged on with user
Attempting to retrieve all user attributes then process the results request...
User ID: x.xxxxxxxx
Full Name: xxxxxxx xxxxxxxx
Email: [email protected]
Group Mapping
Code: Select all
:: PHP LDAP Debug V1.06 Script Started ::
Attempting to bind to LDAP server using connect username and password...
LDAP bind successful.
Attempting to use search to find user...
Successfully found user
Attempting to logon with user CN=xxxxxx,OU=xxxxxx_Users,OU=xxxxxx Users,DC=xxxxxx,DC=gr ...
Successfully logged on with user
Attempting to retrieve all user attributes then process the results request...
User ID: x.xxxxxx
Forward Lookup
Attempting a forward lookup...
Found the forward lookup attribute and the following groups will be mapped:
CN=Access Global Users,OU=Group_Access,OU=xxxxxx Users,DC=xxxxxx,DC=gr
CN=Domain Users,CN=Users,DC=xxxxxx,DC=gr
CN=Remote Desktop Users,CN=Builtin,DC=xxxxxx,DC=gr
Reverse Lookup
Attempting a reverse lookup...
Searching LDAP for (member=CN=username,OU=xxxxxx_Users,OU=xxxxxx Users,DC=xxxxxx,DC=gr)
Found the reverse lookup attribute and the following groups will be mapped:
CN=Remote Desktop Users,CN=Builtin,DC=xxxxxx,DC=gr
CN=Domain Users,CN=Users,DC=xxxxxx,DC=gr
CN=Access Global Users,OU=Group_Access,OU=xxxxxx Users,DC=xxxxxx,DC=gr
:: PHP LDAP Debug V1.06 Script Finished ::
The AD credentials i use in the ldapdebug.php also use them in the 2 plugins 1)Authentication - JMapMyLDAP and the 2) User - JMapMyLDAP
When i try to login with [email protected] or with my username without @mydomain.gr (Windows 2003 Server AD credentials) i get the error i mention.
If you are able to help would be nice
And last i want to ask that.... in the joomla user manager i see only the default joomla admin..... there is no account from my AD. I thought after the correct configuration in both 2 LDAP plugins the user manager will be populated with my AD LDAP users?? is that correct or i have misunderstood
Also the default Joomla's "Authentication - LDAP" plugin is disabled
Best regards
John