Displaying 3 results from an estimated 3 matches for "isdaemon".
Did you mean:
is_daemon
2005 Mar 28
1
[BUG] Samba 3.0.11: nmbd forgets to close stderr
...rted and works at
the same time. And the shell gives the control back only after the
daemon is stopped. This looks like nmbd holds stderr opened after
fork or so. Then, this dummy patch cures all the things back:
--- nmbd/nmbd.c
+++ nmbd/nmbd.c
@@ -766,6 +766,7 @@ static BOOL open_sockets(BOOL isdaemon,
/* We can only take signals in the select. */
BlockSignals( True, SIGTERM );
+ close(2);
process();
if (dbf)
So, this confirms that stderr is left opened by the daemon.
I can't say when this bug has arisen exactly. All I know is that it
does not present in 3.0.4 and presents i...
2014 Nov 04
1
Solution for: "Samba server does not show up in Windows Network Places"
I may have a solution to this problem but would like any advice on the downside of doing this. Essentially, I remove role check in nmbd.c as follows:
--- samba-4.1.13.orig/source3/nmbd/nmbd.c
+++ samba-4.1.13/source3/nmbd/nmbd.c
@@ -914,16 +914,6 @@ static bool open_sockets(bool isdaemon,
reopen_logs();
- if (lp_server_role() == ROLE_ACTIVE_DIRECTORY_DC
- && !lp_parm_bool(-1, "server role check", "inhibit", false)) {
- /* TODO: when we have a merged set of defaults for
- * loadparm, we could possibly check if the internal
- * nbt server is...
2004 Aug 27
4
samba multiple instances
Hi !
I want to run 2 samba instances on my linux server.
the server has 2 ip adresses and i made 2 different smb.conf`s (2 different netbios-names/workgroups bound to specific interfaces -
params "interfaces" , "bind interfaces only" and "socket address")
furthermore i cloned the start/stopscripts (cp smb/nmb to smb2/nmb2) to use that different smb.conf`s.
but that