leenooks / phpLDAPadmin

phpLDAPadmin - Web based LDAP administration tool
www.phpldapadmin.org
GNU General Public License v2.0
520 stars 166 forks source link

Create Several Users Simultaneously #223

Open aoikonomidis opened 1 year ago

aoikonomidis commented 1 year ago

We have to create more than 100 users. In order to save time, we would like 2 or 3 people to create users simultaneously using the web interface each on their computer. Currently this is not possible because the UID Number that is reserved cannot be updated or changed. This means that when 2 people try to create 2 users, the first one that clicks Create Object creates their user, but the second one gets canceled.

It would be a nice feature to get the next available UID Number dynamically every time a user is created.

Thank you in advance and for all your development effort.

leenooks commented 1 year ago

Its unlikely that there is an easy fix for this.

The PLA is essentially a client of an LDAP server, and while PLA could work out the next UID number, it would not be aware if another client (outside of PLA) created an account with a UID number that PLA would be using next.

Agree, that the "window" of this happening is small, but any implementation (if added) would include this caveat.

aoikonomidis commented 1 year ago

I see.. OK it would be a nice to have enhancement. If it cannot be implemented that is fine from our side.

Thank you!

bendem commented 1 year ago

Any reason you aren't importing a ldiff instead of manually creating each user? The syntax is very easy, you can export an existing user to get a template and replace the fields with what you want. Single text file, easy to generate from a list of users.