s3: Remove a use of smbd_server_fd
authorVolker Lendecke <vl@samba.org>
Sat, 28 Aug 2010 14:18:07 +0000 (16:18 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 29 Aug 2010 19:55:23 +0000 (21:55 +0200)
This disables different socket options per user for ntlmssp authentiation, a
change in behaviour which is exotic enough I believe.

source3/auth/auth_ntlmssp.c

index d533ac93f560608819b77c451582f0734fa89a22..aa7998cf639508d4bd55ff90d37d9fcf167622cb 100644 (file)
@@ -122,7 +122,7 @@ static NTSTATUS auth_ntlmssp_check_password(struct ntlmssp_state *ntlmssp_state,
        /* sub_set_smb_name checks for weird internally */
        sub_set_smb_name(auth_ntlmssp_state->ntlmssp_state->user);
 
-       reload_services(smbd_messaging_context(), smbd_server_fd(), True);
+       reload_services(smbd_messaging_context(), -1, True);
 
        nt_status = make_user_info_map(&user_info, 
                                       auth_ntlmssp_state->ntlmssp_state->user,