Experimental LDAP ptloader support

Rob Siemborski rjs3 at andrew.cmu.edu
Fri Jan 3 17:08:58 EST 2003


I've just committed the initial version of the LDAP ptloader code to the
2.2 CVS branch.

Many caveats:

a) no documentation yet (other than the imapd.conf options, which should
be most of what you need).
b) I'm not quite sure what to do with realms.
c) I want some of the people more experienced with writing LDAP
applications to take a look at what I've done here, and give their
opinions on how to fix it (especially with patches).

I've noted particularly questionable sections of ptclient/ldap.c with
"xxx" if you're feeling adventurous.

Quick summary:

give --with-auth=pts and --with-pts=ldap to configure

Then, fill in the appropriate imapd.conf options, and away you go
(hopefully).  Note that if you don't use ptloader now, you will
need to create the ptclient directory in the imap configdirectory.

ptloader should be configured (in cyrus.conf) to listen on
<configdirectory>/ptloader/ptsock

On the LDAP server side, we want to be able to fetch a multivalued
attribute that contains all the groups that a dn is a member of.

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski | Andrew Systems Group * Research Systems Programmer
PGP:0x5CE32FCC | Cyert Hall 207 * rjs3 at andrew.cmu.edu * 412.268.7456
-----BEGIN GEEK CODE BLOCK----
Version: 3.12
GCS/IT/CM/PA d- s+: a-- C++++$ ULS++++$ P+++$ L+++(++++) E W+ N o? K-
w O- M-- V-- PS+ PE++ Y+ PGP+ t+@ 5+++ R@ tv-@ b+ DI+++ G e h r- y?
------END GEEK CODE BLOCK-----





More information about the Info-cyrus mailing list