LDAP-0.6.6: Haskell binding for C LDAP API

MaintainerJohn Goerzen,

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 LDAP.Constants.ldapPort.

Could throw IOError on failure.

ldapSimpleBindSource

Arguments

:: LDAP

LDAP Object

-> String

DN (Distinguished Name)

-> String

Password

-> IO () 

Bind to the remote server.