Copyright | Copyright (C) 2005-2007 John Goerzen |
---|---|
License | BSD |
Maintainer | John Goerzen, |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
LDAP
Description
Top-level LDAP module.
Written by John Goerzen, jgoerzen@complete.org
Welcome to the LDAP interface for Haskell. Please see one of the sections below for more information.
This package comes from:
Synopsis
- module LDAP.Types
- module LDAP.Init
- data SearchAttributes
- data LDAPEntry = LDAPEntry {}
- ldapSearch :: LDAP -> Maybe String -> LDAPScope -> Maybe String -> SearchAttributes -> Bool -> IO [LDAPEntry]
- data LDAPMod = LDAPMod {}
- ldapAdd :: LDAP -> String -> [LDAPMod] -> IO ()
- ldapModify :: LDAP -> String -> [LDAPMod] -> IO ()
- ldapDelete :: LDAP -> String -> IO ()
- list2ldm :: LDAPModOp -> [(String, [String])] -> [LDAPMod]
- pairs2ldm :: LDAPModOp -> [(String, String)] -> [LDAPMod]
- module LDAP.Exceptions
- module LDAP.Data
- module LDAP.Constants
Basic Types
module LDAP.Types
Initialization
module LDAP.Init
Searching
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 |
Instances
Show SearchAttributes Source # | |
Defined in LDAP.Search | |
Eq SearchAttributes Source # | |
Defined in LDAP.Search Methods (==) :: SearchAttributes -> SearchAttributes -> Bool Source # (/=) :: SearchAttributes -> SearchAttributes -> Bool Source # |
Adding, Deleting, and Altering
list2ldm :: LDAPModOp -> [(String, [String])] -> [LDAPMod] Source #
Takes a list of name/value points and converts them to LDAPMod
entries. Each item will have the specified LDAPModOp
.
pairs2ldm :: LDAPModOp -> [(String, String)] -> [LDAPMod] Source #
Similar to list2ldm, but handles pairs with only one value.
Error Handling
module LDAP.Exceptions
Haskell enumerated LDAP types
module LDAP.Data
Other LDAP constants
module LDAP.Constants