def sasl_map_create(inst, basedn, log, args): kwargs = _get_attributes(args, SaslMapping._must_attributes) if kwargs['nssaslmappriority'] == '': kwargs['nssaslmappriority'] = '100' # Default _generic_create(inst, basedn, log.getChild('sasl_map_create'), MANY, kwargs, args)
def backend_create(inst, basedn, log, args): args.json = True kwargs = _get_attributes(args, Backend._must_attributes) _generic_create(inst, basedn, log.getChild('backend_create'), MANY, kwargs, args)
def create(inst, basedn, log, args): kwargs = _get_attributes(args.extra, MUST_ATTRIBUTES) _generic_create(inst, basedn, log.getChild('_generic_create'), MANY, kwargs)
def create_nested(inst, basedn, log, args): kwargs = _get_attributes(args, MUST_ATTRIBUTES_NESTED) _generic_create(inst, basedn, log.getChild('_generic_create'), NestedRoles, kwargs, args)
def create_filtered(inst, basedn, log, args): kwargs = _get_attributes(args, MUST_ATTRIBUTES) _generic_create(inst, basedn, log.getChild('_generic_create'), FilteredRoles, kwargs, args)
def create(inst, basedn, log, args): kwargs = _get_attributes(args, SINGULAR._must_attributes) _generic_create(inst, basedn, log.getChild('_generic_create'), MANY, kwargs)
def backend_create(inst, basedn, log, args): kwargs = _get_attributes(args.extra, SINGULAR._must_attributes) _generic_create(inst, basedn, log.getChild('backend_create'), MANY, kwargs)