Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-26-2015, 09:35 PM   #1
Registered: Sep 2006
Location: Sydney Australia
Distribution: fedora/Ubuntu
Posts: 156

Rep: Reputation: 18
LDAP server in python twisted

I want to receive LDAP requests obtain the request data and execute a process before returning the answer to the request.

There is LDAPtor which is bigger than Ben Hur. Way too complicated. Some documentation says "Set up an LDAP server in 5 seconds". Encouraging except the example is for a client not a server.

If there is an actual LDAP server example that would be great.

The is mockserver and fakeldap which don't allow capturing the request for "preprocessing".

Juggling the options I am thinking the product Twisted looks to be the best candidate appearing to be simpler than LDAPtor.

Does anyone have any twisted sample code that acts as an ldap server that I can use as a template? Either that or an ldaptor example. (Not a client)
Old 03-27-2015, 10:40 PM   #2
Senior Member
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
I want to receive LDAP...and execute a process before returning the answer to the request.
It queries the KDC for the decryption algorithm for your service request ticket, decrypts it, does an authorization query to the PAM stack and then it does a directory look-up before it answers your query.
I'm assuming you want it to do something more?

I'd probably start here. Google slapd, and then probably visit the openldap project before visiting this page.
You want to modify ldap, you want a graphical tool to do it and you want it quick.
I think you're being overly optimistic.

Last edited by dijetlo; 03-28-2015 at 03:25 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Darwin Calendar Server & Twisted Framework LinuxRulz Linux - Software 4 07-08-2014 03:57 PM
Python Twisted adbapi number of affected rows tadeas Programming 0 04-30-2012 05:41 AM
Python Twisted Warning kushalkoolwal Debian 1 07-10-2009 07:11 PM
problem in bittorrent and twisted.python slazer Linux - Software 0 08-14-2006 09:33 PM
LXer: Open source application server gets Twisted LXer Syndicated Linux News 0 01-11-2006 12:31 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration