#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    2
    Rep Power
    0

    OpenLDAP Integration


    OpenLDAP Integration:

    If anyone could help me out, I have a few questions and am open to your suggestions. If you can answer any part of these questions, I'd love to hear from you.

    (1)How does the fundamental data structure store the data. (comma delimited, fixed width, other DB, ?) Can you explain the underlying database?
    (2)How flexible is that data structure? (Is it difficult to change once up and running? To migrate?) How does it handle adding objects after up and running?
    (3)Any reccommendations on how synchronize data in OpenLDAP with Windows 2000 Active Directory?
  2. #2
  3. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
    Originally Posted by frogger29
    (1)How does the fundamental data structure store the data. (comma delimited, fixed width, other DB, ?) Can you explain the underlying database?
    Do you mean how does openldap store data?
    I believe that it stores it in multiple files. (I could be very off here) If someone else knows better please do say so
  4. #3
  5. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    539
    1)How does the fundamental data structure store the data
    See slapd.conf:
    Code:
    ...
    # ldbm database definitions
    #######################################################################
    database	bdb
    ...
    you can choose which storage to use in this case it's Berkeley DB.
    (2)How flexible is that data structure?
    The data structure is not very flexible, you need to define a custom schema, (xxx.schema files).
    To migrate?
    There is a standard interchange format LDIF.
    You can add objects through an interface or an LDIF file.
    Syncing usually uses the slurpd demon, don't know of OpenLDAP and ActiveDirectory syncronizing but I think Google can be of help (and maybe this link )!
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2004
    Posts
    2
    Rep Power
    0

    In addition..


    What if I have developed this schema, but one year down the road find two new objects that must be added. How does this fit? New schema with all the data dumped over, simple addition? How is that handled?
  8. #5
  9. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    539
    Your question makes me think of a common "misunderstanding" about LDAP, it's NOT a database it's a directory service!
    From what you write you seem to need a relational database more than LDAP.
    I've seen many apps that authenticate users against LDAP (a common, enterprise wide directory service) but store specific profile data in their own db tables.

IMN logo majestic logo threadwatch logo seochat tools logo