diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-06-06 14:58:28 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-06 17:37:51 +1000 |
commit | 907cdb5de7f16a2540299aeba211bf2a5ae6fafe (patch) | |
tree | eccc984eb3fd073eb49478ff47163dfdf10d7a29 /source4/auth/gensec/pygensec.c | |
parent | f67a14976bd6ccdacd319df872e6add994f0e0f3 (diff) | |
download | samba-907cdb5de7f16a2540299aeba211bf2a5ae6fafe.tar.gz samba-907cdb5de7f16a2540299aeba211bf2a5ae6fafe.tar.bz2 samba-907cdb5de7f16a2540299aeba211bf2a5ae6fafe.zip |
s4-modules Remove lp_ctx from init functions that no longer need it
Now that we don't allow the smb.conf to change the modules dir, many
functions that simply load modules or initialise a subsytem that may
load modules no longer need an lp_ctx.
Andrew Bartlett
Diffstat (limited to 'source4/auth/gensec/pygensec.c')
-rw-r--r-- | source4/auth/gensec/pygensec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/gensec/pygensec.c b/source4/auth/gensec/pygensec.c index 004cc4a76e..503974aaa3 100644 --- a/source4/auth/gensec/pygensec.c +++ b/source4/auth/gensec/pygensec.c @@ -127,7 +127,7 @@ static PyObject *py_gensec_start_client(PyTypeObject *type, PyObject *args, PyOb return NULL; } - status = gensec_init(settings->lp_ctx); + status = gensec_init(); if (!NT_STATUS_IS_OK(status)) { PyErr_SetNTSTATUS(status); PyObject_DEL(self); @@ -210,7 +210,7 @@ static PyObject *py_gensec_start_server(PyTypeObject *type, PyObject *args, PyOb } } - status = gensec_init(settings->lp_ctx); + status = gensec_init(); if (!NT_STATUS_IS_OK(status)) { PyErr_SetNTSTATUS(status); PyObject_DEL(self); |