|
From: Hans A. <Han...@Ph...> - 2002-07-30 07:13:27
|
On Montag, 29. Juli 2002 18:46, Michael Ströder wrote: > I changed the API to pass around this flags integer. I did other > changes. I made changes to schema.c and schema.py in order to actually pass the flag to the C functions: >>> a = "( 2.5.6.1 NAME 'alias' DESC 'Standard ObjectClass' SUP 'top' MUST ( objectclass $ aliasedObjectName ) MAY ( aci ) )" >>> ldap.schema.str2objectclass(a,15) ['2.5.6.1', ['alias'], 'Standard ObjectClass', 0, ['top'], 1, ['objectclass', 'aliasedObjectName'], ['aci'], []] >>> ldap.schema.str2objectclass(a) Error: 6: MUST ( objectclass $ aliasedObjectName ) MAY ( aci ) )Traceback (most recent call last): [...] Seems to work. Please test. Hans -- Han...@Ph... |