Hi! Just to confirm, I don't think there is a way to test if ntp is setup properly, right? Moving forward to Winbindd config as describe here: https://wiki.samba.org/index.php/Configuring_Winbindd_on_a_Samba_AD_DC It seems I just need to edit nsswitch.conf and add winbind to passwd and group databases, correct? The guide says tipically no configuration is required in smb.conf for Winbindd to work. I don't think I want to have every user home on my servers, my plan is to force them to use the shares, which is the last step in the guide, hopefully I won't bother soon :-) Thank you
If your machine is an ntp client (but not running the ntp daemon) , the ntpdate command will attempt to connect to the ntp server and update time. On my client machines, I don't run ntp as a svc, instead I just have a cron job that tries to update time twice a day. On 09/14/17 08:32, Flávio Silveira via samba wrote:> Hi! > > Just to confirm, I don't think there is a way to test if ntp is setup > properly, right? > > Moving forward to Winbindd config as describe here: > https://wiki.samba.org/index.php/Configuring_Winbindd_on_a_Samba_AD_DC > > It seems I just need to edit nsswitch.conf and add winbind to passwd > and group databases, correct? > > The guide says tipically no configuration is required in smb.conf for > Winbindd to work. > > I don't think I want to have every user home on my servers, my plan is > to force them to use the shares, which is the last step in the guide, > hopefully I won't bother soon :-) > > Thank you > > > > >
On 14/09/2017 09:43, Gaiseric Vandal via samba wrote:> > If your machine is an ntp client (but not running the ntp daemon) , > the ntpdate command will attempt to connect to the ntp server and > update time. > > On my client machines, I don't run ntp as a svc, instead I just have a > cron job that tries to update time twice a day.Hi Gaiseric, thank you for your reply. Do you have any comments on the Winbindd setup? Regards, Flavio Silveira
On Thu, 14 Sep 2017 09:32:21 -0300 Flávio Silveira via samba <samba at lists.samba.org> wrote:> Hi! > > Just to confirm, I don't think there is a way to test if ntp is setup > properly, right? > > Moving forward to Winbindd config as describe here: > https://wiki.samba.org/index.php/Configuring_Winbindd_on_a_Samba_AD_DC > > It seems I just need to edit nsswitch.conf and add winbind to passwd > and group databases, correct?Provided you are using packages and have installed the required packages, you only need to alter /etc/nsswitch.conf, so the next question is, what packages have you installed ?> I don't think I want to have every user home on my servers, my plan > is to force them to use the shares, which is the last step in the > guide, hopefully I won't bother soon :-)Then don't create a share for the users home directories, or set 'template homedir' in smb.conf, or add unixHomeDirectory attributes to AD. Rowland
On 14/09/2017 10:20, Rowland Penny via samba wrote:> On Thu, 14 Sep 2017 09:32:21 -0300 > Flávio Silveira via samba <samba at lists.samba.org> wrote: > >> Hi! >> >> Just to confirm, I don't think there is a way to test if ntp is setup >> properly, right? >> >> Moving forward to Winbindd config as describe here: >> https://wiki.samba.org/index.php/Configuring_Winbindd_on_a_Samba_AD_DC >> >> It seems I just need to edit nsswitch.conf and add winbind to passwd >> and group databases, correct? > Provided you are using packages and have installed the required > packages, you only need to alter /etc/nsswitch.conf, so the next > question is, what packages have you installed ? >I've checked my dpkg.log and it gives me this list when I installed samba: libwbclient0:amd64 2:4.6.7+dfsg-1nmu1~deb9 samba-common:all 2:4.6.7+dfsg-1nmu1~deb9 libtevent0:amd64 0.9.31-1 libc-bin:amd64 2.24-11+deb9u1 systemd:amd64 232-25+deb9u1 man-db:amd64 2.7.6.1-2 samba-libs:amd64 2:4.6.7+dfsg-1nmu1~deb9 samba-vfs-modules:amd64 2:4.6.7+dfsg-1nmu1~deb9 python-samba:amd64 2:4.6.7+dfsg-1nmu1~deb9 libsmbclient:amd64 2:4.6.7+dfsg-1nmu1~deb9 smbclient:amd64 2:4.6.7+dfsg-1nmu1~deb9 samba-common-bin:amd64 2:4.6.7+dfsg-1nmu1~deb9 samba-dsdb-modules:amd64 2:4.6.7+dfsg-1nmu1~deb9 winbind:amd64 2:4.6.7+dfsg-1nmu1~deb9 samba:amd64 2:4.6.7+dfsg-1nmu1~deb9 Does this help?>> I don't think I want to have every user home on my servers, my plan >> is to force them to use the shares, which is the last step in the >> guide, hopefully I won't bother soon :-) > Then don't create a share for the users home directories, or set > 'template homedir' in smb.conf, or add unixHomeDirectory attributes to > AD. > > Rowland >Ok, thank you Rowland!