diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-18 22:03:47 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-18 22:03:47 +0000 |
commit | 4245278ca3fea4a6b79daf58a8712a2774811c58 (patch) | |
tree | d89a4a899a1b9ecf3518385d90bd5e62776f62a3 /source3/smbd | |
parent | e3b2f276e04bce6365dfb1a7e0b904b7c788c364 (diff) | |
download | samba-4245278ca3fea4a6b79daf58a8712a2774811c58.tar.gz samba-4245278ca3fea4a6b79daf58a8712a2774811c58.tar.xz samba-4245278ca3fea4a6b79daf58a8712a2774811c58.zip |
set "key does not exist" response to reg_query_val() (win32 status code
of 0x2). [p.s. getting REALLY bored of this nt5rc2->samba domain stuff].
(This used to be commit a8801942f72b2394a54e4a46546029fac70efeed)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/server.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index c59e189a9db..590d8533b3a 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -125,6 +125,8 @@ static BOOL open_sockets(BOOL is_daemon,int port,int port445) int s; int i; + memset(&fd_listenset, 0, sizeof(fd_listenset)); + if (!is_daemon) { return open_sockets_inetd(); } @@ -186,11 +188,13 @@ max can be %d\n", return(False); fd_listenset[0] = s; FD_SET(s,&listen_set); +#if 0 s = open_server_socket(port445, interpret_addr(lp_socket_address())); if (s == -1) return(False); fd_listenset[1] = s; FD_SET(s,&listen_set); +#endif } /* now accept incoming connections - forking a new process @@ -221,11 +225,13 @@ max can be %d\n", ClientPort = SMB_PORT; break; } +#if 0 if(FD_ISSET(fd_listenset[i * 2 + 1],&lfds)) { s = fd_listenset[i * 2 + 1]; ClientPort = SMB_PORT2; break; } +#endif } /* Clear this so we don't look |