[Dovecot] Different PROXY for IMAP and POP3 using LDAP-auth

Ralf Becker beckerr at fh-trier.de
Fri Jul 4 12:12:47 EEST 2008


Hi Timo,

Timo Sirainen schrieb am 04.07.2008 11:08:
>> 2) 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=port
>>
>>   With 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 at 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6074 bytes
Desc: S/MIME Cryptographic Signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20080704/0dc6246d/attachment.bin 


More information about the dovecot mailing list