Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11711 (closed)

Opened 8 years ago

Closed 8 years ago

omero ldap discover broken

Reported by: drussell-x Owned by:
Priority: minor Milestone: 5.0.0-rc1
Component: Configuration Version: 4.4.9
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

It is failing when trying to contact the LDAP server, not when trying to connect to omero.

(omero_ldap_helper)omero@micron3:~$ omero ldap discover
Using session bc64391a-daa6-4aaa-b308-e942c97a558a (coml0140@…:4064). Idle timeout: 10.0 min. Current group: micron
Connecting to ldaps://bioch-ad3.bioch.ox.ac.uk:3269...
Traceback (most recent call last):

File "/home/omero/OMERO.server/bin/omero", line 125, in <module>

rv = omero.cli.argv()

File "/home/omero/OMERO.server/lib/python/omero/cli.py", line 1196, in argv

cli.invoke(args[1:])

File "/home/omero/OMERO.server/lib/python/omero/cli.py", line 746, in invoke

stop = self.onecmd(line, previous_args)

File "/home/omero/OMERO.server/lib/python/omero/cli.py", line 815, in onecmd

self.execute(line, previous_args)

File "/home/omero/OMERO.server/lib/python/omero/cli.py", line 895, in execute

args.func(args)

File "/home/omero/OMERO.server/lib/python/omero/plugins/ldap.py", line 196, in discover

results = ld.search_s(basedn, ldap.SCOPE_SUBTREE, user_filter)

File "/home/omero/.virtualenvs/omero_ldap_helper/local/lib/python2.7/site-packages/ldap/ldapobject.py", line 552, in search_s

return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)

File "/home/omero/.virtualenvs/omero_ldap_helper/local/lib/python2.7/site-packages/ldap/ldapobject.py", line 546, in search_ext_s

return self.result(msgid,all=1,timeout=timeout)[1]

File "/home/omero/.virtualenvs/omero_ldap_helper/local/lib/python2.7/site-packages/ldap/ldapobject.py", line 458, in result

resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout)

File "/home/omero/.virtualenvs/omero_ldap_helper/local/lib/python2.7/site-packages/ldap/ldapobject.py", line 462, in result2

resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout)

File "/home/omero/.virtualenvs/omero_ldap_helper/local/lib/python2.7/site-packages/ldap/ldapobject.py", line 469, in result3

resp_ctrl_classes=resp_ctrl_classes

File "/home/omero/.virtualenvs/omero_ldap_helper/local/lib/python2.7/site-packages/ldap/ldapobject.py", line 476, in result4

ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)

File "/home/omero/.virtualenvs/omero_ldap_helper/local/lib/python2.7/site-packages/ldap/ldapobject.py", line 99, in _ldap_call

result = func(*args,kwargs)

ldap.OPERATIONS_ERROR: {'info': '00000000: LdapErr?: DSID-0C090627, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece', 'desc': 'Operations error'}

I have a fix in the pipeline.

Change History (2)

comment:2 Changed 8 years ago by jamoore

  • Milestone changed from Unscheduled to 5.0.0-beta2
  • Resolution set to fixed
  • Status changed from new to closed

PR by Douglas is nearly completed. Closing this in favor of discussion there.

Last edited 8 years ago by jamoore (previous) (diff)
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.62254 sec.)

We're Hiring!