#1  
Old 28th August 2012, 18:57
kinai kinai is offline
Member
 
Join Date: Aug 2008
Location: Troyes, France
Posts: 36
Thanks: 1
Thanked 5 Times in 3 Posts
Default ISPConfig and LDAP

Hi all,

I know that LDAP is not supported in ISPConfig.
The ISPConfig core is it devellop to allow adding a plugin to store users informations and password in another backend that mysql ? ldap for example.

Thanks,
Kinai
Reply With Quote
Sponsored Links
  #2  
Old 29th August 2012, 10:03
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,482
Thanks: 835
Thanked 5,524 Times in 4,345 Posts
Default

The ispconfig interface requires a relational sql database, currently supported is mysql only. So you cant run the ispconfig interface on a ldap store. It might be possible to write a server plugin that stores duplicates of the authentication information that is found in mysql in a ldap directory, but ldap will be a ready only storage in this scenario and not a replacement for the sql storage that ispconfig uses.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 29th August 2012, 10:45
kinai kinai is offline
Member
 
Join Date: Aug 2008
Location: Troyes, France
Posts: 36
Thanks: 1
Thanked 5 Times in 3 Posts
Default

Hi Till,

Thanks for your answer.

I understand that ISPConfig requires a SQL Database to store information like service configuration (Apache, Mysql, Postfix). I think LDAP could became only a "account backend".

Do you think that is possible to "modify" ISPConfig with a core plugin to store users, clients and ressellers informations in LDAP. For me, this information must be linked with database information like apache sites affect to this client. Primary Key used for identify user in sql database could be store in a field in LDAP object.

It could be possible to "choice", during ISPConfig install, the "account backend" : LDAP ou MySQL.

Possibility to duplicate users informations store in mysql to ldap could be a first step.

Number of services, like postfix and dovecot, could be configure to use LDAP as authentification backend. Using LDAP could be usefull to retrieve user informations to authenticate third party application like CMS (Joomla), ERP (OpenERP) , and other... For me, ISPConfig could became more expandable with an LDAP "accout backend".

With a replicate solution, if user update his data from third party application, ISPConfig override it after an update and data store by user will be lost.

In case of it will be possible to create a core plugin for that, could you give me documentation to devellop core plugin (I've just found interface plugin documentation).

Thanks,
Kinai
Reply With Quote
  #4  
Old 29th August 2012, 11:35
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

This is possible, but it's not a simple task.
I'd start with writing new scheme's for the ISPConfig data to save the same data in LDAP as you would in MySQL and create some "replication" function so the LDAP data is always in sync with the data in MySQL.

From that point on you can start having services use LDAP Authentication and possibly start making MySQL data "slave" ..

I like ldap, but i fail to see the big advantage over the already existing system. I think it's too much work for what you'll eventually be able to do with it.

anyway, good luck!
__________________
Real men don't backup... Real men cry!

http://www.e-rave.nl/
Reply With Quote
  #5  
Old 29th August 2012, 11:35
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,482
Thanks: 835
Thanked 5,524 Times in 4,345 Posts
Default

You would have to rewrite a lot of code in ispconfig (maybe about 50% of the code) if you want to do a full ldap backend for authentication details as ldap works very differntly then a mysql database and the user data is required by almost all plugins, so you would have to change them all.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 7th November 2013, 18:56
valerios valerios is offline
Junior Member
 
Join Date: Oct 2013
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Ispconfig3 & LDAP

Quote:
Originally Posted by till View Post
You would have to rewrite a lot of code in ispconfig (maybe about 50% of the code) if you want to do a full ldap backend for authentication details as ldap works very differntly then a mysql database and the user data is required by almost all plugins, so you would have to change them all.
Hi Till,
is possible using LDAP backend only for mail user authentication?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error upgrading ispconfig to 2.2.33 version adrenalinic Installation/Configuration 20 1st October 2009 17:24
LDAP and ISPConfig yurtboy1 General 8 27th December 2007 13:51
ISPConfig stop working after i add a new site xTiNcTion Installation/Configuration 4 6th January 2007 00:55
ispconfig + ldap blackflag General 1 12th June 2006 10:11
ispconfig + LDAP + egroupware blackflag Installation/Configuration 3 23rd March 2006 18:05


All times are GMT +2. The time now is 14:17.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.