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!
On Thu, 14 Sep 2017 10:49:48 -0300 Flávio Silveira via samba <samba at lists.samba.org> wrote:> > > 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?well possibly, but I will rephrase my question, are: libpam-winbind libpam-krb5 libnss-winbind installed ? Rowland
On 14/09/2017 11:04, Rowland Penny via samba wrote:> On Thu, 14 Sep 2017 10:49:48 -0300 > Flávio Silveira via samba <samba at lists.samba.org> wrote: > >> >> 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? > well possibly, but I will rephrase my question, are: > > libpam-winbind libpam-krb5 libnss-winbind > > installed ?Yes sir, all three are installed, should I proceed to editing nsswitch.conf as described on the tutorial?> Rowland >