class ldapcon : ?version:int -> ?async:bool -> ?port:int -> string -> object end
A connection to an ldap server.
method add : ldapentry -> unit
Add an entry to the server
method bind : ?cred:string -> ?meth:Ocamldap.auth_method -> string -> unit
Bind to the server
method unbind : unit
method delete : string -> unit
Delete an entry from the server
method modify : string -> Ocamldap.modattr list -> unit
Modify an entry in the server
method modrdn : string -> ?deleteoldrdn:bool -> string -> unit
change the rdn of an entry modrdn dn ?(deleteoldrdn=true) newrdn
method search : ?scope:Ocamldap.search_scope ->
?attrs:string list ->
?attrsonly:bool -> ?base:string -> string -> ldapentry list
Find entries, and return them as ldapentry objects
method schema : Schemaparser.schema
interrogate an ldapv3 directory server for it's schema definitions,
raise Not_found if no schema can be located, or of bound with v2 *
method rawschema : ldapentry
grab the raw (text) schema *
method update_entry : ldapentry -> unit
Sync changes made locally with the server