[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Minimal OpenLDAP server source



Joe-

  Although OT for this list, I recently stumbled upon this Perl module
that implements an LDAP server:
http://search.cpan.org/~aar/Net-LDAP-Server-0.3/lib/Net/LDAP/Server.pm

Implementing your own "bind()" handler is very simple using this module.

HTH,
-Matt

On Thu, 2007-05-10 at 17:47 -0400, Joe Flowers wrote:
> Thanks Gavin.
> 
> One current/relevant/important example:
> The authentication from some of our important systems is moving toward 
> LDAP *only*.
> The problem is that in many cases, to replace existing systems, I need 
> to be able to intercept username and password credentials from an LDAP 
> client, create the local or network account dynamically, perhaps perform 
> some other setup functions, and then return a value LDAP return to the 
> LDAP client that the authentication was successful.
> 
> I need a good snippet of LDAP server code to get me started, preferably 
> in C.
> 
> Thanks,
> 
> Joe
> 
> Gavin Henry wrote:
> > <quote who="Joe Flowers">
> >> Sorry for the OpenLDAP noob question:
> >>
> >> Analogous to the OpenSSL "minimal ssleay server" (minimal SSL server) at
> >> /openssl-0.9.8e.tar/openssl-0.9.8e/demos/ssl/serv.cpp, is there a
> >> "minimal" OpenLDAP server source code snippet as well?
> >>
> >> Thank you!
> > 
> > What feature/s are you after?
> > 
> > 
-- 
Matthew J. Smith <matt.smith@uconn.edu>
University of Connecticut UITS

Attachment: signature.asc
Description: This is a digitally signed message part