On Thu, 2022-02-24 at 17:02 -0800, Greg Sloop <gregs--- via samba wrote:> wbinfo -u > or > wbinfo -g > return users and groups from the AD (this is run from the member > server)This shows that AD is working.> > But getent group/passwd doesn't return any of the groups/users in AD. > More specific queries for a single user or group returns nothing - > but no > error either. >This shows that you have something configured incorrectly or that you haven't installed the winbind nss links. A bit more info would help, what distro, what packages have you installed, what is the DC and finally please post your smb.conf from the Unix domain member. Rowland
Greg Sloop <gregs@sloop.net>
2022-Feb-25 15:47 UTC
[Samba] getent not returning users/groups
Yeah, I started to wonder if I'd failed to install the winbind-nss library. Is the regular Ubuntu 20.04 package fine? (I don't need something special with Louis's repo, right) libnss-winbind, right? On Fri, Feb 25, 2022 at 12:39 AM Rowland Penny via samba < samba at lists.samba.org> wrote:> On Thu, 2022-02-24 at 17:02 -0800, Greg Sloop <gregs--- via samba > wrote: > > wbinfo -u > > or > > wbinfo -g > > return users and groups from the AD (this is run from the member > > server) > > This shows that AD is working. > > > > > But getent group/passwd doesn't return any of the groups/users in AD. > > More specific queries for a single user or group returns nothing - > > but no > > error either. > > > > This shows that you have something configured incorrectly or that you > haven't installed the winbind nss links. A bit more info would help, > what distro, what packages have you installed, what is the DC and > finally please post your smb.conf from the Unix domain member. > > Rowland > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Dang It wasn't the library. ? So, details: Ubuntu 20.04 on the domain member, with 4.15.5 from Louis' repo. (DC's are a mix of Ubuntu (2) 18.04 and (1) 20.04 - the 18.04's are running the distro Samba and the 20.04 is running Louis' Samba package.) ? smb.conf on member ? --- SERVER ROLE = MEMBER SERVER workgroup = AD server string = FileServer SECURITY = ADS REALM = AD.SOMEDOMAIN.LOCAL idmap config * : backend = tdb idmap config * : range 3000-7999 idmap config AD : backend = rid idmap config AD : range = 10000-999999 username map = /etc/samba/user.map winbind enum users = yes winbind enum groups = yes passdb backend = tdbsam wins support = yes dns proxy = yes [test-share] ? comment = Test-share ? path = /abc-01/ad-shared-folders/shared-files/test-share ?? writable = yes --- ?> On Thu, 2022-02-24 at 17:02 -0800, Greg Sloop <gregs--- via samba > wrote:>> wbinfo -u >> or >> wbinfo -g >> return users and groups from the AD (this is run from the member >> server)> This shows that AD is working.>> But getent group/passwd doesn't return any of the groups/users in AD. >> More specific queries for a single user or group returns nothing - >> but no >> error either.> This shows that you have something configured incorrectly or that you > haven't installed the winbind nss links. A bit more info would help, > what distro, what packages have you installed, what is the DC and > finally please post your smb.conf from the Unix domain member.> Rowland--? Gregory Sloop, Principal: Sloop Network & Computer Consulting Voice: 503.251.0452 x121 EMail:?gregs at sloop.net http://www.sloop.net ---