Get it to read modified [gobal] sections: 1. drop the "comment=" of the testshare in smb.conf 2. in smb.conf set in the global directive comment = Test bug 1893906 - smb.conf 3. Modify the test includes that they look like: [global] comment = Test bug 1893906 - g1 include = /etc/samba/test1b.conf
I found that in this case the re-definition of [global] needs happen before a section that uses it. (No reverse propagation of configuration). Due to that the includes have to move up. 4. move the includes up above the [testshare] section $ smbclient -L 127.0.0.1 -U ubuntu%ubuntu | grep testshare testshare Disk Test bug 1893906 - smb.conf So we can see that it ignored the new default-comment in that case. >From here moving up the includes for the global just before [testshare] makes >it work $ smbclient -L 127.0.0.1 -U ubuntu%ubuntu | grep testshare testshare Disk Test bug 1893906 - g3 But with that we surely know that /etc/samba/test3.conf is read (for the comment). So let us set the "client min protocol" there - and indeed it's value is not considered as if it would be in the initial [global] section. It is parsed thou, if I set an invalid value for client min protocol in test3.conf it fails to restart the server. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1893906 Title: smbclient ignores included config files To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1893906/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs