adldap-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

ADLDAP.Utils

Documentation

adSearch :: ADCtx -> DN -> Scope -> Maybe Filter -> [Key] -> IO [Record] #

adSearchReq :: ADCtx -> DN -> Text -> IO [Record] #

adSetUserPass :: ADCtx -> DN -> Text -> IO () #

childrenOf :: ADCtx -> FilePath -> IO [Text] #

childrenOf' :: ADCtx -> FilePath -> IO [Record] #

fromLdifBS :: ADCtx -> ByteString -> [Record] #

toLdifBS :: [Record] -> ByteString #

rdnOf :: Record -> Text #

recordOf :: ADCtx -> FilePath -> IO (Either ADLDAPError Record) #

cmp :: ADCtx -> Record -> Record -> [(DN, [AttrOp])] #

newRec :: ADCtx -> Record -> IO () #

modRec :: ADCtx -> [(DN, [AttrOp])] -> IO () #

delRec :: ADCtx -> DN -> IO () #

movRec :: ADCtx -> DN -> DN -> IO () #

path2dn :: ADCtx -> FilePath -> DN #

nodeAttr :: ADCtx -> DN -> Text -> IO [Val] #

toJson :: Record -> Text #

toJsonPP :: Record -> Text #

fromJson :: Text -> Record #

mapLinkedFields :: ADCtx -> (DN, [AttrOp]) -> [(DN, [AttrOp])] #

linkedVopToAops :: DN -> Key -> ValOp -> [(DN, [AttrOp])] #