[PATCH] Fix bug #9166 - Starting smbd or nmbd with stdin from /dev/null results in "EOF on stdin"

Andrew Bartlett abartlet at samba.org
Tue Jun 18 21:52:43 MDT 2013

On Tue, 2013-06-18 at 11:18 -0700, Jeremy Allison wrote:
> OEM confirms this fixes the issue for them.
> Please review and push if you're ok with it.

The source4/smbd/server.c patch seems to be missing an fstat call.

Also, what happens if the fd is not a file, but a socket or a pipe?

Andrew Bartlett

Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org

More information about the samba-technical mailing list