From e058dfb3b0714da229d1bddf96c72611af7b1fab Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 23 Aug 2012 09:39:32 +1000 Subject: [PATCH] s3-pysmbd: Fix return type of smbd.get_nt_acl The security_ prefix is stripped off in the python bindings. Andrew Bartlett --- source3/smbd/pysmbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.4.GIT