file
organizational_unit.c
Enums
- enum OUAttributeIndex { OBJECT_CLASS = 0, OU = 1, DESCRIPTION = 2 }
Functions
-
auto ld_add_ou(LDHandle* handle,
const char* name,
LDAPAttribute_
t** ou_attrs, const char* parent) -> enum OperationReturnCode - ld_add_ou Creates the OU.
- auto ld_del_ou(LDHandle* handle, const char* name, const char* parent) -> enum OperationReturnCode
- ld_del_ou Deletes the OU.
-
auto ld_mod_ou(LDHandle* handle,
const char* name,
const char* parent,
LDAPAttribute_
t** ou_attrs) -> enum OperationReturnCode - ld_mod_ou Modifies the OU.
- auto ld_rename_ou(LDHandle* handle, const char* old_name, const char* new_name, const char* parent) -> enum OperationReturnCode
- ld_rename_ou Renames the OU.
Function documentation
enum OperationReturnCode ld_add_ou(LDHandle* handle,
const char* name,
LDAPAttribute_ t** ou_attrs,
const char* parent)
ld_add_ou Creates the OU.
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
name in | Name of the OU. |
ou_attrs in | Attributes of the OU. |
parent | |
Returns |
|
enum OperationReturnCode ld_del_ou(LDHandle* handle, const char* name, const char* parent)
ld_del_ou Deletes the OU.
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
name in | Name of the OU. |
parent in | Parent container that holds the OU. |
Returns |
|
enum OperationReturnCode ld_mod_ou(LDHandle* handle,
const char* name,
const char* parent,
LDAPAttribute_ t** ou_attrs)
ld_mod_ou Modifies the OU.
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
name in | Name of the OU. |
parent in | Parent container that holds the OU. |
ou_attrs in | List of the attributes to modify. |
Returns |
|
enum OperationReturnCode ld_rename_ou(LDHandle* handle, const char* old_name, const char* new_name, const char* parent)
ld_rename_ou Renames the OU.
Parameters | |
---|---|
handle in | Pointer to libdomain session handle. |
old_name in | Old name of the OU. |
new_name in | New name of the OU. |
parent in | Parent container that holds the OU. |
Returns |
|