LDAP-0.6.1: Haskell binding for C LDAP APIContentsIndex
LDAP.Init
MaintainerJohn Goerzen,
Description

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

Initialization and shutdown for LDAP programs

Written by John Goerzen, jgoerzen@complete.org

Synopsis
ldapOpen :: String -> LDAPInt -> IO LDAP
ldapInit :: String -> LDAPInt -> IO LDAP
ldapSimpleBind :: LDAP -> String -> String -> IO ()
Documentation
ldapOpen
:: StringHost
-> LDAPIntPort
-> IO LDAPNew LDAP Obj
Like ldapInit, but establish network connection immediately.
ldapInit
:: StringHost
-> LDAPIntPort
-> IO LDAPNew LDAP Obj

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

Could throw IOError on failure.

ldapSimpleBind
:: LDAPLDAP Object
-> StringDN (Distinguished Name)
-> StringPassword
-> IO ()
Bind to the remote server.
Produced by Haddock version 0.8