mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
c63fe925fb
Otherwise we get some SyntaxWarnings about invalid escape sequences such as '\d' and '\{', e.g.: /usr/sbin/ipa-replica-manage:393: SyntaxWarning: invalid escape sequence '\{' data = re.match('\{replica (\d+) (ldap://.*:\d+)\}(\s+\w+\s+\w*){0,1}', ruv) /usr/sbin/ipa-replica-manage:721: SyntaxWarning: invalid escape sequence '\d' (re.sub(':\d+', '', x), y) /usr/sbin/ipa-replica-manage:726: SyntaxWarning: invalid escape sequence '\d' (re.sub(':\d+', '', x), y) Fixes: https://pagure.io/freeipa/issue/9483 Signed-off-by: Jeremy Frasier <jeremy.frasier@gwe.cisa.dhs.gov> Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com> |
||
---|---|---|
.. | ||
certmonger | ||
custodia | ||
html | ||
migration | ||
oddjob | ||
restart_scripts | ||
share | ||
tools | ||
ui | ||
updates | ||
wsgi | ||
Makefile.am | ||
README.schema |
Ground rules on adding new schema Brand new schema, particularly when written specifically for IPA, should be added in share/*.ldif. Any new files need to be explicitly loaded in ipaserver/install/dsinstance.py. These simply get copied directly into the new instance schema directory. Existing schema (e.g. in an LDAP draft) may either be added as a separate ldif in share or as an update in the updates directory. The advantage of adding the schema as an update is if 389-ds ever adds the schema then the installation won't fail due to existing schema failing to load during bootstrap. If the new schema requires a new container then this should be added to install/bootstrap-template.ldif.