On Wed, 28 Nov 2001, Philip Hazel wrote:
> On Wed, 28 Nov 2001, SWS wrote:
>
> > lookup yielded: TRBwLA8WWjWUo:11654:::::: # ???
>
> Note this data from /etc/shadow.
>
> > > plain:
> > > driver = plaintext
> > > public_name = PLAIN
> > > server_condition = "${if and {{!eq{$2}{}}{!eq{$3}{}}{crypteq{$3}\
> > > {${extract{2}{:}{${lookup{$2}lsearch{/etc/shadow}\
> ^
> ^
> That should be 1, not 2. It's the second field in /etc/shadow, but it's
> the first field of the data returned by an lsearch lookup.
Very thank you. Now this works ok. :)))
Slawek