CVS smbd crashing
bs
bs at niggard.org
Tue Dec 7 17:20:45 GMT 1999
Hello!
My smbd crashed until i #ifdefed out the port-creation of
port 445 in the »only bind interfaces« path:
--- samba/source/smbd/server.c.old Tue Dec 7 17:46:50 1999
+++ samba/source/smbd/server.c Tue Dec 7 17:47:20 1999
@@ -173,9 +173,11 @@
s = fd_listenset[i * 2] = open_server_socket(port, ifip->s_addr);
if(s == -1) return False;
FD_SET(s,&listen_set);
+#if 0
s = fd_listenset[i * 2 + 1] = open_server_socket(port445,
ifip->s_addr);
if(s == -1) return False;
FD_SET(s,&listen_set);
+#endif
}
} else {
/* Just bind to 0.0.0.0 - accept connections
If you have set »only bind interfaces = true«, this might help.
I still cannot use smbpasswd though.
Luke: the select loop is totally ugly! I could rewrite it, but don't
know
if it isnt better to wait for Main/Head merge...
More information about the samba-ntdom
mailing list