From 520bbd001b68bc51a79c2b4a9684fb1c12a582cd Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Tue, 5 May 2015 15:12:12 +0200 Subject: Server Upgrade: Allow base64 encoded values This patch allows to use base64 encoded values in update files. Double colon ('::') must be used as separator between attribute name and base64 encoded value. add:attr:: replace:attr:::: https://fedorahosted.org/freeipa/ticket/4984 Reviewed-By: Jan Cholasta --- install/tools/man/ipa-ldap-updater.1 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'install/tools/man') diff --git a/install/tools/man/ipa-ldap-updater.1 b/install/tools/man/ipa-ldap-updater.1 index 969012513..6d0feb440 100644 --- a/install/tools/man/ipa-ldap-updater.1 +++ b/install/tools/man/ipa-ldap-updater.1 @@ -39,7 +39,7 @@ There are 7 keywords: * only: set an attribute to this * onlyifexist: set an attribute to this only if the entry exists * deleteentry: remove the entry - * replace: replace an existing value, format is old: new + * replace: replace an existing value, format is old::new * addifnew: add a new attribute and value only if the attribute doesn't already exist. Only works with single\-value attributes. * addifexist: add a new attribute and value only if the entry exists. This is used to update optional entries. @@ -57,6 +57,12 @@ The available template variables are: * $LIBARCH \- set to 64 on x86_64 systems to be used for plugin paths * $TIME \- an integer representation of current time +For base64 encoded values a double colon ('::') must be used between attribute and value. + +Base64 format examples: + add:binaryattr::d2UgbG92ZSBiYXNlNjQ= + replace:binaryattr::SVBBIGlzIGdyZWF0::SVBBIGlzIHJlYWxseSBncmVhdA== + A few rules: 1. Only one rule per line -- cgit