OpenBSD Journal

Learning LDAP

Contributed by jose on from the available-tutorials dept.

Back in 2001, OnLamp ran a pair of articles about LDAP basics which are still useful for people who want to learn LDAP. LDAP makes a great storage place for key personelle information, and you can adjust the information exposed based on the client's location (ie internal or external). The first article appeared in 2001 and is entitled An Introduction to LDAP and was followed up by Getting Started with LDAP . Fast forward to 2003, and OnLamp has a new article on LDAP entitled Building an Address Book with OpenLDAP , which is available in the ports and packages tree. Combined with a nice OpenBSD web server, an OpenBSD LDAP server could be an interesting solution for your business or group's needs.

(Comments are closed)


Comments
  1. By Jason () jtestart@NOSPAMryerson.ca on mailto:jtestart@NOSPAMryerson.ca

    Too bad OpenBSD can't be an LDAP client so that I can authenticate users DIRECTLY with a directory server.

    Comments
    1. By Anonymous Coward () on

      ..because there's no nsswitch()
      however there are several solutions for that. OpenBSD can do this, but you still need the entry in the normal /etc/*passwd way; that's not needed with nsswitch(). The util with which you can achieve this is called login_ldap. It used bsd_auth.

      Also i saw a NIS to LDAP gateway on Deadly.org earlier. That would also do the job i guess...

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]