[Moin-user] LDAP auth, build email address, email_callback?

Cristian Rigamonti cri at linux.it
Sat Sep 24 14:19:58 EDT 2011


Hi, can anyone provide an example of using the email_callback configuration
option (LDAP authentication section)?

Problem: I don't want to get the mail address straight from LDAP, it should be
made up of wiki-username at mydomain.org (the "mydomain.org" part is fixed for all
users).

I suspect that email_callback could be used to implement this (other ideas are
welcome), but I couldn't find documentation about its usage, and reading
auth/ldap_login.py didn't help that much.

Thanks!

Cri

-- 
GPG/PGP Key-Id 0x943A5F0E      -    http://www.linux.it/~cri/cri.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/moin-user/attachments/20110924/7d0c9bab/attachment.sig>


More information about the Moin-user mailing list