From b5add4e61f357c4ec298641393d9bd099edd8f70 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Wed, 22 Jan 2014 22:25:43 +0200 Subject: [PATCH] ldap: Fixed nslcd kerberos principals containing $-character. --- ldap/manifests/init.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldap/manifests/init.pp b/ldap/manifests/init.pp index e7f27d4..d7a30ec 100644 --- a/ldap/manifests/init.pp +++ b/ldap/manifests/init.pp @@ -164,7 +164,7 @@ class ldap::auth( if $auth == "gssapi" { augeas { "ldap-auth-set-principal": context => "/files/etc/default/nslcd", - changes => "set K5START_PRINCIPAL '${principal}'", + changes => "set K5START_PRINCIPAL \"\'${principal}\'\"", notify => Service["nslcd"], } }