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

Description

LDAP changes

Written by John Goerzen, jgoerzen@complete.org

Synopsis

Basics

data LDAPMod Source #

Constructors

LDAPMod 

Fields

Instances

Instances details
Show LDAPMod Source # 
Instance details

Defined in LDAP.Modify

Eq LDAPMod Source # 
Instance details

Defined in LDAP.Modify

ldapAdd Source #

Arguments

:: LDAP

LDAP connection object

-> String

DN to add

-> [LDAPMod]

Items to add

-> IO () 

ldapModify Source #

Arguments

:: LDAP

LDAP connection object

-> String

DN to modify

-> [LDAPMod]

Changes to make

-> IO () 

ldapDelete :: LDAP -> String -> IO () Source #

Delete the specified DN

Utilities

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.