Problem with Samba 4 Schema modification

Nadezhda Ivanova didrash at gmail.com
Wed Feb 13 16:18:11 GMT 2008


Hi list,
I am experimenting with Samba 4 as a Domain controller, and encountered the
following problem.
Using LDAP requests, I add new attributes to the schema. I receive no LDAP
errors.
However, if I have added an attribute whose OID is not in the prefixMap,
after I restart smbd, schema initialisation fails with the following error:

dsdb/schema/schema_init.c:412: 'msExchComputerLink': unable to map
attributeID 1.2.840.113556.1.4.7000.102.72: WERR_DS_NO_MSDS_INTID
ldb: schema_fsmo_init: failed to load attriute definition:
CN=ms-Exch-Computer-Link,CN=Schema,CN=Configuration,DC=nadya-test,DC=postpath,DC=com:WERR_DS_NO_MSDS_INTID

I noticed that upon initialisation, each attribute is checked against the
prefixMap, which is first loaded from an ldif file, and if the prefix does
not match, initialisation fails.
In this case 1.2.840.113556.1.4.7000.102 is not there.
I am using the alpha2 release. Downloaded the v-4-0-test today, but neither
python provisioning nor the old one worked...

Has anyone encountered this problem, is there a workaround?

Regards,
Nadya


More information about the samba-technical mailing list