Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th August 2013, 17:47
dron dron is offline
Junior Member
 
Join Date: Feb 2008
Location: Opava, Czech republic
Posts: 10
Thanks: 6
Thanked 1 Time in 1 Post
Post Basic ldap support for ISPConfig3

Hello all,

I am working on possibility to authenticate to ispconfig's frontend with ldap credentials (as a client). I did first (really simple) working version where you have to create user in ispconfig first (for example with empty password) and then if ldap account exists, you can authenticate with ldap password. If user can not authenticate via ldap, mysql authentication is used.

Looks this like useful feature?

I found partly similar feature request - http://bugtracker.ispconfig.org/inde...s&task_id=2113

My modifications are simple, I just changed interface/web/login/index.php. Now I would like to take parameters from global config.inc.php (can I use prefix ldap_?).

In the future I would like to allow ldap users to log in without user created in ispconfig and let the ispconfig create client for them automagically ;-). But here I will need some help...

My use case is to allow our university's users log in into frontend and let them manage their own web pages/db/ftp/ssh accounts.

How about that? Any suggestions?

Best regards,

Dron
Reply With Quote
The Following User Says Thank You to dron For This Useful Post:
till (3rd September 2013)
Sponsored Links
  #2  
Old 3rd September 2013, 18:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,594
Thanks: 792
Thanked 4,984 Times in 3,904 Posts
 
Default

Quote:
My modifications are simple, I just changed interface/web/login/index.php.
Maybe it would be a god idea to implement a login handler as ispconfig plugin. I guess we will have to create a new event for that as there is currently only a event that fires after login. So we would be able to implement additional authentification methods in future and the ldap implementation can be done as plugin.

Quote:
Now I would like to take parameters from global config.inc.php (can I use prefix ldap_?).
That prefix is fine.

Quote:
In the future I would like to allow ldap users to log in without user created in ispconfig and let the ispconfig create client for them automagically ;-). But here I will need some help...
That should be possible as long as you create the client, sys_user and sys_group records in the ispconfig mysql database before you start the user session.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Tags
ispconfig3 ldap

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
Php include files dme1409 General 2 16th January 2012 09:55
server Installation Configuration deco5003 Installation/Configuration 12 5th August 2009 12:00
Installation -- pcre_exec.c:403: internal compiler error: Segmentation fault zerman Installation/Configuration 2 23rd September 2008 23:58
Update php shajazzi Server Operation 6 6th April 2008 18:20
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! micko_escalade Installation/Configuration 35 30th March 2007 11:31


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


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