module Ooldap: sig end
Object oriented interface to LDAP
Object oriented interface to LDAP
type
op = string * string list
type
op_lst = op list
type
changetype =
| |
ADD |
| |
DELETE |
| |
MODIFY |
| |
MODDN |
| |
MODRDN |
class type ldapentry_t = object end
class ldapentry : object end
An ldap entry, returned from a server
class ldapcon : ?version:int -> ?async:bool -> ?port:int -> string -> object end
A connection to an ldap server.
type
scflavor =
| |
Optimistic |
| |
Pessimistic |
class scldapentry : Schemaparser.schema -> object end
type
generator = {
|
gen_name : string ; |
|
required : string list ; |
|
genfun : ldapentry_t -> string list ; |
}
type
service = {
|
svc_name : string ; |
|
static_attrs : (string * string list) list ; |
|
generate_attrs : string list ; |
|
depends : string list ; |
}
type
generation_error =
| |
Missing_required of string list |
| |
Generator_error of string |
exception No_generator of string
exception Generation_failed of generation_error
exception No_service of string
exception Service_dep_unsatisfiable of string
exception Generator_dep_unsatisfiable of (string * string)
exception Cannot_sort_dependancies of string list
class ldapaccount : Schemaparser.schema ->
(string, generator) Hashtbl.t ->
(string, service) Hashtbl.t -> object end