summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-21 22:41:13 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-22 01:31:57 +0200
commit125e93cdde0798f306cd8a5778ecbf985aa63d3e (patch)
treed5029dc0de37a9da726154afd9ae1b12da913e72 /source3
parent10267f153c590838d2440e71b535e55874d82d9c (diff)
downloadsamba-125e93cdde0798f306cd8a5778ecbf985aa63d3e.tar.gz
samba-125e93cdde0798f306cd8a5778ecbf985aa63d3e.tar.bz2
samba-125e93cdde0798f306cd8a5778ecbf985aa63d3e.zip
s3-pysmbd: Correct the python type for smb_acl_t
The t is weird, but the python bindings trim the traditional IDL name prefix of each element, as it is usually rudundent. Andrew Bartlett
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/pysmbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/pysmbd.c b/source3/smbd/pysmbd.c
index 8fca4e77b7..6456797d63 100644
--- a/source3/smbd/pysmbd.c
+++ b/source3/smbd/pysmbd.c
@@ -398,7 +398,7 @@ static PyObject *py_smbd_set_sys_acl(PyObject *self, PyObject *args)
if (!PyArg_ParseTuple(args, "siO", &fname, &acl_type, &py_acl))
return NULL;
- if (!py_check_dcerpc_type(py_acl, "samba.dcerpc.smb_acl", "sys_acl_t")) {
+ if (!py_check_dcerpc_type(py_acl, "samba.dcerpc.smb_acl", "t")) {
return NULL;
}
@@ -460,7 +460,7 @@ static PyObject *py_smbd_get_sys_acl(PyObject *self, PyObject *args)
talloc_steal(frame, acl);
conn_free(conn);
- py_acl = py_return_ndr_struct("samba.dcerpc.smb_acl", "sys_acl_t", acl, acl);
+ py_acl = py_return_ndr_struct("samba.dcerpc.smb_acl", "t", acl, acl);
TALLOC_FREE(frame);