mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3:pylibsmb: allow ImpersonationLevel argument to create()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=7113 BUG: https://bugzilla.samba.org/show_bug.cgi?id=11892 BUG: https://bugzilla.samba.org/show_bug.cgi?id=13676 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Tim Beale <timbeale@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Dec 13 12:35:06 CET 2018 on sn-devel-144
This commit is contained in:
parent
c8a5e89d9f
commit
ecafdcb391
@ -675,13 +675,13 @@ static PyObject *py_cli_create(struct py_cli_state *self, PyObject *args,
|
||||
static const char *kwlist[] = {
|
||||
"Name", "CreateFlags", "DesiredAccess", "FileAttributes",
|
||||
"ShareAccess", "CreateDisposition", "CreateOptions",
|
||||
"SecurityFlags", NULL };
|
||||
"ImpersonationLevel", "SecurityFlags", NULL };
|
||||
|
||||
if (!ParseTupleAndKeywords(
|
||||
args, kwds, "s|IIIIIII", kwlist,
|
||||
args, kwds, "s|IIIIIIII", kwlist,
|
||||
&fname, &CreateFlags, &DesiredAccess, &FileAttributes,
|
||||
&ShareAccess, &CreateDisposition, &CreateOptions,
|
||||
&SecurityFlags)) {
|
||||
&ImpersonationLevel, &SecurityFlags)) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user