Hi all. I have this question: if put chown root:"Domain User" /patch/ i optain error:group not found. This is my parametred. # Global parameters [global] security = ADS workgroup = ROBINOOD realm = ROBINOOD.TST dns forwarder = 192.168.1.6 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 while /etc/nsswitch.con is set as for link https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member
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.6You 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 >Why 'ROBINOOD' ? If we are talking the guy with the bow & arrow. it should be ROBINHOOD ;-) Rowland
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
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 > > >