Bug 13699 - Harden home directory export for [homes] share
Summary: Harden home directory export for [homes] share
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.9.3
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-03 10:02 UTC by Andreas Schneider
Modified: 2021-03-22 02:20 UTC (History)
2 users (show)

See Also:


Attachments
patch for 4.9 (12.99 KB, patch)
2018-12-10 15:52 UTC, Andreas Schneider
asn: review? (jra)
Details
patch for 4.8 (12.99 KB, patch)
2018-12-10 15:53 UTC, Andreas Schneider
asn: review? (jra)
Details
patch for 4.7 (1.92 KB, patch)
2018-12-10 15:54 UTC, Andreas Schneider
asn: review? (jra)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2018-12-03 10:02:39 UTC
The home directory export for the special [homes] share should be hardened that we don't export the root folder (/) by accident because other software is working incorrectly.

Patches with tests will follow.
Comment 1 Andreas Schneider 2018-12-10 15:52:32 UTC
Created attachment 14727 [details]
patch for 4.9
Comment 2 Andreas Schneider 2018-12-10 15:53:34 UTC
Created attachment 14728 [details]
patch for 4.8
Comment 3 Andreas Schneider 2018-12-10 15:54:57 UTC
Created attachment 14729 [details]
patch for 4.7
Comment 4 Andrew Bartlett 2021-03-22 02:20:32 UTC
This patch set is a backport of patches in master and 4.10 but they were never
reviewed in time for 4.9's support window, let alone the earlier versions.