Re: disable multiple login

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

 



Jay Daniels wrote:

I thought the ldapd server served up addresses and names, how or why
does one authenticate users based on this info? Isn't this info
usually public as far as the organization is concerned?


One doesn't. Authentication using LDAP is done with an authenticated bind. Roughly speaking the pam_ldap module does something like this:

ldapsearch -h <host> -b ou=people,dc=example,dc=com uid=you

This gives a DN (Distinguished Name) that we can then use for an authenticated bind. Again, something like

ldapsearch -h <host> -D <DN> -w <password>

except that you don't bother with the actual searching. The pam_ldap module includes an option for running the LDAP connection over TLS so that all traffic is encrypted. Actually, with OpenLDAP this is necessary if you're going to want to change your password since it refuses to change passwords if the connection is sufficiently private.

People do this kind of thing so that they can have a central authentication database that can be used by a variety of different applications.

jch


-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux