Remove another use of global_loadparm.
[samba.git] / source4 / auth / ntlm / auth_server.c
index 2af0cc8a00baa96619706902482eba5ef98ebccd..fd0ef0fe4ad9876c75491261edfadad977466088 100644 (file)
@@ -67,6 +67,7 @@ static NTSTATUS server_get_challenge(struct auth_method_context *ctx, TALLOC_CTX
        }
        io.in.dest_ports = lp_smb_ports(ctx->auth_ctx->lp_ctx); 
        io.in.socket_options = lp_socket_options(ctx->auth_ctx->lp_ctx);
+       io.in.gensec_settings = lp_gensec_settings(mem_ctx, ctx->auth_ctx->lp_ctx);
 
        io.in.called_name = strupper_talloc(mem_ctx, io.in.dest_host);