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

    Join Date
    Jan 2005
    Posts
    4
    Rep Power
    0

    detecting changes made to OpenLDAP


    Hello frnz,
    Can some body let me know how to detect or track changes made to any LDAP entry. My main task is to synchronize OpenLDAP and MysQL. Please reply soon.

    Thanks & Regards,
    Rajesh
  2. #2
  3. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
    perhaps do a search on the createTimestamp and modifiyTimestamp, see if they are newer if so do a sync of those items
  4. #3
  5. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
    Rajesh just post here and don't PM about it
    I've not done a sync between a LDAP database and a Relational (i.e MySQL PostgreSQL etc..) database, mainly because they store data differently and that is why you are using two different types in the first place.

    Anyways if you want more help tell me:
    - what kind of data is being stored?
    - are both (ldap and mysql)'s strucure in the same format?
    - what kind of sync are you expecting?
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2005
    Posts
    4
    Rep Power
    0
    Visper,
    I'm trying to build a tool very much like a meta directory.As a part of that I need to develop synchronizers(connectors) betwen various data sources(LDAP, RDBMS) etc.
    So I have to detect the changes made to OpenLDAP(my current LDAP directory). I noticed that IBM's tivoli directory server and SunONE Directory server achieves the detection functionality by means of "changelog" mechanism. But I think OpenLDAP does have the changelog mechanism. So are there anyother ways in which I can detect updates or changes made to LDAP at attribute level.

    Regarding your question about:
    - what kind of data is being stored?
    - are both (ldap and mysql)'s strucure in the same format?
    - what kind of sync are you expecting?

    I'm not very sure of the answers. My basic requirement is to simulate a metadirectory functionality.

    Awaiting your reply,

    Rajesh.
  8. #5
  9. Psycho Canadian
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jan 2001
    Location
    Canada
    Posts
    4,846
    Rep Power
    635
    haven't forgotten been busy, will respond soon

IMN logo majestic logo threadwatch logo seochat tools logo