diff --git a/ldap-useradmin/CHANGELOG b/ldap-useradmin/CHANGELOG index eda9bb3cc..59c1d654d 100644 --- a/ldap-useradmin/CHANGELOG +++ b/ldap-useradmin/CHANGELOG @@ -47,3 +47,5 @@ In a user batch file, # is only treated as a comment at the start of a line. For Samba users, the primary group SID is taken from the actual SID of the selected primary group, where available. ---- Changes since 1.320 ---- Limit the result size to the configured display maximum when requesting users and groups from the LDAP server. +---- Changes since 1.350 ---- +Added Module Config options to specify the next UID and GID to assign to new users and groups. This avoids the need to scan all existing users to find a free UID, which can be slow on large DBs. diff --git a/ldap-useradmin/config.info b/ldap-useradmin/config.info index bff12a911..7f300e67b 100644 --- a/ldap-useradmin/config.info +++ b/ldap-useradmin/config.info @@ -34,6 +34,8 @@ base_uid=Lowest UID for new users,3,From Users and Groups module base_gid=Lowest GID for new groups,3,From Users and Groups module md5=Encryption method for passwords,1,3-LDAP MD5,1-Unix MD5,0-crypt,2-Plain text shells=Build list of shells from,2,fixed-Builtin list,passwd-System users,shells-/etc/shells +next_uid=UID for next new user,3,Allocate automatically +next_gid=UID for next new group,3,Allocate automatically line7=New user defaults,11 default_group=Default primary group for new users,3,From Users and Groups module diff --git a/ldap-useradmin/edit_group.cgi b/ldap-useradmin/edit_group.cgi index 8936b9894..5de5d0bb2 100755 --- a/ldap-useradmin/edit_group.cgi +++ b/ldap-useradmin/edit_group.cgi @@ -48,7 +48,14 @@ print "