I was tempted to push this as a one-liner but an extra set of eyes won't hurt.

The lack of quotes around this member causes it to be comma-parsed so it adds each component separately as a member.


rob
>From b54f78a7d9ce2175ed906225e7efb0ba6093b0c9 Mon Sep 17 00:00:00 2001
From: Rob Crittenden <rcrit...@redhat.com>
Date: Wed, 10 Oct 2012 10:48:43 -0400
Subject: [PATCH] Fix quoting around adtrust agent member update

---
 install/updates/60-trusts.update | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install/updates/60-trusts.update b/install/updates/60-trusts.update
index cc9a771df901a90b457357c570dc06d34c0db4c8..4039fce6f2c36397cd2aa2111ba45917bdabe083 100644
--- a/install/updates/60-trusts.update
+++ b/install/updates/60-trusts.update
@@ -43,7 +43,7 @@ default: cn: adtrust agents
 default: member: krbprincipalname=cifs/$FQDN@$REALM,cn=services,cn=accounts,$SUFFIX
 
 dn: cn=adtrust agents,cn=sysaccounts,cn=etc,$SUFFIX
-add: member: krbprincipalname=cifs/$FQDN@$REALM,cn=services,cn=accounts,$SUFFIX
+add: member: 'krbprincipalname=cifs/$FQDN@$REALM,cn=services,cn=accounts,$SUFFIX'
 
 dn: cn=trusts,$SUFFIX
 default: objectClass: top
-- 
1.7.11.4

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to