|
|
|
Description |
Maintainer : jgoerzen@complete.org
Stability : provisional
Portability: portable
LDAP Searching
Written by John Goerzen, jgoerzen@complete.org
|
|
Synopsis |
|
|
|
Documentation |
|
data SearchAttributes |
Defines what attributes to return with the search result.
| Constructors | LDAPNoAttrs | No attributes
| LDAPAllUserAttrs | User attributes only
| LDAPAttrList [String] | User-specified list
|
| Instances | |
|
|
data LDAPEntry |
Constructors | LDAPEntry | | ledn :: String | Distinguished Name of this object
| leattrs :: [(String, [String])] | Mapping from attribute name to values
|
|
| Instances | |
|
|
data LDAPScope |
Constructors | LdapScopeDefault | | LdapScopeBase | | LdapScopeOnelevel | | LdapScopeSubtree | | UnknownLDAPScope Int | |
| Instances | |
|
|
ldapSearch |
:: 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] | |
|
|
Produced by Haddock version 0.8 |