log.debug("Performing Kerberos authentication...")
# Fetch path to keytab
- keytab = self.settings.get("krb5-keytab")
+ keytab = self.config.get("krb5", "keytab")
if not keytab:
log.warning("No keytab configured")
return
# Fetch Kerberos principal
- principal = self.settings.get("krb5-principal")
+ principal = self.config.get("krb5", "principal")
if not principal:
log.warning("No Kerberos principal configured")
return
log.info("Syncing mirrors...")
# Fetch the sync target
- target = self.settings.get("sync-target")
+ target = self.config.get("sync", "target")
if not target:
log.warning("No sync target configured")
return 0