LDAP-0.6.7: Haskell binding for C LDAP API

MaintainerJohn Goerzen,
Safe HaskellSafe-Infered

LDAP.Search

Description

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

LDAP Searching

Written by John Goerzen, jgoerzen@complete.org

Synopsis

Documentation

data SearchAttributes Source

Defines what attributes to return with the search result.

Constructors

LDAPNoAttrs

No attributes

LDAPAllUserAttrs

User attributes only

LDAPAttrList [String]

User-specified list

data LDAPEntry Source

Constructors

LDAPEntry 

Fields

ledn :: String

Distinguished Name of this object

leattrs :: [(String, [String])]

Mapping from attribute name to values

ldapSearchSource

Arguments

:: LDAP

LDAP connection object

-> Maybe String

Base DN for search, if any

-> LDAPScope

Scope of the search

-> Maybe String

Filter to be used (none if Nothing)

-> SearchAttributes

Desired attributes in result set

-> Bool

If True, exclude attribute values (return types only)

-> IO [LDAPEntry]