It’s Centos 7 and I thought all I had to do was set up nsswitch.conf for it to work. cordially yours, Sina Owolabi Mob: +2348034022578 Skype: darkchild2011 On 9 Nov 2017, 4:24 PM +0100, Rowland Penny via samba <samba at lists.samba.org>, wrote:> On Thu, 9 Nov 2017 15:58:04 +0100 > Sina Owolabi <notify.sina at gmail.com> wrote: > > > Yes I did setup libnss_winbind. > > wbinfo -u and -g on the domain member both work: > > > > [root at testfsrv ~]# wbinfo -u > > SAMDOM\testakin > > SAMDOM\testsina > > SAMDOM\testigein > > SAMDOM\administrator > > SAMDOM\krbtgt > > SAMDOM\guest > > [root at testfsrv ~]# wbinfo -g > > SAMDOM\allowed rodc password replication group > > SAMDOM\enterprise read-only domain controllers > > SAMDOM\denied rodc password replication group > > SAMDOM\read-only domain controllers > > SAMDOM\group policy creator owners > > SAMDOM\ras and ias servers > > SAMDOM\domain controllers > > SAMDOM\enterprise admins > > SAMDOM\domain computers > > SAMDOM\cert publishers > > SAMDOM\dnsupdateproxy > > SAMDOM\domain admins > > SAMDOM\domain guests > > SAMDOM\schema admins > > SAMDOM\domain users > > SAMDOM\dnsadmins > > > > All 'wbinfo -u' and 'wbinfo -g' prove is that winbind can connect to > AD, it does not prove that the Unix OS knows who the users are. > > 'getent passwd username' should produce something like this: > > rowland at devstation:~$ getent passwd rowland > rowland:*:10000:10000:Rowland Penny:/home/rowland:/bin/bash > > What OS is this and how have you set up libnss_winbind ? > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
On Thu, 9 Nov 2017 17:24:03 +0100 Sina Owolabi <notify.sina at gmail.com> wrote:> It’s Centos 7 and I thought all I had to do was set up nsswitch.conf > for it to work. > >Unfortunately no, if it was debian, I could tell you exactly how to set up libnss_winbind. I have setup Centos 7 recently and this worked for me. YMMV: authconfig --enablekrb5 --enablewinbind --enablewinbindauth --enablemkhomedir --update Rowland
On Fri, 10 Nov 2017 11:04:15 +0100 Sina Owolabi <notify.sina at gmail.com> wrote:> Thank you thank you thank you thank you > It worked! > I'd been fighting with the source build for so long. > Please do you have any extra notes for multiple domain controllers > and the like? I would really appreciate them! >Yes, it is called the 'Samba wiki' ;-) See here: https://wiki.samba.org/index.php/Main_Page Rowland
Awww that has been the bane of my last three weeks with it. Lots of conflicting and old information in there. And so many changes! Last time I setup samba was about 5 years ago. My scripts are unrecognizable now. On Fri, Nov 10, 2017 at 11:09 AM, Rowland Penny via samba <samba at lists.samba.org> wrote:> On Fri, 10 Nov 2017 11:04:15 +0100 > Sina Owolabi <notify.sina at gmail.com> wrote: > >> Thank you thank you thank you thank you >> It worked! >> I'd been fighting with the source build for so long. >> Please do you have any extra notes for multiple domain controllers >> and the like? I would really appreciate them! >> > > Yes, it is called the 'Samba wiki' ;-) > > See here: > > https://wiki.samba.org/index.php/Main_Page > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba