Bug 188896
Summary: | please consider moving smbpasswd and secrets.tdb into their own subdirectory | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Russell Coker <rcoker> |
Component: | samba | Assignee: | Simo Sorce <ssorce> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | abartlet, jplans, leonard-rh-bugzilla, tuju |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-03-26 20:43:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Russell Coker
2006-04-13 09:53:26 UTC
Internally, Samba places these in the 'private dir', so only spec file changes are required to have these files in /etc/samba/private. Would it be ok to move private to /var/lib/samba/private ? I don;t see the need to keep binary, non-editable dbs in /etc/samba I think the debian folks (who like to actually enforce the FHS) were wanting to do this too. The only sticking poing is the smbpasswd file itself (and upgrades) It very much depends on if smbpasswd is considered a file like other things in /etc, but the rest should be in /var/lib/samba/private. I already do migration in FC7 for moving stuff from /var/cache/samba to /var/lib/samba so adding some more migration at this point is not a problem. I could make a local patch to keep smbpasswd in /etc/samba but admins are supposed to not edit it manually anyway and use /usr/bin/smbpasswd or pdbedit so I would not see the move as a tragedy in the next version. btw as the original question asked for it, yes winbindd may require access to smbpasswd/passdb.tdb/ldap to check for idmap mappings in the passdb layer I am going to move everything to /var/lib/samba/private clsing this bug as rawhide, you will see a new binary soon up there, just the time to check and test an upgrade migration script to move the files. |