summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/py_security.c
AgeCommit message (Collapse)AuthorFilesLines
2011-08-19py_security: Fix comparison between two dom_sid objectsAmitay Isaacs1-1/+9
dom_sid_compare() function can return values other than -1, 0, 1. Python requires compare function to return value from [-1, 0, 1]. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-10pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij1-33/+34
2009-12-31pyldb: Add dom_sid.split in favor of less powerful dom_sid_to_rid().Jelmer Vernooij1-0/+36
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-09-23provision: Avoid linking in multiple copies of security python module.Jelmer Vernooij1-5/+0
2009-09-20s4:provision Use code to store domain join in 'net join' as wellAndrew Bartlett1-0/+5
This ensures we only have one codepath to store the secret, and therefore that we have a single choke point for setting the saltPrincipal, which we were previously skipping. Andrew Bartlett
2009-09-17pyldb: Don't segfault when invalid type is specified to as_sddl and from_sddl.Matthieu Patou1-2/+2
Fix bug #6723
2009-07-30DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal.Jelmer Vernooij1-4/+4
Use py_talloc_reference in DCE/RPC code, fixes access to SAMR pipe.
2009-07-01py_talloc_import now uses a steal, so this free is incorrectAndrew Tridgell1-1/+0
2009-04-23Fix of a bug in the security.descriptor.as_sddl() methodnadezhda ivanova1-1/+1
security.descriptor.as_sddl() method did not work correctly when invoked without supplying the domain sid. Returned the same value as when the sid was provided. Test added for this case in libcli/security/tests/bindings.py Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-04-20Make domain sid argument to as_sddl() optional.Jelmer Vernooij1-3/+12
2009-02-02s4:py_security: avoid 'this' and use 'py_self' and 'self'Stefan Metzmacher1-9/+9
metze
2009-01-22Implement as_sddl.Jelmer Vernooij1-1/+19
2009-01-22Support parsing sddl for security descriptors.Jelmer Vernooij1-2/+29
2009-01-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij1-1/+5
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty1-0/+1
2009-01-06py: Properly increase the reference counter of Py_None.Jelmer Vernooij1-5/+5
2008-12-21Fix more tests, improve repr() functions for various Python types.Jelmer Vernooij1-30/+5
2008-12-21Simplify customization of pidl-generated Python modules.Jelmer Vernooij1-47/+104
2008-12-21Allow providing extra module-level Python functions.Jelmer Vernooij1-1/+6
2008-12-21Merge the rest of security.i into samba.dcerpc.security.Jelmer Vernooij1-0/+35
2008-12-21Remove duplicate Python bindings for dom_sid, security_descriptor andJelmer Vernooij1-0/+214
security_token.
2008-12-16Add python extensions for dom_sid.Jelmer Vernooij1-0/+58