Hi Timo,
Timo Sirainen schrieb am 04.07.2008 11:08:
- Variable in pass_attrs
[dovecot-ldap.conf]
pass_attrs =
uid=user,userPassword=password,homeDirectory=userdb_home,
uidNumber=userdb_uid,gidNumber=userdb_gid,
dovecotProxy%Ls=proxy,dovecotHost%Ls=host,dovecotPort%Ls=portWith results in this LDAP server log entries: SRCH attr=uid userPassword homeDirectory uidNumber gidNumber dovecotProxy%Ls dovecotHost%Ls dovecotPort%Ls
So %Ls was not replaced also.
This probably wouldn't be difficult to implement, but I'm not sure when I have time for it. If you want to try yourself, src/auth/passdb-ldap.c and/or db-ldap.c see the existing var_expand() calls.
Thanks for the hint. I'll have a look to the source.
--
Dipl.-Inform. (FH) Ralf Becker Rechenzentrum (r/ft) der FH Trier (Network|Mail|Web|Firewall) University of applied sciences Administrator Schneidershof, D-54293 Trier
Mail: beckerr@fh-trier.de Fon: +49 651 8103 499
Web: http://www.fh-trier.de/~beckerr Fax: +49 651 8103 214
PubKey: http://www.fh-trier.de/~beckerr Crypto: GnuPG, S/MIME
Wenn Gott gewollt haette, dass E-Mail in HTML geschrieben wuerden, endeten Gebete traditionell mit </amen>. (Tom Listen)