Bug 12364 - smbcquotas loads smb.conf only from default location
Summary: smbcquotas loads smb.conf only from default location
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: 4.5.0
Hardware: All All
: P5 minor (vote)
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
Depends on:
Reported: 2016-10-05 07:44 UTC by Uri Simchoni
Modified: 2016-10-25 07:47 UTC (History)
3 users (show)

See Also:

git-am fix for 4.4.next and 4.5.next (1.79 KB, patch)
2016-10-06 19:50 UTC, Uri Simchoni
asn: review+
jra: review+

Note You need to log in before you can comment on or make changes to this bug.
Description Uri Simchoni 2016-10-05 07:44:51 UTC
Setting an alternate location, via the -s command line option or via the SMB_CONF_PATH environment variable, does not work - the program always loads smb.conf from the location set at build time.

For Samba development purposes, this may cause "make test" to fail since the selftest suite tries to create an isolated environment, and this bug causes smbcquotas to peek outside the env.
Comment 1 Uri Simchoni 2016-10-06 19:50:40 UTC
Created attachment 12550 [details]
git-am fix for 4.4.next and 4.5.next

A blackbox test that uses smbcquotas has been added in 4.4 release, therefore this fix needs to be backported to 4.4 and 4.5 in order to prevent selftest failures on those branches.
Comment 2 Jeremy Allison 2016-10-06 23:14:08 UTC
Re-assigning to Karolin for inclusion in 4.5.next, 4.4.next.
Comment 3 Karolin Seeger 2016-10-19 07:57:54 UTC
(In reply to Jeremy Allison from comment #2)
Pushed to autobuild-v4-{5,4}-test.
Comment 4 Karolin Seeger 2016-10-25 07:47:48 UTC
(In reply to Karolin Seeger from comment #3)
Pushed to both branches.
Closing out bug report.