problem with crypt function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
I have downloaded  Linux-PAM-0.78 and cross-compiled pam_unix module
to be used on ppc machine. My application authentication fails and
logging show the comparision between encrypted hash and hash stored in
passwd doesnt match.

 [support.c:_unix_verify_password(743)] comparing state of
pp[UH6ewlvf/hvbg] and salt[UHN51fNs.aiae]

I wrote a small program which uses pam_unix and found the program was
able to authenticate properly with the same user and passwd. Basically
the crypt function taking the same password and salt is generating
different hashes in both the cases(for my Application and small
program).

Can anyone please let me know why this could be happening.

I searched through man page of crypt and found nothing relveant to this.

Please let me know if i missed something


Thanks and Best Regards,
Pavan

_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux