1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

9 Commits

Author SHA1 Message Date
Tim Potter
4fd4aa1152 r2828: Fix for bugzilla #1864 from Brett again.
Add sd->type field to security descriptor Python representation.
(This used to be commit b157a1b7c3e15a960fbc943d37abbb1bf5053a63)
2007-10-10 10:52:54 -05:00
Jeremy Allison
0551426657 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.
(This used to be commit 28b315a7501f42928d73efaa75f74146ba95cf2d)
2003-09-19 21:57:43 +00:00
Tim Potter
4e4e1de9cb 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).
(This used to be commit 2a960963fbe43de753d44d617a7666a7b258092e)
2003-07-29 00:15:23 +00:00
Tim Potter
5ef421f1d8 Merge of cleanups and srvsvc implementation from HEAD.
(This used to be commit dbea592877ad12f270805a9d8a86a50985beaf66)
2003-02-19 22:47:49 +00:00
Tim Potter
0f1de232c2 More automatically generated prototype madness.
(This used to be commit 8e1a15a625b72711bcfab77403e6a6b91e434756)
2002-05-27 06:39:10 +00:00
Tim Potter
646183a78d Remove unused variable.
#ifdef out code for new (uncommitted) version of make_sec_desc()
(This used to be commit 07d11f5e0938c0e4f895391f6c8e2501069a0ef7)
2002-05-08 04:19:52 +00:00
Tim Potter
f530f9c25d Implemented routines to convert from a Python dictionary to a SEC_DESC
structure.

Cleaned up debugging stuff.
(This used to be commit f3f4f0d3978f90c589894234bbcc63728940a246)
2002-05-01 04:19:22 +00:00
Tim Potter
b0fbd72b41 Started working on setprinter code.
(This used to be commit 38d2b1794a0942ac4c2787f06bc5e546508c2515)
2002-04-18 03:35:05 +00:00
Tim Potter
562393fc85 Moved security descriptor routines into their own file.
(This used to be commit 8e0457f8aa7b5ecababcdec4dfbc328d11513192)
2002-04-14 09:04:12 +00:00