From: Joe P. <fig...@gm...> - 2005-03-03 22:20:37
|
Hi All, I'm having a problem using ldap under webware. Running under solaris 10 with python 2.8 and webware 0.8.1. Skel of code failing from within webware : import ldap host = "MYHOST" port = MYPORT username = "" password = "" self.l = ldap.open( host, port ) self.l.protocol_version = ldap.VERSION3 self.l.bind( username, password ) The page-access clanks with a: SERVER_DOWN: {'desc': "Can't contact LDAP server"} The same code works just fine when run from the command line and as a straight python cgi under apache. Two Questions: Has anyone else butted against this? Is there something I can do with webware to crank up the debugging? Thanks, Joe. |