Found Multiple LDAP Entries for UID

Prev Next

ALERT

message: "Found multiple LDAP entries for @uid=1689184361". counter: 17829633 - 2023-04-23 15:13:45.442792 - 2023-04-23 15:13:45

Solution

We’ve opened this ticket to let you know we received an alert regarding multiple Active Directory users being mapped to the same UID.

Please check which users are mapped to this uid and correct them.

To show the users in question, we can use a PowerShell command with the Active Directory module loaded.

Get-ADUser -Filter "UIDNumber -like '1689184361'" -Property *

Having multiple users mapped to the same UID can cause permissions access issues for these users if not corrected.

 

Checking UID on cluster.

vcli: support> user query --uid 4615 --context ldap
Command REST Error: {"detail":"query_user returned an error : QueryStatusCode.FOUND_MULTIPLE_ENTRIES"}Trace from this query.

 

Using ldapsearch can be done from any CNode using bash docker /vast/data/bashdocker.sh

[runner@cb4-cn-3 data]$ ldapsearch -x -H
ldap://xx.xx.xx.xx
-D "CN=userldap,CN=Users,DC=var,DC=vastdata,DC=com" -w 'XXXX' -b "DC=var,DC=vastdata,DC=com" "(uidNumber=5007)" | grep -i distinguishedName:
distinguishedName: CN=Mohanad Alseddiq,CN=Users,DC=var,DC=vastdata,DC=com
distinguishedName: CN=Justin Warf,CN=Users,DC=var,DC=vastdata,DC=com