Write prefixMap schema attribute in the ldb
abartlet at samba.org
Sat Jun 28 01:42:55 GMT 2008
On Sat, 2008-06-28 at 01:10 +0300, Anatoliy Atanasov wrote:
> Hi Andrew,
> I use ndr_push_struct_blob function to convert the prefixMap in ndr
> How do I write it down in the ldb, so when smbd is restarted I can
> load it from there?
An ldb_modify() of that entry to set the new value is what you want.
Make sure to be in a transaction, so you are not racy.
Authentication Developer, Samba Team http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20080628/7d2884d8/attachment.bin
More information about the samba-technical