|
|
@@ -28,7 +28,7 @@ get_posixGroups () {
|
|
|
|
|
|
# get the list of currently used uid numbers and add 1 to get the next one
|
|
|
# uids between 2000 and 2999 are used for users. If the need to manage
|
|
|
-# more than 1000 users arise, consider using something else than a few bash scripts
|
|
|
+# more than 1000 users arises, consider using something else than a few bash scripts
|
|
|
# to manage your directory.
|
|
|
get_posix_number() {
|
|
|
echo $(( $(ldapsearch -x -LLL -b $PEOPLEDN -D $BINDDN -w $BINDPW "(objectClass=posixAccount)" | grep 'uidNumber: 2' | cut -d' ' -f2 | sort -u | tail -n 1) +1))
|