I am trying to map an AD Group I have into Keycloak, which I think I have done at least mostly correctly like so:
My issue is that, when I do this then sync then go look at the members of my group in keycloak, I see one more 'John Smith' user that is not supposed to be there (one is in my AD group, the other is not).
While the users share similar/identical English names and are both in my org's overall LDAP user federation, certainly I have confirmed that they have different email addresses and different 'Windows 2000' user IDs. Thus I am a bit lost as to why the extra John Smith is showing up in the keycloak group.
Admittedly I probably don't fully understand the nuances of all the fields in this configuration :).
UPDATE 4/8/22, from @Hamza Tahiri 's comment:
- I am trying to sync my LDAP users to my keycloak users (specifically only those in one AD group)
- I see several 'John Smiths' in my organization's LDAP but only one of them is in my AD Group. My issue is that TWO of these John Smith's are showing up in my keycloak group when I map it in from the AD group, vs just the one I as seen in my AD group
- the full DN's of the users: I'm inferring this is the same as the LDAP_ENTRY_DN that I see in their attributes in keycloak? Let me know ifi should look somewhere else, but at least this field is DIFFERENT between the two John Smiths. The pattern of difference is as follows (triple-letters are obfuscated place-holders):
- CN=John Smith,OU=AAA,OU=BBB,DC=XXX,DC=YYY,DC=ZZZ
- CN=John Smith,OU=CCC,OU=BBB,DC=XXX,DC=YYY,DC=ZZZ
- the LDAP_ID attributes in keycloak are also DIFFERENT between the users