summaryrefslogtreecommitdiff
path: root/source3/python/py_winbind.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python/py_winbind.c')
-rw-r--r--source3/python/py_winbind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/python/py_winbind.c b/source3/python/py_winbind.c
index 130f78d7e1..7256f77002 100644
--- a/source3/python/py_winbind.c
+++ b/source3/python/py_winbind.c
@@ -432,7 +432,7 @@ static PyObject *py_auth_crap(PyObject *self, PyObject *args, PyObject *kw)
return NULL;
}
- generate_random_buffer(request.data.auth_crap.chal, 8, False);
+ generate_random_buffer(request.data.auth_crap.chal, 8);
if (use_lm_hash) {
SMBencrypt((uchar *)password, request.data.auth_crap.chal,
@@ -481,7 +481,7 @@ static PyObject *py_auth_smbd(PyObject *self, PyObject *args, PyObject *kw)
return NULL;
}
- generate_random_buffer(request.data.smbd_auth_crap.chal, 8, False);
+ generate_random_buffer(request.data.smbd_auth_crap.chal, 8);
if (use_lm_hash) {
SMBencrypt((uchar *)password,