Ravi Nori has uploaded a new change for review.

Change subject: core: Removal of DNS root from host name
......................................................................

core: Removal of DNS root from host name

This fix removes the DNS root name from the host name.
The DNS root name appears as "." at the end of the host name.
This patch also address the kerberos error when adding a
second domain. This patch adds the domain_realm section to
the krb5.conf file even if useDnsLookup=true.

Change-Id: Iebad744a40370c970d9462fb628092d9ebed94c1
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=905291
Signed-off-by: Ravi Nori <rn...@redhat.com>
---
M 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/KrbConfCreator.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/01/11601/1

diff --git 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/KrbConfCreator.java
 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/KrbConfCreator.java
index 472667f..9426eb9 100644
--- 
a/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/KrbConfCreator.java
+++ 
b/backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/kerberos/KrbConfCreator.java
@@ -121,7 +121,7 @@
             }
 
             // populate domain realms by domains
-            if (!useDnsLookup && line.matches(DOMAIN_REALM_SECTION)) {
+            if (line.matches(DOMAIN_REALM_SECTION)) {
                 line = appendDomainRealms(realms);
                 log.debug("setting domain realm");
             }


--
To view, visit http://gerrit.ovirt.org/11601
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iebad744a40370c970d9462fb628092d9ebed94c1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rn...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to