ipa-ldap-updater (1) - Linux Manuals
ipa-ldap-updater: Update the IPA LDAP configuration
NAME
ipa-ldap-updater - Update the IPA LDAP configurationSYNOPSIS
ipa-ldap-updater [options] input_file(s)DESCRIPTION
ipa-ldap-updater is utility which can be used to update the IPA LDAP server.An update file describes an LDAP entry and a set of operations to be performed on that entry. It can be used to add new entries or modify existing entries.
Blank lines and lines beginning with # are ignored.
There are 7 keywords:
The difference between the default and add keywords is if the DN of the entry exists then default is ignored. So for updating something like schema, which will be under cn=schema, you must always use add (because cn=schema is guaranteed to exist). It will not re-add the same information again and again.
It also provides some things that can be templated such as architecture (for plugin paths), realm and domain name.
The available template variables are:
For base64 encoded values a double colon ('::') must be used between attribute and value.
Base64 format examples:
A few rules:
ipa-ldap-updater allows to execute update plugins.
Plugins to be executed are specified with following keyword, in update files:
This keyword is not bounded to DN, and plugin names have to be registered in API.
Additionally, ipa-ldap-updater can update the schema based on LDIF files.
Any missing object classes and attribute types are added, and differing ones are updated to match the LDIF file.
To enable this behavior, use the --schema-file options.
Schema files should be in LDIF format, and may only specify attributeTypes and objectClasses attributes of cn=schema.
1 if an error occurred
1. Only one rule per line
2. Each line stands alone
3. Adding a value that exists is ok. The request is ignored, duplicate values are not added
4. Removing a value that doesn't exist is ok. It is simply ignored.
5. If a DN doesn't exist it is created from the
6. If a DN does exist the default values are skipped
7. Only the first rule on a line is respected
OPTIONS
EXIT STATUS
0 if the command was successful