diff options
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/auth_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth_server.c b/source4/auth/auth_server.c index b4fbeea2f5..36637edd57 100644 --- a/source4/auth/auth_server.c +++ b/source4/auth/auth_server.c @@ -92,7 +92,7 @@ static struct smbcli_state *server_cryptkey(TALLOC_CTX *mem_ctx) DEBUG(3,("got session\n")); - if (!smbcli_negprot(cli)) { + if (!smbcli_negprot(cli, lp_cli_maxprotocol(global_loadparm))) { DEBUG(1,("%s rejected the negprot\n",desthost)); release_server_mutex(); talloc_free(cli); |