[Samba] Samba4 acting as standalone server, smb.conf parameters and run daemons !

Joe Maloney jmaloney at pcbsd.org
Fri Feb 28 13:39:53 MST 2014

I think this is maybe the explanation Rowland was talking about from Andrew?


It would make sense for a business environment not to run the samba DC &
file server roles on the same server as previously explained when I asked.
If the only function of the DC is to serve sysvol and netlogon then network
browsing really wouldn't be needed in my opinion as the member server with
the actual file shares would be browse-able am I right?

Joe Maloney

On Fri, Feb 28, 2014 at 2:33 PM, Computer service SPb. <
cpservicespb at gmail.com> wrote:

> I will write one more time that I start nmbd after start samba (Samba4 as
> DC) and it could work but with one "magic" value set up in smb.conf (for me
> it works fine) .
> Regarding 137 port at the moment I can' t check out behaviour of
> samba/nmbd/137 port and/or whether the port is busy or not because of
> "playing" with Samba4 as standalone server. But as I suppose if 137 port
> woud busy after samba starting nmbd simply would not start (there would be
> error returned) but there works good.
> And when I tried some broadcast relay proxies to attach to 137 port (with
> nmbd started) I really got message that soft couldn' t binded to the port.
> I can provide as my starting script as nmbd log (but in private way) .
> 2014-03-01 0:20 GMT+04:00 Joe Maloney <jmaloney at pcbsd.org>:
> Can you elaborate on why you told Rowland not to start nmbd after starting
>> samba?  I haven't done this and don't plan to.  I am just curious could it
>> destroy or corrupt something by starting that process?
>> Joe Maloney
>> On Fri, Feb 28, 2014 at 2:11 PM, Andrew Bartlett <abartlet at samba.org>wrote:
>>> On Fri, 2014-02-28 at 23:20 +0400, Computer service SPb. wrote:
>>> > Ok, for standalone server.
>>> > What about dcerpc endpoint ?
>>> Unless you are running openchange's server, this parameter never needs
>>> to be modified.
>>> > But as I wrote earlier about Nmbd while Samba4 as DC at the moment I
>>> > have fully working configuration of Samba4 DC (samba binary is run)
>>> > and nmbd binary is started and run with it.
>>> > But I start nmbd separatelly by script written by me after samba
>>> > binary is started (when Samba4 acts as DC) .
>>> > And more over I have even semi worked configuration of Samba4 as DC
>>> > and nmbd with browsing of Lan / VPN (client-to-server) clients when
>>> > they could see each other in their neighborhood (but works partly
>>> > because of VPN clients I don' t know why but could be as master/backup
>>> > browser at the moment and I didn' t set up Samba4 as Wins) .
>>> So, that thing I told you not to do.  Please don't do it.
>>> Andrew Bartlett
>>> --
>>> Andrew Bartlett                       http://samba.org/~abartlet/
>>> Authentication Developer, Samba Team  http://samba.org
>>> Samba Developer, Catalyst IT
>>> http://catalyst.net.nz/services/samba
>>> --
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list