LDAP-0.6.11: Haskell binding for C LDAP API
CopyrightCopyright (C) 2005 John Goerzen
LicenseBSD
MaintainerJohn Goerzen,
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

LDAP.Init

Description

Initialization and shutdown for LDAP programs

Written by John Goerzen, jgoerzen@complete.org

Synopsis

Documentation

ldapOpen Source #

Arguments

:: String

Host

-> LDAPInt

Port

-> IO LDAP

New LDAP Obj

Like ldapInit, but establish network connection immediately.

ldapInit Source #

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.

ldapInitialize Source #

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).

ldapSimpleBind Source #

Arguments

:: LDAP

LDAP Object

-> String

DN (Distinguished Name)

-> String

Password

-> IO () 

Bind to the remote server.

ldapExternalSaslBind Source #

Arguments

:: LDAP

LDAP Object

-> String

Authorization identity (UTF-8 encoded; pass "" to derive it from the authentication identity)

-> IO () 

Bind with the SASL EXTERNAL mechanism.