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

Computer service SPb. cpservicespb at gmail.com
Fri Feb 28 13:46:49 MST 2014


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 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