The default groups we create should have ipaUniqueId set

This adds a new directive to ipa-ldap-updater: addifnew. This will add
a new attribute only if it doesn't exist in the current entry. We can't
compare values because the value we are adding is automatically generated.

ticket 1177
This commit is contained in:
Rob Crittenden
2011-04-14 14:37:45 -04:00
committed by Martin Kosek
parent e3ec1fb7ef
commit fe67680da5
5 changed files with 31 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ An update file describes an LDAP entry and a set of operations to be performed o
Blank lines and lines beginning with # are ignored.
There are 4 keywords:
There are 7 keywords:
* default: the starting value
* add: add a value (or values) to an attribute
@@ -37,6 +37,7 @@ There are 4 keywords:
* only: set an attribute to this
* deleteentry: remove the entry
* 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.
Values is a comma\-separated field so multi\-values may be added at one time. Double or single quotes may be put around individual values that contain embedded commas.