*/
#include "includes.h"
-#include "smb.h"
/* This is our local master browser list database. */
extern ubi_dlList lmb_browserlist[];
*/
#include "includes.h"
-#include "smb.h"
extern int ClientNMB;
*/
#include "includes.h"
-#include "smb.h"
extern int ClientNMB;
extern int ClientDGRAM;
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;
*/
#include "includes.h"
-#include "smb.h"
extern int ClientNMB;
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 */
/* 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);