Yair Zaslavsky has posted comments on this change. Change subject: aaa: Fix group searching in 389ds/RHDS ......................................................................
Patch Set 1: (1 comment) http://gerrit.ovirt.org/#/c/32405/1/backend/manager/modules/builtin-extensions/src/main/java/org/ovirt/engine/extensions/aaa/builtin/kerberosldap/LdapQueryMetadataFactoryImpl.java File backend/manager/modules/builtin-extensions/src/main/java/org/ovirt/engine/extensions/aaa/builtin/kerberosldap/LdapQueryMetadataFactoryImpl.java: Line 449: dsSearchSyntaxMap.put(SearchLangageLDAPTokens.$GIVENNAME, "givenname"); Line 450: dsSearchSyntaxMap.put(SearchLangageLDAPTokens.$USER_ACCOUNT_TYPE, "&(objectClass=person)"); Line 451: // We put here a duplicate. Need to solve it in another way. Line 452: dsSearchSyntaxMap.put(SearchLangageLDAPTokens.$PRINCIPAL_NAME, "uid"); Line 453: dsSearchSyntaxMap.put(SearchLangageLDAPTokens.$LDAP_GROUP_CATEGORY, "(|(objectClass=groupOfUniqueNames)(objectClass=posixGroup))"); > please notice that you will get user id!!! not DN from this attribute what do you mean? why will I get user id? Line 454: dsSearchSyntaxMap.put(SearchLangageLDAPTokens.$CN, "cn"); Line 455: dsSearchSyntaxMap.put(SearchLangageLDAPTokens.$USER_ACCOUNT_NAME, "uid"); Line 456: dsSearchSyntaxMap.put(SearchLangageLDAPTokens.$SN, "SN"); Line 457: dsSearchSyntaxMap.put(SearchLangageLDAPTokens.$SAMACCOUNTNAME, "uid"); -- To view, visit http://gerrit.ovirt.org/32405 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I8f030fbf8026d33953dc05081fd6f300fca7cdfe Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Yair Zaslavsky <[email protected]> Gerrit-Reviewer: Alon Bar-Lev <[email protected]> Gerrit-Reviewer: Oved Ourfali <[email protected]> Gerrit-Reviewer: Yair Zaslavsky <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
