LDAP-0.6.6: Haskell binding for C LDAP APISource codeContentsIndex
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
ldapOpenSource
:: StringHost
-> LDAPIntPort
-> IO LDAPNew LDAP Obj
Like ldapInit, but establish network connection immediately.
ldapInitSource
:: StringHost
-> LDAPIntPort
-> IO LDAPNew LDAP Obj

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

Could throw IOError on failure.

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