Re: [exim] Unable to authenticate at present (set_id=usernam…

Pàgina inicial
Delete this message
Reply to this message
Autor: Victor Ustugov
Data:  
A: Thomas Stein
Assumpte: Re: [exim] Unable to authenticate at present (set_id=username): missing or misplaced { or }
Thomas Stein wrote:

>> workaround:
>>
>> exim -be '${if
>> exists{/etc/exim/passwd}{${lookup{eitadmin}lsearch{/etc/exim/passwd}{${if
>> crypteq{test}{${sg{$value}{\N:.*\N}{}}}{true}{false}}}{${if
>
> Now the "md5" part is missing. Decoding the password cannot work anymore
> right?


i have tested MD5 encrypted passwords with salt
($1$dk$HraXz0BPruPQiInDQ.Cvj0 for "test").

feel free to use

${sg{$value}{\N^(\S+?):.*\N}{\{md5\}\$1}}

instead of

${sg{$value}{\N:.*\N}{}}

but in this case you must use one password scheme for all passwords.

> thanks again and best regards
> t.
>
>> pam{eitadmin:${sg{test}{:}{::}}}{true}{false}}}}}{${if
>> pam{eitadmin:${sg{test}{:}{::}}}{true}{false}}}}'



-- 
Best wishes Victor Ustugov  mailto:victor@corvax.kiev.ua
public GnuPG/PGP key:       http://victor.corvax.kiev.ua/corvax.asc
ICQ UIN: 371808614          JID: corvax_at_nb@???
nic-handle: CRV-UANIC