Error: Schema fetching on Oracle Directory Server

Wido Depping wido.depping at
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/",
line 83, in retrieveInfoFromServer
   subschemasubentry_dn,schema = ldap.schema.urlfetch(tmpUrl)
 File "/usr/lib/python2.3/site-packages/ldap/schema/",
line 415, in urlfetch
   parsed_sub_schema = ldap.schema.SubSchema(subschemasubentry_entry)
 File "/usr/lib/python2.3/site-packages/ldap/schema/",
line 51, in __init__
   se_instance = se_class(attr_value)
 File "/usr/lib/python2.3/site-packages/ldap/schema/", line
49, in __init__
   d = extract_tokens(l,self.token_defaults)
 File "/usr/lib/python2.3/site-packages/ldap/schema/",
line 56, in extract_tokens
   assert l[0].strip()=="(" and l[-1].strip()==")",ValueError(l)
AssertionError: ['(', '2.16.840.1.113894.', 'NAME',
'orclUMCTGroupConfig', 'DESC', 'Configuration name defined in the
Media Service', 's', 'Application', 'Profile', ' SYNTAX SINGLE-VALUE )']

The value for tmpUrl, the url of the server, is something like this:
 tmpUrl = "ldap://"

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

Wido Depping
ICQ: 51303067    AIM: wido3379
Jabber: wido at

More information about the python-ldap mailing list