Bug 710994 - ldap.OPERATIONS_ERROR: {'info': "Can't contact LDAP server", 'desc': 'Operations error'}
Summary: ldap.OPERATIONS_ERROR: {'info': "Can't contact LDAP server", 'desc': 'Operati...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Directory Server
Classification: Red Hat
Component: Directory Server
Version: 8.2
Hardware: Unspecified
OS: Linux
low
medium
Target Milestone: ---
: ---
Assignee: Rich Megginson
QA Contact: Viktor Ashirov
URL:
Whiteboard:
: 155762 (view as bug list)
Depends On:
Blocks: 690319
TreeView+ depends on / blocked
 
Reported: 2011-06-06 06:45 UTC by Amita Sharma
Modified: 2020-09-13 19:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-10 22:08:00 UTC
Target Upstream Version:


Attachments (Terms of Use)
scripts(2).tar.gz (22.28 KB, application/x-gzip)
2011-06-06 06:45 UTC, Amita Sharma
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 192 0 None None None 2020-09-13 19:59:06 UTC

Description Amita Sharma 2011-06-06 06:45:30 UTC
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'}

Comment 3 Rich Megginson 2011-08-29 16:41:31 UTC
*** Bug 155762 has been marked as a duplicate of this bug. ***

Comment 4 Rich Megginson 2012-01-09 16:44:25 UTC
Upstream ticket:
https://fedorahosted.org/389/ticket/192


Note You need to log in before you can comment on or make changes to this bug.