LDAP-0.6.10: Haskell binding for C LDAP API

MaintainerJohn Goerzen,
Safe HaskellNone

LDAP.Init

Description

Maintainer : jgoerzen@complete.org Stability : provisional Portability: portable

Initialization and shutdown for LDAP programs

Written by John Goerzen, jgoerzen@complete.org

Synopsis

Documentation

ldapOpenSource

Arguments

:: String

Host

-> LDAPInt

Port

-> IO LDAP

New LDAP Obj

Like ldapInit, but establish network connection immediately.

ldapInitSource

Arguments

:: String

Host

-> LDAPInt

Port

-> IO LDAP

New LDAP Obj

Preferred way to initialize a LDAP connection. The default port is given in ldapPort.

Could throw IOError on failure.

ldapInitializeSource

Arguments

:: String

URI

-> IO LDAP

New LDAP Obj

Like ldapInit, but accepts a URI (or whitespace/comma separated list of URIs) which can contain a schema, a host and a port. Besides ldap, valid schemas are ldaps (LDAP over TLS), ldapi (LDAP over IPC), and cldap (connectionless LDAP).

ldapSimpleBindSource

Arguments

:: LDAP

LDAP Object

-> String

DN (Distinguished Name)

-> String

Password

-> IO () 

Bind to the remote server.