On 05/08/2012 11:20 PM, Christian PERRIER wrote:
I finally came up with something completely different.

The main problem of fhs-filespaths.patch is indeed that we replace
lp_private_dir() by get_dyn_STATEDIR(), so by the location of "state
directory" *that is defined at compile-time*.

Indeed, it's quite logical to have secrets.tdb and passdb.tdb located
in /var/lib/samba, namely the "state directory" and I think that
upstream is indeed wrong in putting them in "private dir" as they mean
that the files there are configuration file that can be directly
managed by the local admin (which secrets.tdb and passdb.tdb are NOT).

Hmm, no. I think upstream is right that secrets.tdb and passdb.tdb should be in a directory that is only readable by root, the so called private dir (like /var/lib/samba/private). The smbpasswd file and .conf files need to be in /etc however as they are configuration files.

Another action is probably to convince upstream to reconsider what
should go to "private dir" and what should go to "state directory"
(yes the two options names are NOT consistent).But changing this *is*
where we'll need to handle transitions.

Right, we need to convince upstream to reconsider what should go to private dir, but related to the configuration directory, not to the state directory.

Cheers

Luk



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to