s3: Fix the build without cluster
authorVolker Lendecke <vl@samba.org>
Sun, 29 Aug 2010 21:13:34 +0000 (23:13 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 29 Aug 2010 21:14:49 +0000 (23:14 +0200)
source3/smbd/process.c

index 51b2e51e091f4ae208fd179db6712b18931b7e11..2ccb7d6a7cef2cf0c5b8184124bc7bb6a6a79811 100644 (file)
@@ -2889,6 +2889,8 @@ fail:
        return false;
 }
 
+#if CLUSTER_SUPPORT
+
 static NTSTATUS smbd_register_ips(struct smbd_server_connection *sconn,
                                  struct sockaddr_storage *srv,
                                  struct sockaddr_storage *clnt)
@@ -2910,6 +2912,8 @@ static NTSTATUS smbd_register_ips(struct smbd_server_connection *sconn,
        return ctdbd_register_ips(cconn, srv, clnt, release_ip, addr);
 }
 
+#endif
+
 /****************************************************************************
  Process commands from the client
 ****************************************************************************/