[thelist] Questions about LDAP

Kostas Nasis kostas at nasis.com
Mon Apr 22 13:25:01 CDT 2002


Hello,

Lately I've been thinking about migrating from a MySQL-based user
directory to LDAP and I have a few questions. Perhaps someone who has
done this before can help.

Currently I have a "users" table and in it (among other things) I have a
userLogin and userID for each user. userLogin is ofcourse the login name
and userID is a unique integer for each user... an auto_increment column
in MySQL. I use userID to associate data with a particular user in other
tables.

My question is, if I switch to LDAP, will I still be able to have this
userID without keep track of it externally? Do the LDAP servers have
some sort of mechanism for this?

Or is my whole approach wrong? Should I do it some other way? I'm
thinking storing the full login in all the tables is not efficient.

Any help will be appreciated.

Kostas




More information about the thelist mailing list