> Lets hold off with logs, do you know that if you remove everything > that should be in a share from the [global] part of your smb.conf, you > get left with just '[global]’.The share actually comes from an include file. I made it look like it’s part of the main config for simplicity.> It also doesn't help that everything > that is in [global] is also in the share.It’s not accidental that I said “example share” in my email. I don’t think that duplicating directives in the global and individual share sections could lead to core dumps, or can it?
On Sat, 7 Jan 2017 15:56:14 -0600 Sergei Gerasenko <gerases at gmail.com> wrote:> > > Lets hold off with logs, do you know that if you remove everything > > that should be in a share from the [global] part of your smb.conf, > > you get left with just '[global]’. > > The share actually comes from an include file. I made it look like > it’s part of the main config for simplicity. > > > It also doesn't help that everything > > that is in [global] is also in the share. > > It’s not accidental that I said “example share” in my email. I don’t > think that duplicating directives in the global and individual share > sections could lead to core dumps, or can it? >OK, if that wasn't your actual smb.conf, then please post your actual (sanitized) smb.conf. If it is in parts, then post all parts. Rowland
On Mon, 9 Jan 2017 09:35:08 -0600 Sergei Gerasenko <sgerasenko74 at gmail.com> wrote:> Ok, reviewing the configs I posted before, I screwed up big time by > posting the example share config into the global config. So sorry > about that. > > Here's the more accurate configuration > > 1. /etc/samba/smb.conf > ======================> > [global] > log file = /var/log/samba/log.%m > #; active directory configuration > workgroup = <WORKGROUP> > realm = <REALM> > security = ads > kerberos method = system keytab > create krb5 conf = no > name resolve order = host > password server = SERVER1, SERVER2, SERVER3, SERVER4 > #; only listen on these interface > interfaces = eno1 lo:eno1_alias > bind interfaces only = yes > #; disable printer sharing > load printers = no > printing = bsd > printcap name = /dev/null > disable spoolss = yes > #; fixes a robocopy bug with attribute setting > vfs objects = acl_tdb > > include = /etc/samba/local_shares.conf > > 2. Example share from /etc/samba/local_shares.conf > ==================================================> > [SHARE_NAME] > access based share enum = yes > browseable = yes > comment = <COMMENT> > create mask = 0660 > directory mask = 2770 > force group = <FORCE_GROUP_NAME> > path = <PATH> > guest ok = no > public = no > writeable = yes > valid users = +GROUP_1 +GROUP_2 > vfs objects = full_audit acl_tdb > full_audit:prefix = %u|%I|%m|%S > full_audit:success = mkdir rename unlink rmdir pwrite > full_audit:failure = none > full_audit:facility = local7 > full_audit:priority = NOTICE > > There are too many shares to include them all, but they all conform > to that pattern of the example share. > > Thanks for putting up with my nonsense :) > > SergeiAre you using sssd for authentication ? Rowland
Yes On Mon, Jan 9, 2017 at 9:57 AM, Rowland Penny via samba < samba at lists.samba.org> wrote:> On Mon, 9 Jan 2017 09:35:08 -0600 > Sergei Gerasenko <sgerasenko74 at gmail.com> wrote: > > > Ok, reviewing the configs I posted before, I screwed up big time by > > posting the example share config into the global config. So sorry > > about that. > > > > Here's the more accurate configuration > > > > 1. /etc/samba/smb.conf > > ======================> > > > [global] > > log file = /var/log/samba/log.%m > > #; active directory configuration > > workgroup = <WORKGROUP> > > realm = <REALM> > > security = ads > > kerberos method = system keytab > > create krb5 conf = no > > name resolve order = host > > password server = SERVER1, SERVER2, SERVER3, SERVER4 > > #; only listen on these interface > > interfaces = eno1 lo:eno1_alias > > bind interfaces only = yes > > #; disable printer sharing > > load printers = no > > printing = bsd > > printcap name = /dev/null > > disable spoolss = yes > > #; fixes a robocopy bug with attribute setting > > vfs objects = acl_tdb > > > > include = /etc/samba/local_shares.conf > > > > 2. Example share from /etc/samba/local_shares.conf > > ==================================================> > > > [SHARE_NAME] > > access based share enum = yes > > browseable = yes > > comment = <COMMENT> > > create mask = 0660 > > directory mask = 2770 > > force group = <FORCE_GROUP_NAME> > > path = <PATH> > > guest ok = no > > public = no > > writeable = yes > > valid users = +GROUP_1 +GROUP_2 > > vfs objects = full_audit acl_tdb > > full_audit:prefix = %u|%I|%m|%S > > full_audit:success = mkdir rename unlink rmdir pwrite > > full_audit:failure = none > > full_audit:facility = local7 > > full_audit:priority = NOTICE > > > > There are too many shares to include them all, but they all conform > > to that pattern of the example share. > > > > Thanks for putting up with my nonsense :) > > > > Sergei > > Are you using sssd for authentication ? > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >