Rename 60sudo.ldif to 60ipasudo.ldif to not overwrite the 389-ds version.

This meant that the compat sudo schema was not available.

ticket 439
This commit is contained in:
Rob Crittenden 2010-11-04 15:53:31 -04:00
parent 594adb9877
commit c819b27f9e
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ app_DATA = \
60radius.ldif \
60ipaconfig.ldif \
60basev2.ldif \
60sudo.ldif \
60ipasudo.ldif \
anonymous-vlv.ldif \
bootstrap-template.ldif \
caJarSigningCert.cfg.template \

View File

@ -325,8 +325,8 @@ class DsInstance(service.Service):
schema_dirname(self.serverid) + "60ipaconfig.ldif")
shutil.copyfile(ipautil.SHARE_DIR + "60basev2.ldif",
schema_dirname(self.serverid) + "60basev2.ldif")
shutil.copyfile(ipautil.SHARE_DIR + "60sudo.ldif",
schema_dirname(self.serverid) + "60sudo.ldif")
shutil.copyfile(ipautil.SHARE_DIR + "60ipasudo.ldif",
schema_dirname(self.serverid) + "60ipasudo.ldif")
try:
shutil.move(schema_dirname(self.serverid) + "05rfc2247.ldif",
schema_dirname(self.serverid) + "05rfc2247.ldif.old")