s4-pysmb: Parse security info as an unsigned integer
authorAmitay Isaacs <amitay@gmail.com>
Wed, 20 Jun 2012 07:29:55 +0000 (17:29 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Wed, 20 Jun 2012 23:41:46 +0000 (09:41 +1000)
source4/libcli/pysmb.c

index 3f2efe9c87218a3e6db0522454305f5dec11bbfc..14b05f7994820aeee1fa64b5509c5b4f40dc6e2e 100644 (file)
@@ -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;
        }