diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-23 09:39:32 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-23 15:02:26 +0200 |
commit | e058dfb3b0714da229d1bddf96c72611af7b1fab (patch) | |
tree | fc8dba13e4ad4dd0fbdd219f0ff9214f4bf96931 /source3/smbd/pysmbd.c | |
parent | e8e24a251b7625647352764298f108769bbad922 (diff) | |
download | samba-e058dfb3b0714da229d1bddf96c72611af7b1fab.tar.gz samba-e058dfb3b0714da229d1bddf96c72611af7b1fab.tar.xz samba-e058dfb3b0714da229d1bddf96c72611af7b1fab.zip |
s3-pysmbd: Fix return type of smbd.get_nt_acl
The security_ prefix is stripped off in the python bindings.
Andrew Bartlett
Diffstat (limited to 'source3/smbd/pysmbd.c')
-rw-r--r-- | source3/smbd/pysmbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |