Debian streatch, package installated: samba winbind smbclient libpam-winbind libnss-winbind libpam-krb5 acl attr krb5-config krb5-user ntp net ads testjoin: Join is OK getent group 'Domain Users' it does not return anything What OS ? debian streatch Il 21/01/2019 10:22, Rowland Penny via samba ha scritto:> On Mon, 21 Jan 2019 08:37:43 +0100 > marco pirola <mapirola81 at gmail.com> wrote: > >> witch chown root:"Domain Users"I get the same result: group not fonud >> >> Il 20/01/2019 20:28, Rowland Penny via samba ha scritto: >>> On Sun, 20 Jan 2019 20:14:16 +0100 >>> marco pirola via samba <samba at lists.samba.org> wrote: >>> >>>> Hi all. I have this question: if put chown root:"Domain >>>> User" /patch/ i optain error:group not found. This is my >>>> parametred. >>> If that isn't a typo, it should be 'chown root:"Domain Users" >>> >>>> # Global parameters >>>> [global] >>>> security = ADS >>>> workgroup = ROBINOOD >>>> realm = ROBINOOD.TST >>>> dns forwarder = 192.168.1.6 >>> You do not use the 'dns forwarder' line in a Unix domain member >>> smb.conf >>> >>>> log file = /var/log/samba/%m.log >>>> log level = 1 >>>> >>>> # Default ID mapping configuration for local BUILTIN accounts >>>> # and groups on a domain member. The default (*) domain: >>>> # - must not overlap with any domain ID mapping configuration! >>>> # - must use a read-write-enabled back end, such as tdb. >>>> idmap config * : backend = tdb >>>> idmap config * : range = 3000-7999 >>>> # - You must set a DOMAIN backend configuration >>>> # idmap config for the SAMDOM domain >>>> idmap config ROBINOOD : backend = rid >>>> idmap config ROBINOOD : range = 10000-999999 >>>> > What is the output of these two commands: > > net ads testjoin > > getent group 'Domain Users' > > What OS ? > > What packages have you installed to get Samba working ? > > Rowland > > >
On Mon, 21 Jan 2019 10:37:32 +0100 marco pirola <mapirola81 at gmail.com> wrote:> Debian streatch, package installated: samba winbind smbclient > libpam-winbind libnss-winbind libpam-krb5 acl attr krb5-config > krb5-user ntp > > net ads testjoin: Join is OK > > getent group 'Domain Users' it does not return anything > > What OS ? debian streatch > > > What is the output of these two commands: > > > > net ads testjoin > > > > getent group 'Domain Users' > > > > What OS ? > > > > What packages have you installed to get Samba working ? > >OK, I think I know what is going on here, try the getent command like this: getent group ROBINOOD\\'Domain Users' If that works, you will need to prefix the group name in the chown command with 'ROBINOOD\\' or add this line to smb.conf: winbind use default domain = yes Rowland
getent group ROBINOOD\\'Domain Users' ROBINOOD\domain users:x:10513: but if i insert winbind use default domain = yes in my smb.con and i tent ssh puma(local account) witch relatived password the system waits without getting the command prompt Il 21/01/2019 11:07, Rowland Penny via samba ha scritto:> On Mon, 21 Jan 2019 10:37:32 +0100getent group ROBINOOD\\'Domain Users' > ROBINOOD\domain users:x:10513: > >> Debian streatch, package installated: samba winbind smbclient >> libpam-winbind libnss-winbind libpam-krb5 acl attr krb5-config >> krb5-user ntp >> >> net ads testjoin: Join is OK >> >> getent group 'Domain Users' it does not return anything >> >> What OS ? debian streatch >> >>> What is the output of these two commands: >>> >>> net ads testjoin >>> >>> getent group 'Domain Users' >>> >>> What OS ? >>> >>> What packages have you installed to get Samba working ? >>> > OK, I think I know what is going on here, try the getent command like > this: > > getent group ROBINOOD\\'Domain Users' > > If that works, you will need to prefix the group name in the chown > command with 'ROBINOOD\\' or add this line to smb.conf: > > winbind use default domain = yes > > Rowland >