[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

pam_ldap - trouble understanding the do_authentication function




Hi,

I have been reading the source of pam_ldap(pam_ldap-180)

From what i understand of the authentication logic,

1. The username being authenticated is searched in the ldap directory to get the userdn (_get_user_info  ()), following which
2. a simple bind is attempted. (_connect_as_user)

What escapes me is this, why a _connect_anonymously() call follwing step 2

Any pointer will be much appreciated.

Thanks
Vidya





Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping
_______________________________________________

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

[Home]     [Kernel List]     [Red Hat Install]     [Linux for the blind]     [Red Hat Watch List]     [Gimp]     [Kerberos: The Definitive Guide]

&nsp; Powered by Linux