[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Joomla 2.5 ! Administration Login issue: Unable to connect to LDAP server

Posted on 2012-09-20
14
Medium Priority
?
5,664 Views
Last Modified: 2012-09-21
Say,
The issue just occurred with no apparent reason.

This is the site.
http://www.a1telecoms.co.za/administrator/index.php

I have the correct user and pwd
Help pls....
0
Comment
Question by:shaunwingin
  • 7
  • 7
14 Comments
 
LVL 13

Expert Comment

by:Abhijeet Rananaware
ID: 38419386
Have you enabled ldap plugin for authenticaition ?
0
 

Author Comment

by:shaunwingin
ID: 38419428
How do I check this?
0
 
LVL 13

Expert Comment

by:Abhijeet Rananaware
ID: 38419505
just go to database using server control panel

Go to table xxxx_extensions  find plg_authentication_joomla and put 0 in enabled column.


xxxx  is random prefix.So just try to find _extensions with your prefix.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:shaunwingin
ID: 38419633
jos_extensions
has 3 queries with plg_authentication:

I've tried enabled = 0 in joomla and ldap but same error!

These are values shown using insert query:

INSERT INTO  `a1t01_a1jooml`.`jos_extensions` (
`extension_id` ,
`name` ,
`type` ,
`element` ,
`folder` ,
`client_id` ,
`enabled` ,
`access` ,
`protected` ,
`manifest_cache` ,
`params` ,
`custom_data` ,
`system_data` ,
`checked_out` ,
`checked_out_time` ,
`ordering` ,
`state`
)
VALUES (
'401',  'plg_authentication_joomla',  'plugin',  'joomla',  'authentication',  '0',  '0',  '1',  '1', '{"legacy":false,"name":"plg_authentication_joomla","type":"plugin","creationDate":"November 2005","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"2.5.0","description":"PLG_AUTH_JOOMLA_XML_DESCRIPTION","group":""}', '{}',  '',  '',  '0',  '0000-00-00 00:00:00',  '0',  '0'
);

_______
INSERT INTO  `a1t01_a1jooml`.`jos_extensions` (
`extension_id` ,
`name` ,
`type` ,
`element` ,
`folder` ,
`client_id` ,
`enabled` ,
`access` ,
`protected` ,
`manifest_cache` ,
`params` ,
`custom_data` ,
`system_data` ,
`checked_out` ,
`checked_out_time` ,
`ordering` ,
`state`
)
VALUES (
'402',  'plg_authentication_ldap',  'plugin',  'ldap',  'authentication',  '0',  '1',  '1',  '0', '{"legacy":false,"name":"plg_authentication_ldap","type":"plugin","creationDate":"November 2005","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"2.5.0","description":"PLG_LDAP_XML_DESCRIPTION","group":""}', '{"host":"","port":"389","use_ldapV3":"0","negotiate_tls":"0","no_referrals":"0","auth_method":"bind","base_dn":"","search_string":"","users_dn":"","username":"admin","password":"bobby7","ldap_fullname":"fullName","ldap_email":"mail","ldap_uid":"uid"}', '',  '',  '0',  '0000-00-00 00:00:00',  '3',  '0'
);

______



INSERT INTO  `a1t01_a1jooml`.`jos_extensions` (
`extension_id` ,
`name` ,
`type` ,
`element` ,
`folder` ,
`client_id` ,
`enabled` ,
`access` ,
`protected` ,
`manifest_cache` ,
`params` ,
`custom_data` ,
`system_data` ,
`checked_out` ,
`checked_out_time` ,
`ordering` ,
`state`
)
VALUES (
NULL ,  'plg_authentication_gmail',  'plugin',  'gmail',  'authentication',  '0',  '0',  '1',  '0', '{"legacy":false,"name":"plg_authentication_gmail","type":"plugin","creationDate":"February 2006","author":"Joomla! Project","copyright":"Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.","authorEmail":"admin@joomla.org","authorUrl":"www.joomla.org","version":"2.5.0","description":"PLG_GMAIL_XML_DESCRIPTION","group":""}', '{"applysuffix":"0","suffix":"","verifypeer":"1","user_blacklist":""}',  '',  '',  '0',  '0000-00-00 00:00:00',  '1',  '0'
);
0
 
LVL 13

Expert Comment

by:Abhijeet Rananaware
ID: 38419670
NO way... Why are you inserting ??? you need to update . you don't have PhpMyAdmin or some thing like that to edit database. Don't mess tables with query if you don't know or you will take whole site down. Do you have backup of database

Don't play with plugins if you don't know.

you need to enable plg_authentication_joomla and disable plg_authentication_ldap'

Please don't insert .Now you must have duplicated rows under Joomla .
0
 

Author Comment

by:shaunwingin
ID: 38419805
Tx for the caution. I didn't insert - simply displayed what would be an insert.
is 0 enable or 1?
0
 

Author Comment

by:shaunwingin
ID: 38419821
I've tried all combinations  0 and 1 in enabled for plg_authentication_  joomla and ldap table
and same error
0
 
LVL 13

Expert Comment

by:Abhijeet Rananaware
ID: 38420125
Is their any other user present in Joomla ? DO you know password of that user?

if so try following things

put following line in configuration.php of joomla(newusername is other user you know)

public $root_user='newusername';

Login to admin section and unpublish plg_authentication_ldap' and publish plg_authenticaiton_joomla.Also reset password for super user if required
0
 

Author Comment

by:shaunwingin
ID: 38420960
Don't have another user.
It seems clear to me that Joomla not reading the tables above.
Is there a debugger I can run to see what happens when try login?
0
 
LVL 13

Expert Comment

by:Abhijeet Rananaware
ID: 38421257
if joomla was not reading table.Site would have crashed in Frontend also.Its issue of the authentication plugin.if you can email me your cpanel login/password.I will look into your issue.my email address is webmatrix.pune@gmail.com
0
 
LVL 13

Expert Comment

by:Abhijeet Rananaware
ID: 38421347
enabled plg_authentication_joomla and disabled plg_authentication_ldap' via PhpMYadmin
resolved the issue
0
 

Author Comment

by:shaunwingin
ID: 38421597
Tx. Now getting error
Username and password do not match or you do not have an account yet.
0
 
LVL 13

Accepted Solution

by:
Abhijeet Rananaware earned 2000 total points
ID: 38421643
Use admin password reset method via database


http://docs.joomla.org/How_you_reset_an_administrator_password%3F
0
 

Author Closing Comment

by:shaunwingin
ID: 38421699
tx
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses
Course of the Month18 days, 5 hours left to enroll

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question