diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-10-30 08:32:26 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-10-30 08:32:26 +0000 |
commit | 7fd381376f88ae99a4bf022d89f21ae497b48c1a (patch) | |
tree | 82faf5b1e26e2676c85d17d3f34336f58f21db64 /source4/smbd | |
parent | 4e3ca10b13b03b01fda2233b88c827019a69bfee (diff) | |
download | samba-7fd381376f88ae99a4bf022d89f21ae497b48c1a.tar.gz samba-7fd381376f88ae99a4bf022d89f21ae497b48c1a.tar.bz2 samba-7fd381376f88ae99a4bf022d89f21ae497b48c1a.zip |
- a few portability fixes from Jim Myers
- added SMBD_LISTEN_BACKLOG in local.h
- added the beginnings of a ndr/rpc parsing framework for Samba4. It
currently correctly parses security descriptors for the nttrans
QUERY_SECDESC call, but I hope it will become a reasonable framework
that an idl based generator can work to
(This used to be commit 9bf904fc34f88e0581f93656e73d3c01ca96f761)
Diffstat (limited to 'source4/smbd')
-rw-r--r-- | source4/smbd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c index ae1566b5ac..65ead2f4ce 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -63,7 +63,7 @@ static void add_socket(struct event_context *events, set_socket_options(fde.fd, "SO_KEEPALIVE"); set_socket_options(fde.fd, lp_socket_options()); - if (listen(fde.fd, 10) == -1) { + if (listen(fde.fd, SMBD_LISTEN_BACKLOG) == -1) { DEBUG(0,("Failed to listen on %s:%d - %s\n", inet_ntoa(*ifip), port, strerror(errno))); close(fde.fd); |