From: Wido D. <wid...@gm...> - 2005-01-10 14:13:51
|
Hi All, I've a problem with Luma when fetching the schema information from an Oracle Directory Server. Normal search operations work fine, but since I won't allow any editing of attributes without knowing the schema, I'm somehow stuck. Upgrading to 2.0.6 didn't solve the problem either :( Here's the relevant part of the backtrace I get: Traceback (most recent call last): File "/home/wido/src/luma/lib/luma/base/backend/ObjectClassAttributeInfo.py", line 83, in retrieveInfoFromServer subschemasubentry_dn,schema = ldap.schema.urlfetch(tmpUrl) File "/usr/lib/python2.3/site-packages/ldap/schema/subentry.py", line 415, in urlfetch parsed_sub_schema = ldap.schema.SubSchema(subschemasubentry_entry) File "/usr/lib/python2.3/site-packages/ldap/schema/subentry.py", line 51, in __init__ se_instance = se_class(attr_value) File "/usr/lib/python2.3/site-packages/ldap/schema/models.py", line 49, in __init__ d = extract_tokens(l,self.token_defaults) File "/usr/lib/python2.3/site-packages/ldap/schema/tokenizer.py", line 56, in extract_tokens assert l[0].strip()=="(" and l[-1].strip()==")",ValueError(l) AssertionError: ['(', '2.16.840.1.113894.5.101.1.1063', 'NAME', 'orclUMCTGroupConfig', 'DESC', 'Configuration name defined in the Media Service', 's', 'Application', 'Profile', ' SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )'] The value for tmpUrl, the url of the server, is something like this: tmpUrl = "ldap://my.oracle.server.com:389" If you aren't able to fix this bug only with the backtrace, I can give you the mail of the server admin, who may give you access to his machine. mfg. Wido -- Wido Depping ICQ: 51303067 AIM: wido3379 Jabber: wi...@ja... Blog: http://widoww.blogspot.com |