Web lists-archives.com

Re: [Samba] File server questions

On 30/08/2017 13:16, Rowland Penny via samba wrote:
On Wed, 30 Aug 2017 12:48:09 -0300
Flávio Silveira via samba <samba@xxxxxxxxxxxxxxx> wrote:

Hi Louis

On 30/08/2017 10:28, L.P.H. van Belle via samba wrote:
First I want to thank you for maintaining a debian repo with updated
packages, made my life much easier!

If you have a small network, yes, a DC only is not recommended, but
if configured correcly it works fine. I see you have only one linux
server, so i can assum only windows clients. Then, i say yes, setup
an AD DC as fileserver.
Do you have any pointers on which wiki tutorial I should follow to
get things started?

Follow the DC wiki page:


There is even a section: Using the Domain Controller as a File Server

This will send you to:


Where you will need to read this section:

Configuring the Name Service Switch

Which will refer you to:


This will tell you how to set up the libnns_winbind links

Having said all that, you can do it all by installing

samba attr winbind libpam-winbind libpam-krb5 libnss-winbind
krb5-config krb5-user ntp dnsutils ldb-tools

set up ntp as per the wiki:


provision the domain, run 'pam-auth-update' ensure everything is
checked and tab to <OK> and press enter, now start 'samba'

It should just work.


I can't thank you enough for this, great walk through!

I will probably have more questions during the setup, but I have only one left for now:

Will it create any issues if I do it within the current network or do you recommend doing in network lab?

  Flavio Silveira

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba