summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-06-20 17:29:55 +1000
committerAmitay Isaacs <amitay@gmail.com>2012-06-21 09:41:46 +1000
commit0c29804bb03c5b612278a115bbc2cd9ea830ade7 (patch)
tree746f34e96a4c82d6c46b64ca04004099e911f4b5 /source4
parentbc9e12183f98225d165541448391d896faf4ab7b (diff)
downloadsamba-0c29804bb03c5b612278a115bbc2cd9ea830ade7.tar.gz
samba-0c29804bb03c5b612278a115bbc2cd9ea830ade7.tar.bz2
samba-0c29804bb03c5b612278a115bbc2cd9ea830ade7.zip
s4-pysmb: Parse security info as an unsigned integer
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/pysmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/pysmb.c b/source4/libcli/pysmb.c
index 3f2efe9c87..14b05f7994 100644
--- a/source4/libcli/pysmb.c
+++ b/source4/libcli/pysmb.c
@@ -365,7 +365,7 @@ static PyObject *py_smb_setacl(pytalloc_Object *self, PyObject *args, PyObject *
uint32_t sinfo = 0;
int fnum;
- if (!PyArg_ParseTuple(args, "sO|i:get_acl", &filename, &py_sd, &sinfo)) {
+ if (!PyArg_ParseTuple(args, "sO|I:get_acl", &filename, &py_sd, &sinfo)) {
return NULL;
}