Datamation Logo

LDAP and Kerberos, So Happy Together

January 14, 2009
Datamation content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

LDAP (Lightweight Directory Access Protocol) is basically a way of
organizing information and providing access to it. It’s commonly used
for user, service and machine information, and it’s incredibly useful. The Linux version is OpenLDAP. It will
handle authentication as well as information (so the password aspect of login
as well as looking up who the user is, where his home directory is, and so
on). However, it’s not as secure as it could be — by default connections are
unencrypted, so your password is being sent out in the open.

Previously, you could deal with this using SSL tunneling, but that has
been deprecated since the retirement of LDAPv2 (in 2003). TLS is another
option, but even using that, LDAP still has security problems.

For security, your best option is Kerberos. Kerberos is specifically designed to handle authentication. It will not do the information lookup that LDAP does. It avoids
password security problems and enables single-sign-on (a very useful feature!).

So the ideal situation is to use both Kerberos and LDAP: one for
authentication and one for information organization and access. In fact, they
do play quite nicely together, but information about on how to achieve this is limited. If you do want to set them up, check out this two-part article I wrote
(requires
registration but is free) a while back which is still relevant. You can
also get more information from the LDAP and Kerberos web pages.

This article was first published on ServerWatch.com.

  SEE ALL
ARTICLES
 

Subscribe to Data Insider

Learn the latest news and best practices about data science, big data analytics, artificial intelligence, data security, and more.

Datamation Logo

Datamation is the leading industry resource for B2B data professionals and technology buyers. Datamation's focus is on providing insight into the latest trends and innovation in AI, data security, big data, and more, along with in-depth product recommendations and comparisons. More than 1.7M users gain insight and guidance from Datamation every year.

Advertisers

Advertise with TechnologyAdvice on Datamation and our other data and technology-focused platforms.

Advertise with Us

Our Brands


Privacy Policy Terms & Conditions About Contact Advertise California - Do Not Sell My Information

Property of TechnologyAdvice.
© 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.