1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00

Some progress towards gums and tdbsam2

genparser works fine, and it is a marvelous tool to store objects in tdb :)
This commit is contained in:
Simo Sorce
-
parent 0ebccc0dbe
commit 4c6d461a85
10 changed files with 1188 additions and 308 deletions

View File

@@ -569,24 +569,6 @@ SEC_DESC_BUF *sec_desc_merge(TALLOC_CTX *ctx, SEC_DESC_BUF *new_sdb, SEC_DESC_BU
return(return_sdb);
}
/*******************************************************************
Tallocs a duplicate SID.
********************************************************************/
static DOM_SID *sid_dup_talloc(TALLOC_CTX *ctx, DOM_SID *src)
{
DOM_SID *dst;
if(!src)
return NULL;
if((dst = talloc_zero(ctx, sizeof(DOM_SID))) != NULL) {
sid_copy( dst, src);
}
return dst;
}
/*******************************************************************
Creates a SEC_DESC structure
********************************************************************/