> My first thought on how I could do this with proftpd, was to try using
> the mod_ldap module to connect to my ldap server (which already has
> entries based on UID-DNs and not non-permanent ones) (i.e
> CN=12345,OU=Users,DC=somedom,DC=com). However I am not able (or have not
> found how to) define a custom search query -- one that would allow a
> match based on the email and other attribute, then return a full DN that
> the module will try to bind to using the user's password.
>
> So, is there a way I can customize mod_ldap's LDAP search string?


mod_ldap's LDAPDoAuth directive provides a way to provide a search filter:

http://www.proftpd.org/docs/directiv...DAPDoAuth.html

Perhaps this can be used for your situation?

Cheers,
TJ

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Gather ye rosebuds while ye may,
Old Times is still a-flying;
And this same flower that smiles today,
Tomorrow will be dying.

-Robert Herrick

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html