prefix_map module add operation fails to modify schema

Anatoliy Atanasov anatoliy.atanasov at
Mon Jun 30 11:33:21 GMT 2008

Hi List,

I have implemented a module to update the prefixMap schema attribute in the ldb. 
This is needed when we receive add request for an object class or attribute with id that doesn't have mapping in the prefixMap.
There is a problem with the code; I couldn't make the ldb_modify function to actually apply the new prefixMap in the schema. 
The returned value is 0, and after I restart the smbd and read the prefixMap in prefix_map_init function, the added id is missing.

Any help is appreciated.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: prefixMap_update.txt
Type: application/octet-stream
Size: 16841 bytes
Desc: not available
Url :

More information about the samba-technical mailing list