[Date Prev][Date Next] [Chronological] [Thread] [Top]

Tree design question

Hello everyone,

I am trying to provide web space for our users, and I am planing to put
all the users login names and passwords in a openLDAP directory, and
make the FTP server authenticate using LDAP.

The only problem I have is how and when to create the home directories
for the users, I am thinking of two approaches:

1- Add new entries in special branch of the tree, e.g.
"ou=create_commands", and make the web server scan entries in this
branch, and for each entry create new directory and delete the entry.

2- Add a time stamp to each "user" entry, and make the web server search
for new entries and create directories for them, but I am afraid the
searching process will be very slow, and affect the authentication of
users, specially when the number of user grows.

Any advices on which approach is better, or if both sucks ;)


- Rayed