Hide Forgot
Created attachment 503156 [details] scripts(2).tar.gz Description of problem: Getting ldap.OPERATIONS_ERROR: {'info': "Can't contact LDAP server", 'desc': 'Operations error'} while executing attached python script. This problem encountered while testing https://bugzilla.redhat.com/show_bug.cgi?id=640854. Steps: 1. Execute the attached python script. 2. You will see the errors: setup c1 to chain to ldap://localhost.localdomain:1200 localhost.localdomain:1210/ bind to c1 as uid=scarter turn on error logging on c1 shutdown m1 - see if still can search Traceback (most recent call last): File "bug628791.py", line 98, in <module> userc1.search_s(userdn, ldap.SCOPE_BASE) File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 516, in search_s return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout) File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 510, in search_ext_s return self.result(msgid,all=1,timeout=timeout)[1] File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 436, in result res_type,res_data,res_msgid = self.result2(msgid,all,timeout) File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 440, in result2 res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout) File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 446, in result3 ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout) File "/usr/lib64/python2.6/site-packages/ldap/ldapobject.py", line 96, in _ldap_call result = func(*args,**kwargs) ldap.OPERATIONS_ERROR: {'info': "Can't contact LDAP server", 'desc': 'Operations error'}
*** Bug 155762 has been marked as a duplicate of this bug. ***
Upstream ticket: https://fedorahosted.org/389/ticket/192