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

Rowland Penny rowlandpenny at googlemail.com
Fri Feb 28 14:44:10 MST 2014

On 28/02/14 20:46, Computer service SPb. wrote:
> I don' t want to folllow to MS slogan using *nix soft: for each role is
> a separate server, that is for DC - 1 server, for DNS - other 1 server, for
> route/gate - one more 1 server, and so on.
> By the way I use ubuntu 12.04 LTS.

I use Ubuntu 12.04 LTS, my AD server is also my dns server AND my dhcp 
server, so I know where you are coming from.

Follow the link I posted and try and understand it, it was pointed out 
to me that I should not run nmbd & samba together by the same person 
that is now telling you not to do it - Andrew Bartlett, I do not 
understand why you will not believe what a major samba dev is telling 
you. I do not fully understand why the two daemons should not be run 
together, but I do believe that Andrew knows what he is talking about.


> I need compact solution.
> For browsing, I can agree with Joe, that for Sysvol and Netlogon browsing i
> not necassary.
> But I have wider task in my own, I want to get working browsing within Lan
> (more then 1 group) and for pptp/l2tp teleworker VPN clients also (much
> difficult) .
> And I have got it for 70 percent (by my estimation) .
> But need some help for that and have posted separate "topic" for it.
> 2014-03-01 0:39 GMT+04:00 Joe Maloney <jmaloney at pcbsd.org>:
>> I think this is maybe the explanation Rowland was talking about from
>> Andrew?
>> https://lists.samba.org/archive/samba-technical/2012-August/086060.html
>> 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