1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

2365 Commits

Author SHA1 Message Date
Stefan Metzmacher
b493bc1aa1 s4:build: remove not commited files under librpc/gen_ndr with make clean
metze
2009-02-05 17:48:10 +01:00
Günther Deschner
b03913cbc6 spoolss: move ndr spoolss helper to main librpc dir.
Guenther
2009-02-05 16:04:36 +01:00
Stefan Metzmacher
8b408f7819 s4:selftest: avoid hardcoded pathes in blackbox tests
metze
2009-02-03 16:31:04 +01:00
Günther Deschner
35f1e02ca4 librpc: add ndr_size_string_array().
Guenther
2009-02-03 15:42:29 +01:00
Stefan Metzmacher
eb012dd212 s4:auth/credentials: the python bindings don't use swig anymore
metze
2009-02-02 15:16:09 +01:00
Stefan Metzmacher
b4af7074b7 s4:py_security: avoid 'this' and use 'py_self' and 'self'
metze
2009-02-02 13:09:18 +01:00
Stefan Metzmacher
0ac7792e02 s4:libcliraw: s/private/private_data
metze
2009-02-02 13:08:51 +01:00
Stefan Metzmacher
74e783bf58 s4:librpc/rpc: s/private/private_data
metze
2009-02-02 13:08:29 +01:00
Jelmer Vernooij
d30b6af953 pyrpc: Raise proper NDR error codes with matching strings rather than mapping
to NTSTATUS first.
2009-01-26 17:31:50 +01:00
Jelmer Vernooij
c9d193eb08 Add prototypes required by samba-gtk. 2009-01-25 05:32:30 +01:00
Jelmer Vernooij
a4afed1e9a Implement as_sddl. 2009-01-22 14:49:51 +01:00
Jelmer Vernooij
fc50f7ecba Support parsing sddl for security descriptors. 2009-01-22 14:37:59 +01:00
Volker Lendecke
f8f878285d Add derpc_transport_string_by_transport(), apply some const 2009-01-09 23:08:16 +01:00
Günther Deschner
f2dd351a1e s4-smbtorture: print hand-decoded service status array in svcctl torture test.
Guenther
2009-01-09 17:08:18 +01:00
Jelmer Vernooij
ba5d6e6d70 Avoid using a utility header for Python replacements included in Samba,
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-08 12:20:20 +01:00
Tim Prouty
61a23c5eea s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4 2009-01-07 15:03:16 -08:00
Jelmer Vernooij
f4735b7180 Set proper python exception when running out of memory. 2009-01-07 22:40:13 +01:00
Volker Lendecke
1d427dcee0 Add some const to dcerpc_binding_build_tower() 2009-01-06 21:57:01 +01:00
Jelmer Vernooij
63e7c2fef8 Fix prototype. 2009-01-06 21:45:13 +01:00
Jelmer Vernooij
d2c70d24e1 py: Properly increase the reference counter of Py_None. 2009-01-06 04:13:57 +01:00
Jelmer Vernooij
ce47b69d8e Fix syntax errors. 2009-01-01 06:33:25 +01:00
Jelmer Vernooij
08259c1c52 Add iconv_convenience argument to size functions. 2009-01-01 04:45:33 +01:00
Stefan Metzmacher
183c379fe5 s4:lib/tevent: rename structs
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"

for s in $list; do
	o=`echo $s | cut -d ':' -f1`
	n=`echo $s | cut -d ':' -f2`
	r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
	files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
	for f in $files; do
		cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
		mv $f.tmp $f
	done
done

metze
2008-12-29 20:46:40 +01:00
Jelmer Vernooij
1feab85be6 Rename samba-socket -> samba_socket to fix a couple more compiler
warnings.
2008-12-24 00:15:43 +01:00
Jelmer Vernooij
1807b0870b pidl/python: Factor out connect code rather than duplicating it in each
Python module.
2008-12-22 04:56:41 +01:00
Jelmer Vernooij
d58270c537 Add header for pyparam. 2008-12-22 04:38:57 +01:00
Jelmer Vernooij
4eabc417a0 Remove unnecessary dependencies between Python modules. 2008-12-22 04:13:16 +01:00
Jelmer Vernooij
2396d8d613 Use consistent names for dcerpc python modules; fixes messaging test. 2008-12-22 04:03:55 +01:00
Jelmer Vernooij
2c58c9497c Import types from other Python mechanisms using the Python import mechanism, to ensure they are initialized. 2008-12-22 01:51:38 +01:00
Jelmer Vernooij
2227860a79 Fix more tests, improve repr() functions for various Python types. 2008-12-21 23:05:35 +01:00
Jelmer Vernooij
7e651c7ef3 Simplify customization of pidl-generated Python modules. 2008-12-21 21:10:40 +01:00
Jelmer Vernooij
38a4749d2c Allow providing extra module-level Python functions. 2008-12-21 18:46:59 +01:00
Jelmer Vernooij
f2b4aa82e0 Merge the rest of security.i into samba.dcerpc.security. 2008-12-21 18:25:59 +01:00
Jelmer Vernooij
a925e22d7a Remove duplicate Python bindings for dom_sid, security_descriptor and
security_token.
2008-12-21 18:03:27 +01:00
Jelmer Vernooij
bd41b4579c Avoid linking in all Python modules to the samba binaries - we can just let Python dlopen() them. 2008-12-21 00:53:06 +01:00
Stefan Metzmacher
fc31f2c526 s4:lib/socket: socket_connect_send() and socket_connect_ev() should only wrok with addresses
metze
2008-12-18 13:32:51 +01:00
Stefan Metzmacher
4c2a113dd0 s4:librpc/rpc: remove we should not redo the name resolving for secondary tcp connections
metze
2008-12-18 13:32:51 +01:00
Stefan Metzmacher
fa23a63b4d s4:headermap: dom_sid.h was renamed to server_id.h
metze
2008-12-17 18:55:45 +01:00
Jelmer Vernooij
b3c926376c Fix header installation after move of gen_ndr headers. 2008-12-16 22:20:21 +01:00
Jelmer Vernooij
b5a0c4cefe Share object files for gen_ndr. 2008-12-16 18:56:21 +01:00
Jelmer Vernooij
4c7293feae Simplify idl-deps.pl script a bit. 2008-12-16 16:46:13 +01:00
Jelmer Vernooij
0f04beff33 Rename dom_sid.idl -> server_id.idl (since it no longer actually contains the dom_sid). No longer include it from security.idl. 2008-12-16 15:36:18 +01:00
Jelmer Vernooij
530758dc2a Add python extensions for dom_sid. 2008-12-16 00:16:02 +01:00
Jelmer Vernooij
cd25b6245f Move dom_sid to the Samba 3 IDL file, remove the old definition. 2008-12-12 20:20:01 +01:00
Jelmer Vernooij
c4fc0b49f0 Manually marshall dom_sid, so we can use a fixed size array for
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-12-12 19:52:06 +01:00
Jelmer Vernooij
d1101dba79 Remove noejs property, which is no longer used. 2008-12-12 11:48:42 +01:00
Stefan Metzmacher
d595844891 s4:librpc: add SUBSYSTEM::RPC_NDR_BROWSER
metze
2008-12-06 14:56:50 +01:00
Sam Liddicott
f5a87e35d2 Make sure dom_sid.h is installed. 2008-11-25 15:41:07 +01:00
Jelmer Vernooij
15c629181a Move wireshark conformance file to top-level. 2008-11-19 00:10:15 +01:00
Stefan Metzmacher
1290b1d3d3 s4:librpc/ndr: integrate NDR_MISC into LIBNDR
metze
2008-11-16 16:24:34 +01:00