LDAP authentication - blank screen
Moderator: ooffick
Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
-
- Joomla! Intern
- Posts: 68
- Joined: Tue Aug 14, 2007 9:51 pm
- Contact:
LDAP authentication - blank screen
Hi,
I've configured 1.6 for LDAP authentication using the same settings as I have on my current 1.5 site. When I attempt to login using LDAP authentication, I just receive a blank screen. 'View source' shows the code for the login screen again. Can someone tell me how to find out what is going wrong? There are no PHP errors. The logs/jcontroller.log.php file contains the following, but I'm not certain that this is related:
2010-11-29 21:45:01 - ::1 - Checking edit ID com_plugins.edit.plugin.402: 1 Array ( [0] => 402 )
2010-11-29 21:45:01 - ::1 - Releasing edit ID com_plugins.edit.plugin.402 Array ( )
Thanks,
Dan Scott
I've configured 1.6 for LDAP authentication using the same settings as I have on my current 1.5 site. When I attempt to login using LDAP authentication, I just receive a blank screen. 'View source' shows the code for the login screen again. Can someone tell me how to find out what is going wrong? There are no PHP errors. The logs/jcontroller.log.php file contains the following, but I'm not certain that this is related:
2010-11-29 21:45:01 - ::1 - Checking edit ID com_plugins.edit.plugin.402: 1 Array ( [0] => 402 )
2010-11-29 21:45:01 - ::1 - Releasing edit ID com_plugins.edit.plugin.402 Array ( )
Thanks,
Dan Scott
- rholzler
- Joomla! Apprentice
- Posts: 8
- Joined: Thu Feb 26, 2009 3:51 pm
- Location: Sarasota, FL
- Contact:
Re: LDAP authentication - blank screen
I am also getting a blank (white) page after setting up my LDAP plugin. I have another web based program that connects to the same Windows AD using the same LDAP settings, so I am fairly confident the settings are correct.
I have set the error reporting to Maximum.
I turned debug system on and off
There are no php errors logged by the server.
There are no errors logged by Joomla for this entire day.
I can login with a Joomla account that is already setup. The problem occurs when there is no account in the user manager. My understanding is that the account should be created automatically after a successful login. The account is not created, so the problem has to be before that point in the process.
In case it helps here are the config settings:
Host: [IP ADDRESS REMOVED]
Port: 636 [Windows AD Configured to accept connections on this port]
LDAP V3: No
TLS: No
Referrals: No
Method: Bind and Search
Base DN: DC=mfm,DC=pvt
Search: CN=[search]
User's DN: CN=[username],CN=Users,DC=mfm,DC=pvt
username: [REMOVED]
Password: [REMOVED]
Map Full Name: fullName
Map email: mail
Map UserID: CN
I have set the error reporting to Maximum.
I turned debug system on and off
There are no php errors logged by the server.
There are no errors logged by Joomla for this entire day.
I can login with a Joomla account that is already setup. The problem occurs when there is no account in the user manager. My understanding is that the account should be created automatically after a successful login. The account is not created, so the problem has to be before that point in the process.
In case it helps here are the config settings:
Host: [IP ADDRESS REMOVED]
Port: 636 [Windows AD Configured to accept connections on this port]
LDAP V3: No
TLS: No
Referrals: No
Method: Bind and Search
Base DN: DC=mfm,DC=pvt
Search: CN=[search]
User's DN: CN=[username],CN=Users,DC=mfm,DC=pvt
username: [REMOVED]
Password: [REMOVED]
Map Full Name: fullName
Map email: mail
Map UserID: CN
-
- Joomla! Fledgling
- Posts: 2
- Joined: Tue Jun 21, 2011 1:10 pm
Re: LDAP authentication - blank screen
I had the same problem using Joomla 1.6 with LDAP authentication and a complete new webserver install.
-> no errors, no hints and correct ldap configuration ...
after many google searches:
the only thing I had to make sure is enabling the php-ldap extension in php.ini file:
extension=php_ldap.dll
because of the fresh install it´s of course NOT loaded by default.
perhaps this helps s.o. setting it up....
-> no errors, no hints and correct ldap configuration ...
after many google searches:
the only thing I had to make sure is enabling the php-ldap extension in php.ini file:
extension=php_ldap.dll
because of the fresh install it´s of course NOT loaded by default.
perhaps this helps s.o. setting it up....
-
- Joomla! Fledgling
- Posts: 1
- Joined: Fri Jul 22, 2011 9:31 pm
Re: LDAP authentication - blank screen
I had the same problem but uncommenting the
extension=php_ldap.dll fixed the blank page issue. Now I'm getting
Username and password do not match or you do not have an account yet.
Any ideas on how to get it to give me additional error messages? or test the ldap set up?
Thanks
extension=php_ldap.dll fixed the blank page issue. Now I'm getting
Username and password do not match or you do not have an account yet.
Any ideas on how to get it to give me additional error messages? or test the ldap set up?
Thanks
-
- Joomla! Fledgling
- Posts: 2
- Joined: Tue Jun 21, 2011 1:10 pm
Re: LDAP authentication - blank screen
I think that setting up site debuging and display "maximum errors" isn't very helpful.scott1269nh wrote: Any ideas on how to get it to give me additional error messages? or test the ldap set up?
Because of a very deep LDAP structure (many subtrees) I was struggling with the settings, too.
You can test your settings with a LDAP explorer (LEX ldap explorer) to verify that all the settings are correct.
Make sure that (my settings):
- the BASIS DN is correct (OU=Users,DC=DOMAIN,DC=COM)
- search-string is the one you are using in the login form (sAMAccountName=[search])
I left the user dn blank (because of the deep ldap structure I can't point out one explicit folder), enabled ldap forwarding and get it to work with Connect&Search method.
attribut Full name = name
Map: email = mail
attribut user id = sAMAccountName
Perhaps this helps.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Sep 12, 2011 3:46 pm
Re: LDAP authentication - blank screen
Hi all, I'm a bit late here, but I still get the same error that says: "Username and password do not match or you do not have an account yet." I'm running Joomla! 1.7 and already enabled the ldap extension in the php.ini file. Any thoughts please?
- Exirtis
- Joomla! Apprentice
- Posts: 27
- Joined: Sat Oct 20, 2007 1:27 am
- Location: Salt Lake City, UT
Re: LDAP authentication - blank screen
For anyone still trying to get LDAP to work in Joomla! 1.6 or 1.7, or if you just want a more elegant solution, take a look at the JMapMyLDAP extensions.
In the Joomla extensions directory:
http://extensions.joomla.org/extensions ... ased/18108
Developer's website:
http://shmanic.com/tool/jmapmyldap/
Configuring LDAP with this plugin is much easier, especially when using a PHP debugger that the developer has also made available:
http://shmanic.com/tool/jmapmyldap/?id= ... bug-method
Last but not least is the fact that among the extensions are tools to map groups in LDAP to groups in Joomla and an SSO (single sign-on) tool.
Disclaimer: I haven't fully tested the group mapping or SSO plugins, but I have a fair amount of confidence based on how smoothly the LDAP authentication plugin worked. I'll update this thread one way or the other with my experiences.
In the Joomla extensions directory:
http://extensions.joomla.org/extensions ... ased/18108
Developer's website:
http://shmanic.com/tool/jmapmyldap/
Configuring LDAP with this plugin is much easier, especially when using a PHP debugger that the developer has also made available:
http://shmanic.com/tool/jmapmyldap/?id= ... bug-method
Last but not least is the fact that among the extensions are tools to map groups in LDAP to groups in Joomla and an SSO (single sign-on) tool.
Disclaimer: I haven't fully tested the group mapping or SSO plugins, but I have a fair amount of confidence based on how smoothly the LDAP authentication plugin worked. I'll update this thread one way or the other with my experiences.
-
- Joomla! Apprentice
- Posts: 29
- Joined: Mon Nov 21, 2011 5:04 am
Re: LDAP authentication - blank screen
hey, Greet!!ol3k wrote:I had the same problem using Joomla 1.6 with LDAP authentication and a complete new webserver install.
-> no errors, no hints and correct ldap configuration ...
after many google searches:
the only thing I had to make sure is enabling the php-ldap extension in php.ini file:
extension=php_ldap.dll
because of the fresh install it´s of course NOT loaded by default.
perhaps this helps s.o. setting it up....
i have same problem with my site, i am using community builder, ldap-authentication plugin, as soon as i try to login, i only see blank screen... as you told enabling the php-ldap extension in php.ini... i can't find that line (extension=php_ldap.dll) in my php.ini file....
Plz help me
Thanks
-
- Joomla! Fledgling
- Posts: 3
- Joined: Thu Feb 16, 2012 10:04 pm
Re: LDAP authentication - blank screen
Hi, I moved the joomla site to a linux box from a wondows server machine after upgrading it from 1.5.24 to 1.7.2.
The LDAP server is fine & configuration settings on LDAP Authentication plugin are the same & correct.
I get a blank screen, I suspect incorrect settings in php.ini with extension=php_ldap.dll
What should I update ? What else am I doing wrong ? Plz help.
uxg
The LDAP server is fine & configuration settings on LDAP Authentication plugin are the same & correct.
I get a blank screen, I suspect incorrect settings in php.ini with extension=php_ldap.dll
What should I update ? What else am I doing wrong ? Plz help.
uxg