back to article Build a directory service for web-based services

A directory service is an application that lets you store, retrieve and modify information about network-attached resources such as users. If you want to keep a directory of company employees, for example, you would use a directory service instead of storing that information directly in a database. A directory service is …

COMMENTS

This topic is closed for new posts.
  1. Karl Lattimer

    I'm confused?

    you're running ldap on windows. Why?

  2. Anonymous Coward
    Anonymous Coward

    What benefits does the directory provide over direct DB access?

    Although I can guess several reasons, I would have liked the article to follow it's definition of a directory with a sentence or two explaining why it's better than accessing a database directly.

    Can anyone answer this?

  3. Ben Bradley

    Re: I'm confused

    Probably to illustrate the example of how to connect to LDAP through PHP.

    It doesn't matter what LDAP is running on as far as PHP is concerned.

    I agree though, in most situations you'll be connecting to a groupware LDAP server or something which may be running on Linux. But could easily be running on Windows in the form of Exchange.

  4. Anonymous Coward
    Coat

    Users

    The first sentence of this article confuses me.

    "A directory service is an application that lets you store, retrieve and modify information about network-attached resources such as users."

    Personally, I think of users as the leeches that USE resources, not resources themselves. Now, it's time to go read the rest of the article.

  5. Deepak Vohra

    RE:I'm confused?

    Windows is used on 90% of desktops.

  6. Deepak Vohra

    RE:What benefits does the directory provide over direct DB access?

    If a directory is stored directly in a dataabse the directory information would have to be mapped to multiple databases. Also the directory service provides attributes, which facilitiate update and search of directory information. The alternative is using the WHERE cluases in SQL statements to update and search.

    Please also refer "LDAP vs relational database", which is for OpenDS, but most of the advantages also apply to OpenLDAP. Both OpenDS and OpenLDAP directory servers are based on the embedded Berkeley DB database.

    http://blogs.sun.com/treydrake/entry/ldap_vs_relational_database

  7. Deepak Vohra

    RE:What benefits does the directory provide over direct DB access?

    Please also refer

    http://blogs.sun.com/treydrake/entry/ldap_vs_relational_database_part

    http://www.linuxtopia.org/online_books//network_administration_guides/ldap_administration/intro_LDAP_vs_RDBMS.html

  8. Deepak Vohra

    RE:What benefits does the directory provide over direct DB access?

    Also DBAs would be required to administer the database.

This topic is closed for new posts.

Biting the hand that feeds IT © 1998–2022