1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-19 23:17:05 +03:00

10 Commits

Author SHA1 Message Date
Gerald Carter
f629bffb1a r6678: fix python python after talloc() shakeup 2007-10-10 10:56:50 -05:00
Tim Potter
b157a1b7c3 r2828: Fix for bugzilla #1864 from Brett again.
Add sd->type field to security descriptor Python representation.
2007-10-10 10:52:54 -05:00
Jeremy Allison
28b315a750 Ensure that dup_sec_desc copies the 'type' field correctly. This caused
me to expose a type arguement to make_sec_desc(). We weren't copying
the SE_DESC_DACL_AUTO_INHERITED flag which could cause errors on
auto inherited checks.
Jeremy.
-
Tim Potter
2a960963fb More memory leak fixes from Brett! It turns out PyDict_SetItemString
didn't behave exactly as I thought it did.  If you create an item using a
PyFoo_FromBar function you must decrement the reference to that object
afterwards (or use Py_BuildValue).
-
Tim Potter
dbea592877 Merge of cleanups and srvsvc implementation from HEAD. -
Tim Potter
8e1a15a625 More automatically generated prototype madness. -
Tim Potter
07d11f5e09 Remove unused variable.
#ifdef out code for new (uncommitted) version of make_sec_desc()
-
Tim Potter
f3f4f0d397 Implemented routines to convert from a Python dictionary to a SEC_DESC
structure.

Cleaned up debugging stuff.
-
Tim Potter
38d2b1794a Started working on setprinter code. -
Tim Potter
8e0457f8aa Moved security descriptor routines into their own file. -