Error: Schema fetching on Oracle Directory Server

Wido Depping wido.depping at gmail.com
Mon Jan 10 15:13:45 CET 2005


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: wido at jabber.ccc.de
Blog: http://widoww.blogspot.com





More information about the python-ldap mailing list