Yair Zaslavsky has posted comments on this change.
Change subject: Add support for OpenLDAP as domain provider
......................................................................
Patch Set 2: (1 inline comment)
Overall, good job.
I agree with Roy's comments.
Please also fix the manage domains script file and the man file
(engine-manage-domains.8)
Thanks!
....................................................
File
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/JndiAction.java
Line 186: String guidString = "";
Line 187:
Line 188: try {
Line 189: if (ldapProviderType.equals(LdapProviderType.ipa)) {
Line 190: String ipaUniqueId = (String)
sr.getAttributes().get("ipaUniqueId").get();
if else ... if else... is starting to be ugly.
Not mandatory + we should have thought about it before, we should have a map of
providerType (key) to name of attribute containing the user Id.
Line 191: guidString += ipaUniqueId;
Line 192: } else if
(ldapProviderType.equals(LdapProviderType.rhds)) {
Line 193: String nsUniqueId = (String)
sr.getAttributes().get("nsUniqueId").get();
Line 194: guidString +=
RHDSUserContextMapper.getGuidFromNsUniqueId(nsUniqueId);
--
To view, visit http://gerrit.ovirt.org/13829
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I7fa5c92088a34d8c3881ce839963a13fe9ca4f84
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Uwe Grawert <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Itamar Heim <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: Uwe Grawert <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches