def setupReplica(self, args): """Set default replia credentials """ args.setdefault('binddn', REPLBINDDN) args.setdefault('bindpw', REPLBINDPW) # manage a progressive REPLICAID args.setdefault('id', get_next_replicaid(args.get('id'), args.get('type'))) return DSAdmin.setupReplica(self, args)