src/schema_p.h file

Classes

struct ldap_schema_t
The ldap_schema_t struct - Represents LDAP schema.

Functions

auto schema_load_openldap(struct ldap_connection_ctx_t* connection, struct ldap_schema_t* schema) -> enum OperationReturnCode
schema_load_openldap Loads the schema of OpenLDAP directory type from the connection.
auto schema_load_active_directory(struct ldap_connection_ctx_t* connection, struct ldap_schema_t* schema) -> enum OperationReturnCode
ldap_schema_load Loads the schema of OpenLDAP directory type from the connection.

Function documentation

enum OperationReturnCode schema_load_openldap(struct ldap_connection_ctx_t* connection, struct ldap_schema_t* schema)

schema_load_openldap Loads the schema of OpenLDAP directory type from the connection.

Parameters
connection in Connection to work with.
schema in Schema for loading data from connection.
Returns
  • RETURN_CODE_SUCCESS on success.
  • RETURN_CODE_FAILURE on failure.

enum OperationReturnCode schema_load_active_directory(struct ldap_connection_ctx_t* connection, struct ldap_schema_t* schema)

ldap_schema_load Loads the schema of OpenLDAP directory type from the connection.

Parameters
connection in Connection to work with.
schema in Schema for loading data from connection.
Returns
  • RETURN_CODE_SUCCESS on success.
  • RETURN_CODE_FAILURE on failure.