summaryrefslogtreecommitdiff
path: root/source4/scripting/swig/samba.i
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/swig/samba.i')
-rw-r--r--source4/scripting/swig/samba.i6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/scripting/swig/samba.i b/source4/scripting/swig/samba.i
index c7b8b46e66..620d908699 100644
--- a/source4/scripting/swig/samba.i
+++ b/source4/scripting/swig/samba.i
@@ -60,3 +60,9 @@
%typemap(out) NTSTATUS {
$result = PyLong_FromUnsignedLong(NT_STATUS_V($1));
}
+
+%typemap(in) struct cli_credentials * {
+ $1 = cli_credentials_init(arg1);
+ cli_credentials_set_anonymous($1);
+// cli_credentials_set_workstation($1, "FROGURT", CRED_SPECIFIED);
+}