summaryrefslogtreecommitdiffstats
path: root/source/python
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-02-27 10:32:45 +0000
committerGünther Deschner <gd@samba.org>2006-02-27 10:32:45 +0000
commit34738398012b8ce714586c77e39351c50e9ca629 (patch)
treedd99d9cea12b97597f32e8ebb841ba7a362b5e3c /source/python
parentf34ca8060a495000b26fbd038152ba0532898fa5 (diff)
downloadsamba-34738398012b8ce714586c77e39351c50e9ca629.tar.gz
samba-34738398012b8ce714586c77e39351c50e9ca629.tar.xz
samba-34738398012b8ce714586c77e39351c50e9ca629.zip
r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16.
* Fix a couple of related parsing issues. * in the info3 reply in a samlogon, return the ACB-flags (instead of returning zero) Guenther
Diffstat (limited to 'source/python')
-rw-r--r--source/python/py_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/python/py_samr.c b/source/python/py_samr.c
index fc9f2a83ebe..a26cd8d132e 100644
--- a/source/python/py_samr.c
+++ b/source/python/py_samr.c
@@ -467,7 +467,7 @@ static PyObject *samr_create_dom_user(PyObject *self, PyObject *args,
uint32 user_rid;
PyObject *result = NULL;
TALLOC_CTX *mem_ctx;
- uint16 acb_info = ACB_NORMAL;
+ uint32 acb_info = ACB_NORMAL;
POLICY_HND user_pol;
if (!PyArg_ParseTupleAndKeywords(