summaryrefslogtreecommitdiffstats
path: root/install/tools/man
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-05-05 15:12:12 +0200
committerJan Cholasta <jcholast@redhat.com>2015-05-11 16:08:01 +0000
commit520bbd001b68bc51a79c2b4a9684fb1c12a582cd (patch)
tree648060489458b69a3851f2cc509f786fb6b7e990 /install/tools/man
parent5783d0c832a430f0f3b1a9b5ba083cda934d3397 (diff)
downloadfreeipa-520bbd001b68bc51a79c2b4a9684fb1c12a582cd.tar.gz
freeipa-520bbd001b68bc51a79c2b4a9684fb1c12a582cd.tar.xz
freeipa-520bbd001b68bc51a79c2b4a9684fb1c12a582cd.zip
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::<base64-value> replace:attr::<old-base64-value>::<new-base64-value> https://fedorahosted.org/freeipa/ticket/4984 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'install/tools/man')
-rw-r--r--install/tools/man/ipa-ldap-updater.18
1 files changed, 7 insertions, 1 deletions
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