Displaying 2 results from an estimated 2 matches for "n4sz7etzkeqfacf1ik38dq".
2020 Nov 03
1
Get last uidNumber
....9
isSingleValued: TRUE
uSNChanged: 808
showInAdvancedViewOnly: TRUE
adminDisplayName: msSFU-30-Max-Uid-Number
adminDescription: msSFU-30-Max-Uid-Number
oMSyntax: 2
searchFlags: 1
lDAPDisplayName: msSFU30MaxUidNumber
name: msSFU-30-Max-Uid-Number
objectGUID:: 13njAfdDGU25KDiuNCVkCg==
schemaIDGUID:: N4SZ7ETZKEqFACF1iK38dQ==
systemOnly: FALSE
objectCategory:
CN=Attribute-Schema,CN=Schema,CN=Configuration,DC=samdom,DC=example,DC=com
distinguishedName:
CN=msSFU-30-Max-Uid-Number,CN=Schema,CN=Configuration,DC=samdom,DC=example,DC=com
2020 Nov 03
6
Get last uidNumber
Hello,
is there a way to get the last uidNumber from ldap.
I can do a ldapsearch like:
ldapsearch -h samdom.example.com -D "administrator at samdom.example.com"
-w "changeit" -b "DC=samdom,DC=example,DC=com" -x -LLL "(uidNumber=*)"
uidNumber | grep -Po "(?<=uidNumber: )([0-9]{4})" | sort | tail -n1
But there is no guarantee that the last