Page 2 of 2

Re: LDAP

Posted: Tue Jun 26, 2007 2:25 am
by teesnna
Hi ViperFish,

Great!..
What mambots are you using ?

I am still in the midst of getting the mambots to work..

Thanks,
Teesnna

Re: LDAP

Posted: Tue Jun 26, 2007 2:58 am
by ViperFish
I used the "Joomla LDAP" bot and "SSI" bot. Not sure what LDAP server you are useing, we are using OpenLDAP. The mambot configuration examples posted above didn't work for us. We used the config example from Sam Moffat's site...

useglobal=0
host=yourdomain
port=389
use_ldapV3=1
negotiate_tls=0
no_referrals=1
autocreate=1
autocreateregistered=1
defaultgroup=registered
forceldap=0
base_dn=DC=yourdomain,DC=net
search_dn=DC=yourdomain,DC=net
search_string=
auth_method=bind
username=
password=
users_dn=uid=[username],ou=users,dc=yourdomain,dc=net
ldap_fullname=name
ldap_email=mail
ldap_uid=cn
ldap_password=userPassword
ldap_blocked=loginDisabled
ldap_groupname=JoomlaGroup
cbconfirm=0
groupMap=

The biggest issue was not with the bots but with the set up of OpenLDAP on the server. Ensure that it is installed correctly. Install phpLDAPadmin. Install the Joomla Schema. Then create some users. Follow the guide here http://sammoffatt.com.au/jauthtools/ind ... LDAP_HowTo

Re: LDAP

Posted: Wed Jul 04, 2007 6:49 am
by teesnna
Hi,


Did anyone tried the GROUP MAP ?

I would like to have the security group of my AD to be mapped to Joomla! group.
Anyone knows how to do this mapping ??


Thanks,
Teesnna

Re: LDAP

Posted: Tue Jul 17, 2007 7:20 am
by venom14
teesnna wrote: Hi,


Did anyone tried the GROUP MAP ?

I would like to have the security group of my AD to be mapped to Joomla! group.
Anyone knows how to do this mapping ??


Thanks,
Teesnna

I have used it. Try http://joomlacode.org/gf/project/jautht ... em_id=4819

But...! Does anyone know how to use more than 1 strings? ???

Re: LDAP

Posted: Tue Feb 19, 2008 4:29 pm
by alibongo
Hi guys,

I am currently trying to implement the Jauth LDAP tools with SSO on our intranet which is on Joomla ver 1.0.12.

I can get LDAP working on the server and perform queries on AD using standard PHP scripts but can't seem to get the Joomla side working. I am using the same settings and followed on this thread to a T and am using the JAuth files which were updated 15/2/08.

The problem I have is that my login module (community builder) is still using the Joomla user crednetials and not the AD credentials. Also SSO doesn't appear to be working either.

I have read in some other forums that Joomla Authtication needs to be switched off in order to use LDAP. Is this true? and if so how do you turn this off?

Sorry for the ramblings but any help would be much appreciated.

Cheers,
Alex

Re: LDAP

Posted: Sun Feb 24, 2008 7:29 pm
by megaburn
Note the time stamps...

CB doesn't support LDAP, disable the login module and use the Joomla standard login module. CB should accept the users as logged in when they access their profiles but they might not show up in the who's online block and some of the CB add-ons might have problems. Theres a hack available somewhere which causes CB to resync its users tables every time a page is access, this seriously degrade performance but seems to solve most of the problems (sorry, I can't find a look to it or remember the exact name off hand, search for LDAP on CB's site).

Hope that helps.


I was really hoping VisiGod or someone else would release a new LDAP user registration, password change, etc component or even standalone page. My community site is in limbo until I find a solution.


-Chris

Re: LDAP

Posted: Thu Nov 20, 2008 9:05 am
by rajen_kk
Can some 1 help me on this...:(
i am new to joomla and i am trying to implement LDAP authentication in my joomla website but i getting the error...

1) when i try to use Plugin Manager --> Authentication-LDAP with all the necessary details like Host,Base Dn ect... i getting a blank page after i login

2) if i user joomla.ldap.bot.Zip, after installation once i trying to enable it i getting the following error "LDAP Not Enabled - Please install LDAP in your PHP instance to continue."

i have already uncommon my extension=php_ldap.dll from xampp\php\php.ini

Anyone have any idea about this????

Re: LDAP

Posted: Thu Nov 20, 2008 10:57 am
by VisiGod
megaburn: Are you still using J 1.0.x series? I've dropped the LDAP authentication because the project i was working on has stopped. I will try to see if i can revive it.

rajen_kk: You're using 1.0.x series or the new 1.5.x series? Have you checked your phpinfo and looked if the ldap extension was loaded?

Re: LDAP

Posted: Fri Nov 21, 2008 5:54 am
by rajen_kk
Hey VisiGod thanks for the reply.

I am using Joomla 1.5 and I am not really sure where to find for the phpinfo.
Do you have any documentation/steps to check how to troubleshoot when we face this type of error?
This will useful for other too

Thanks in Advance
Rajen

Re: LDAP

Posted: Sun Nov 23, 2008 3:02 pm
by megaburn
VisiGod,
Thanks for the reply. Yeah, I switched to Joomla 1.5, LDAP auth works fine but its read only - can't register or update LDAP accounts directly. Instead I ended up creating an LDAP portal with Drupal 5.7 and the ldap_integration and ldap_provisioning modules (full LDAP account creation and syncing). I'm hoping CB1.2 or J1.6 has full (write) LDAP support, I'd like to drop Drupal. Ideally, I'd like to sync everything via CB so it can serve as a global user profile manager.


rajen_kk,
Easiest way to dump and share your server's phpinfo is create a new file in somewhere under your web-root:

phpinfo.php

Code: Select all

<?php
phpinfo();
?>
Then open phpinfo.php in a browser and look for the LDAP section, if its missing then its not installed (properly). If it says its enabled then you can try some troubleshooting, check the LDAP reference on php.net for connection, bind, and search function syntax - should be very simple scripts or maybe just copy & paste examples with edits for your LDAP config. You can also try phpLDAPadmin but its not great for troubleshooting basic LDAP support.

Hope that helps...


Thanks,
-Chris

Re: LDAP

Posted: Tue Nov 25, 2008 9:59 am
by rajen_kk
My Phpinfo.php file
Location : xampp\phpMyAdmin
Code:

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
* @version $Id: phpinfo.php 10240 2007-04-01 11:02:46Z cybot_tm $
*/

/**
* Gets core libraries and defines some variables
*/
define('PMA_MINIMUM_COMMON', true);
require_once './libraries/common.inc.php';


/**
* Displays PHP information
*/
if ($GLOBALS['cfg']['ShowPhpInfo']) {
phpinfo();
}
?>
Anything wrong with this file?
Can you please tell me how you manage to make LDAP work with J1.5 as read only?
I have to make this work ASAP
Please share your code and setting with us.
Thanks in Advance

Re: LDAP

Posted: Tue Nov 25, 2008 10:08 am
by VisiGod
rajen_kk wrote:My Phpinfo.php file
Location : xampp\phpMyAdmin
Code:

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
*
* @version $Id: phpinfo.php 10240 2007-04-01 11:02:46Z cybot_tm $
*/

/**
* Gets core libraries and defines some variables
*/
define('PMA_MINIMUM_COMMON', true);
require_once './libraries/common.inc.php';


/**
* Displays PHP information
*/
if ($GLOBALS['cfg']['ShowPhpInfo']) {
phpinfo();
}
?>
Anything wrong with this file?
Can you please tell me how you manage to make LDAP work with J1.5 as read only?
I have to make this work ASAP
Please share your code and setting with us.
Thanks in Advance

I need you to open your file in your browser. It will show some info about PHP. I've installed a test server with openldap and J1.5 series and I'm testing the connection.

Re: LDAP

Posted: Wed Dec 10, 2008 9:55 pm
by VisiGod
I've tried and successfully configured Joomla 1.5.x with openldap.

Here's the configuration I've used in Joomla:

Image

And my openLDAP configuration tree is this one:

Image

PS: I didn't use the Joomla ldap schema. I've made a schema from scratch.

Don't forget to publish the plugin and move it above the "Authentication - Joomla".

Any other help you need just reply back

Re: LDAP

Posted: Thu Dec 11, 2008 5:57 am
by rajen_kk
hey VisiGod,
Thanks a lot for your reply,
i have manage to slove the problem now
and my LDAP is working
Thanks for all your help

Re: LDAP

Posted: Mon Feb 09, 2009 10:32 pm
by Zuke
I don't have openLDAP, and I can't seem to get this to work. I know which Security Group I want to access the site, but am unsure which OU they are a part of (or if one was even set up). I'm coming into this project sort of blindly, and am looking at the AD tree with no idea how it was set up. Any help please?

Is this not going to work if I use AD only?

Re: LDAP

Posted: Mon Feb 09, 2009 11:13 pm
by Zuke
Nix that. I found Jdiagnostics and it worked like a charm!
http://joomlacode.org/gf/project/pasamioprojects/frs

Re: LDAP

Posted: Thu Mar 18, 2010 10:55 am
by playj
Hi Everybody,

I've got Joomla 1.5.15 and I'm trying to configure an identification access with Active Directory.

I've installed "Joomla LDAP" 1.0.9 and "LDAP SSI" 1.0.9 with these config :

cf. Attached picture

But, i've got problems. When i agreed the LDAP SSI installation, i said goodbye to my website. Now, I can see a beautiful white page and this message "Restricted access"

Is it possible to configure my Active Directory access with "JDiagnostic" ?
I've tried but anytime i've got the message "Failed to bind a LDAP server" which appeared.

Thanks a lot,
Julien.

Re: LDAP

Posted: Wed Dec 07, 2011 10:46 am
by sakarora1
rajen_kk wrote:Can some 1 help me on this...:(
i am new to joomla and i am trying to implement LDAP authentication in my joomla website but i getting the error...

1) when i try to use Plugin Manager --> Authentication-LDAP with all the necessary details like Host,Base Dn ect... i getting a blank page after i login

2) if i user joomla.ldap.bot.Zip, after installation once i trying to enable it i getting the following error "LDAP Not Enabled - Please install LDAP in your PHP instance to continue."

i have already uncommon my extension=php_ldap.dll from xampp\php\php.ini

Anyone have any idea about this????
hey, i am not using xamp but apache + php5 + mysql separately... i don't have extension=php_ldap.dll line in my etc/php5/apache2/php.ini file
please help what to do?

Re: LDAP

Posted: Wed Dec 07, 2011 12:14 pm
by VisiGod
This is a very old thread regarding Joomla 1.0.x series and the ldap module. You're asking a different question. Please open a new thread in the correct Joomla version forum :)