Hello again,
On 4 Aug 2006 at 7:59, Peter Bowyer wrote:
> > login:
> > driver = plaintext
> > public_name = LOGIN
> > server_prompts = User Name : Password
> > server_condition = "${if and {{!eq{$1}{}}{!eq{$2}{}} \
> > {crypteq{$2}{${extract{1}{:} \
> > {${lookup{$1}lsearch{/etc/auth}{$value}{*:*}}}}}}}{1}{0}}"
> > server_set_id = $1
>
> How did you build the /etc/auth file? This authenticator expects a
> file in the format
>
> userid: cryptedpassword
>
> Does your file have crypted passwords? If they're plain text
> passwords, sustitute 'eq' for 'crypteq' in your server_condition.
Yes, I created the file in notepad out of sheer despair (it is a plain text file). I changed the
string to eq but again incorrect authentication data.
2006-08-04 09:12:31 login authenticator failed for ([192.168.11.26]) [192.168.11.1]: 535
Incorrect authentication data
But I have it in format of username:password. I tried to use /etc/passwd but it also did not
help.
Should it be user id? Anyway, I tried changing the auth file to say:
1003: PASSWORD
(I saw this id in /etc/passwd file).
2006-08-04 09:16:49 login authenticator failed for ([192.168.11.26]) [192.168.11.1]: 535 Incorrect authentication data (set_id=zbyszek)
2006-08-04 09:16:51 login authenticator failed for ([192.168.11.26]) [192.168.11.1]: 535 Incorrect authentication data
Any other idea what to try? Sorry to bother!
--
Zbigniew Szalbot
www.lc-words.com