diff options
author | Tim Potter <tpot@samba.org> | 2005-04-05 07:58:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:11:26 -0500 |
commit | e1e8928840b632297e3cbbd19aeef5e075ff7798 (patch) | |
tree | 3ab3b7cc29bd773cc041b797a440d3faa433fd23 /source4/scripting/swig/dcerpc.i | |
parent | cf52d62ec998ae30f4460e75817b0503894aff5d (diff) | |
download | samba-e1e8928840b632297e3cbbd19aeef5e075ff7798.tar.gz samba-e1e8928840b632297e3cbbd19aeef5e075ff7798.tar.bz2 samba-e1e8928840b632297e3cbbd19aeef5e075ff7798.zip |
r6208: Add cli_credentials support for swig wrappers. For the moment it
only does anonymous connections.
(This used to be commit b09a4723539235fc924134aa50fc4aed040afb33)
Diffstat (limited to 'source4/scripting/swig/dcerpc.i')
-rw-r--r-- | source4/scripting/swig/dcerpc.i | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/scripting/swig/dcerpc.i b/source4/scripting/swig/dcerpc.i index a1261f997d..a76e1301af 100644 --- a/source4/scripting/swig/dcerpc.i +++ b/source4/scripting/swig/dcerpc.i @@ -153,13 +153,12 @@ void set_werror_exception(int status) %rename(pipe_connect) dcerpc_pipe_connect; -NTSTATUS dcerpc_pipe_connect(struct dcerpc_pipe **OUT, +NTSTATUS dcerpc_pipe_connect(TALLOC_CTX *parent_ctx, + struct dcerpc_pipe **OUT, const char *binding, const char *pipe_uuid, uint32_t pipe_version, - const char *domain, - const char *username, - const char *password); + struct cli_credentials *credentials); %typemap(in) DATA_BLOB * (DATA_BLOB temp_data_blob) { temp_data_blob.data = PyString_AsString($input); |