From: Andrew Bartlett Date: Wed, 22 Aug 2012 23:39:32 +0000 (+1000) Subject: s3-pysmbd: Fix return type of smbd.get_nt_acl X-Git-Tag: samba-4.0.0beta7~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e058dfb3b0714da229d1bddf96c72611af7b1fab;p=thirdparty%2Fsamba.git s3-pysmbd: Fix return type of smbd.get_nt_acl The security_ prefix is stripped off in the python bindings. Andrew Bartlett --- diff --git a/source3/smbd/pysmbd.c b/source3/smbd/pysmbd.c index a4de0e44eee..6a0811a9b34 100644 --- a/source3/smbd/pysmbd.c +++ b/source3/smbd/pysmbd.c @@ -382,7 +382,7 @@ static PyObject *py_smbd_get_nt_acl(PyObject *self, PyObject *args) sd = get_nt_acl_no_snum(tmp_ctx, fname); - py_sd = py_return_ndr_struct("samba.dcerpc.security", "security_descriptor", sd, sd); + py_sd = py_return_ndr_struct("samba.dcerpc.security", "descriptor", sd, sd); talloc_free(tmp_ctx);