git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8e24a2
)
s3-pysmbd: Fix return type of smbd.get_nt_acl
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 22 Aug 2012 23:39:32 +0000
(09:39 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 23 Aug 2012 13:02:26 +0000
(15:02 +0200)
The security_ prefix is stripped off in the python bindings.
Andrew Bartlett
source3/smbd/pysmbd.c
patch
|
blob
|
history
diff --git
a/source3/smbd/pysmbd.c
b/source3/smbd/pysmbd.c
index a4de0e44eeecaaaceeedbafa9f2368205b9887d3..6a0811a9b34b21f1a95656b8557a1dd23fbed0f1 100644
(file)
--- 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);