1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-30 13:18:05 +03:00

Remove extra headers, and ensure that we correctly bail out of winbindd if we

can't create the socket.

Andrew Bartlett
(This used to be commit 13b9af53bf)
This commit is contained in:
Andrew Bartlett 2002-12-01 03:14:30 +00:00
parent f634f24cf8
commit 8f84d170af
7 changed files with 7 additions and 7 deletions

View File

@ -22,7 +22,6 @@
*/
#include "includes.h"
#include "smb.h"
/* This is our local master browser list database. */
extern ubi_dlList lmb_browserlist[];

View File

@ -22,7 +22,6 @@
*/
#include "includes.h"
#include "smb.h"
extern int ClientNMB;

View File

@ -24,7 +24,6 @@
*/
#include "includes.h"
#include "smb.h"
extern int ClientNMB;
extern int ClientDGRAM;

View File

@ -28,7 +28,6 @@
also allows us to have more than 1 sync going at once (tridge) */
#include "includes.h"
#include "smb.h"
struct sync_record {
struct sync_record *next, *prev;

View File

@ -22,7 +22,6 @@
*/
#include "includes.h"
#include "smb.h"
extern int ClientNMB;

View File

@ -24,8 +24,7 @@
Boston, MA 02111-1307, USA.
*/
#include "winbind_nss_config.h"
#include "winbindd_nss.h"
#include "winbind_client.h"
/* Global variables. These are effectively the client state information */

View File

@ -519,6 +519,12 @@ static void process_loop(void)
/* Initialise fd lists for select() */
listen_sock = open_winbindd_socket();
if (listen_sock == -1) {
perror("open_winbind_socket");
exit(1);
}
maxfd = listen_sock;
FD_ZERO(&r_fds);