Difference between revisions of "Samba4/LDB/Object Class"

(Structures)
(objectclass_add())
Line 18: Line 18:
  
 
== objectclass_add() ==
 
== objectclass_add() ==
 +
 +
This method intercepts an add request, searches for the parent entry, sorts the object classes, validates the RDN attribute, validates the entry against parent object class, adds some attributes, then performs the actual add operation.
  
 
== objectclass_modify() ==
 
== objectclass_modify() ==
  
 
== objectclass_rename() ==
 
== objectclass_rename() ==

Revision as of 06:46, 14 October 2009

Structures

oc_context

struct oc_context {

    struct ldb_module *module;
    struct ldb_request *req;

    struct ldb_reply *search_res;

    int (*step_fn)(struct oc_context *);
};

Methods

objectclass_add()

This method intercepts an add request, searches for the parent entry, sorts the object classes, validates the RDN attribute, validates the entry against parent object class, adds some attributes, then performs the actual add operation.

objectclass_modify()

objectclass_rename()