summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
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 Vernooij4-45/+48
2011-04-05auth: Move auth_session_info into IDLAndrew Bartlett1-0/+74
This changes auth_session_info_transport to just be a wrapper, rather than a copy that has to be kept in sync. As auth_session_info was already wrapped in python, this required changes to the existing pyauth wrapper and it's users. Andrew Bartlett
2010-12-01s4-librpc Handle all types of GUID in the GUID() initialiserAndrew Bartlett1-3/+11
By taking a length-limited string, we can parse binary and string GUID values, which is particularly useful when reading from ldb. Andrew Bartlett
2010-05-20librpc: finally merge ndr_string.c.Günther Deschner1-705/+0
Guenther
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-20/+14
2010-05-14s4-libndr: fix ndr_pull_string_array() for non utf16 arrays in s4 as well.Günther Deschner1-1/+1
Guenther
2010-01-21pyxattr: Fix memory leaks.Jelmer Vernooij1-1/+1
2010-01-21pyxattr: Fix return value, raise exception, fix memory leak.Jelmer Vernooij1-1/+6
2010-01-21s4: allow python code to dump NTACL object as wellMatthieu Patou1-0/+94
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 Vernooij2-28/+0
2009-09-20s4:py_security Add missing headerAndrew Bartlett1-0/+23
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-08-12try to give some hint as to what is causing NDR string errorsAndrew Tridgell1-8/+8
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-21Add str() for policy_handles.Andrew Bartlett1-1/+11
Pair programmed with Jelmer
2009-04-21python/dcerpc: Custom implementations of policy_handle.__init__ and ↵Andrew Bartlett1-0/+38
policy_handle.__repr__ pair-programmed with Jelmer
2009-04-21python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and ↵Andrew Bartlett1-0/+92
GUID.__cmp__.
2009-04-20Make domain sid argument to as_sddl() optional.Jelmer Vernooij1-3/+12
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij1-33/+23
2009-03-01Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij1-10/+10
consistency with Samba 3.
2009-02-19s4:librpc/ndr: if uninitialized variable in string_array codeStefan Metzmacher1-1/+1
metze
2009-02-05spoolss: move ndr spoolss helper to main librpc dir.Günther Deschner1-532/+0
Guenther
2009-02-03librpc: add ndr_size_string_array().Günther Deschner1-0/+23
Guenther
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
2009-01-01Fix syntax errors.Jelmer Vernooij1-2/+2
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
2008-12-12Move dom_sid to the Samba 3 IDL file, remove the old definition.Jelmer Vernooij1-248/+0
2008-12-12Manually marshall dom_sid, so we can use a fixed size array forJelmer Vernooij1-2/+33
dom_sid.sub_auths rather than a dynamically allocated one. This makes it possible to use the same DCE/RPC object code for Samba 3 and Samba 4's DCE/RPC parsers and allows copying sids more easily (since they no longer contain any pointers). The cost of having additional manual marshalling code is limited (~35 additional lines of C code).
2008-11-07librpc/ndr: move ndr_sec_helper.c to the toplevelStefan Metzmacher1-88/+0
metze
2008-11-07s4: ndr_sec_helper: remove unused includeStefan Metzmacher1-1/+0
metze
2008-11-07s4: security.idl: split of dom_sid stuff into dom_sid.idlStefan Metzmacher2-190/+218
This prepares having a shared security.idl file metze
2008-10-24Remove another use of global_loadparm.Jelmer Vernooij1-8/+9
2008-10-24Remove iconv_convenience argument from convert_string{,talloc}() butJelmer Vernooij1-10/+10
make them wrappers around convert_string{,talloc}_convenience().
2008-10-20Move orpc to top-level directory.Jelmer Vernooij1-173/+0
2008-10-20Move WMI support code to top-level.Jelmer Vernooij2-63/+0