diff options
author | Andreas Schneider <asn@samba.org> | 2020-12-03 17:07:53 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2021-03-24 00:55:32 +0000 |
commit | 4e82150dc14cb8852a7a20c1d57b0db4a4cf82e1 (patch) | |
tree | 11ce5397268bcaa3e527b9e813a44ccbbde9f5d0 /auth/credentials | |
parent | 9e5ac70a7e49ecd0e61e9546ccdf0ad863f1177a (diff) | |
download | samba-4e82150dc14cb8852a7a20c1d57b0db4a4cf82e1.tar.gz |
auth:creds: Use our own cli_credentials_set_cmdline_callbacks()
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'auth/credentials')
-rw-r--r-- | auth/credentials/pycredentials.c | 3 | ||||
-rw-r--r-- | auth/credentials/wscript_build | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/auth/credentials/pycredentials.c b/auth/credentials/pycredentials.c index 250a16018e3..23048c37276 100644 --- a/auth/credentials/pycredentials.c +++ b/auth/credentials/pycredentials.c @@ -22,7 +22,6 @@ #include "python/modules.h" #include "pycredentials.h" #include "param/param.h" -#include "lib/cmdline/credentials.h" #include "auth/credentials/credentials_internal.h" #include "librpc/gen_ndr/samr.h" /* for struct samr_Password */ #include "librpc/gen_ndr/netlogon.h" @@ -474,7 +473,7 @@ static PyObject *py_creds_set_cmdline_callbacks(PyObject *self, PyObject *unused PyErr_Format(PyExc_TypeError, "Credentials expected"); return NULL; } - return PyBool_FromLong(s4_cli_credentials_set_cmdline_callbacks(creds)); + return PyBool_FromLong(cli_credentials_set_cmdline_callbacks(creds)); } static PyObject *py_creds_parse_string(PyObject *self, PyObject *args) diff --git a/auth/credentials/wscript_build b/auth/credentials/wscript_build index 06536651d37..7568554df4d 100644 --- a/auth/credentials/wscript_build +++ b/auth/credentials/wscript_build @@ -32,7 +32,7 @@ pyparam_util = bld.pyembed_libname('pyparam_util') bld.SAMBA_PYTHON('pycredentials', source='pycredentials.c', - public_deps='samba-credentials cmdline-credentials %s %s CREDENTIALS_KRB5 CREDENTIALS_SECRETS' % (pytalloc_util, pyparam_util), + public_deps='samba-credentials %s %s CREDENTIALS_CMDLINE CREDENTIALS_KRB5 CREDENTIALS_SECRETS' % (pytalloc_util, pyparam_util), realname='samba/credentials.so' ) |