#6128: ghc 7.4.1 does not work with LDAP-0.6.6
-------------------------------+--------------------------------------------
Reporter: magicloud | Owner:
Type: bug | Status: infoneeded
Priority: normal | Milestone:
Component: Compiler | Version: 7.4.1
Keywords: LDAP | Os: Linux
Architecture: x86_64 (amd64) | Failure: Incorrect result at runtime
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------+--------------------------------------------
Comment(by magicloud):
Sorry for that. Here is the code. Please input domain as the ldap server
ip, bindDN/bindPW as some random strings. And the dependency is
LDAP-0.6.6, which requires libldap2.
{{{
import LDAP
main :: IO ()
main =
do putStrLn "domain>"
domain <- getLine
putStrLn "bindDN>"
bindDN <- getLine
putStrLn "bindPW>"
bindPW <- getLine
putStrLn "conecting..."
ldap <- ldapInit domain ldapPort
ldapSimpleBind ldap bindDN bindPW
putStrLn "done"
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6128#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs