From 125e93cdde0798f306cd8a5778ecbf985aa63d3e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 21 Aug 2012 22:41:13 +1000 Subject: 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 --- source3/smbd/pysmbd.c | 4 ++-- 1 file 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); -- cgit