4 Apr
2012
4 Apr
'12
1:10 p.m.
I need to authenticate users via LDAP either by mailaddress or login name. In both cases the mailbox location is /src/mail/%d/%n. I can easily deduct that path from the mailaddress, but not so from the login name.
Can I get the mail address as part of fetching user_attrs and modify it on the fly? Something along the lines of this:
user_attrs = mail:/srv/mail/%d/%n=home,uidNumber=uid,gidNumber=gid
Or would I be able to modify this with a post-login script?
p@rick
-- state of mind () Digitale Kommunikation
Franziskanerstraße 15 Telefon +49 89 3090 4664 81669 München Telefax +49 89 3090 4666
Amtsgericht München Partnerschaftsregister PR 563