mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +03:00
r26385: Integrate gensec-socket into gensec.
(This used to be commit 78bb444b4b)
This commit is contained in:
committed by
Stefan Metzmacher
parent
3971827b6e
commit
3da665e9ac
@@ -26,7 +26,6 @@
|
||||
#include "libcli/ldap/ldap_client.h"
|
||||
#include "lib/tls/tls.h"
|
||||
#include "auth/gensec/gensec.h"
|
||||
#include "auth/gensec/socket.h"
|
||||
#include "auth/credentials/credentials.h"
|
||||
#include "lib/stream/packet.h"
|
||||
#include "param/param.h"
|
||||
@@ -221,6 +220,8 @@ NTSTATUS ldap_bind_sasl(struct ldap_connection *conn,
|
||||
NULL
|
||||
};
|
||||
|
||||
gensec_init(lp_ctx);
|
||||
|
||||
status = gensec_client_start(conn, &conn->gensec, NULL, lp_ctx);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(0, ("Failed to start GENSEC engine (%s)\n", nt_errstr(status)));
|
||||
|
||||
@@ -137,7 +137,7 @@ NTSTATUS nbt_name_refresh(struct nbt_name_socket *nbtsock,
|
||||
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
a wins name refresh with multiple WINS servers and multiple
|
||||
addresses to refresh. Try each WINS server in turn, until we get a
|
||||
reply for each address
|
||||
@@ -152,7 +152,7 @@ struct refresh_wins_state {
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
/**
|
||||
state handler for WINS multi-homed multi-server name refresh
|
||||
*/
|
||||
static void name_refresh_wins_handler(struct nbt_name_request *req)
|
||||
|
||||
Reference in New Issue
Block a user