1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-04 00:23:49 +03:00

r26260: Store loadparm context in gensec context.

This commit is contained in:
Jelmer Vernooij
2007-12-03 17:41:50 +01:00
committed by Stefan Metzmacher
parent a3efdfc8e3
commit b9e3a4862e
31 changed files with 112 additions and 98 deletions

View File

@@ -29,6 +29,7 @@
#include "auth/gensec/socket.h"
#include "auth/credentials/credentials.h"
#include "lib/stream/packet.h"
#include "param/param.h"
struct ldap_simple_creds {
const char *dn;
@@ -217,7 +218,7 @@ NTSTATUS ldap_bind_sasl(struct ldap_connection *conn, struct cli_credentials *cr
NULL
};
status = gensec_client_start(conn, &conn->gensec, NULL);
status = gensec_client_start(conn, &conn->gensec, NULL, global_loadparm);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("Failed to start GENSEC engine (%s)\n", nt_errstr(status)));
goto failed;