Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943667 - net-fs/samba default configuration evolution
Summary: net-fs/samba default configuration evolution
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-17 13:32 UTC by John R. Graham
Modified: 2024-12-15 18:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to make the described changes to the configuration default. (samba-new-defaults.patch,1.63 KB, patch)
2024-11-17 13:32 UTC, John R. Graham
Details | Diff
Patch to make the described changes to the configuration default. Small correction. (samba-new-defaults2.patch,1.63 KB, patch)
2024-11-18 02:14 UTC, John R. Graham
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John R. Graham gentoo-dev 2024-11-17 13:32:21 UTC
Created attachment 908842 [details, diff]
Patch to make the described changes to the configuration default.

In a recent conversation with one of the Samba developers, Rowland Penny, he told me that nmbd (the NetBIOS daemon) is very rarely needed anymore. 

In addition, in learning how to configure this beast for Linux workstations to join Samba AD DC domains to support shared Linux userids and groupids across the domain, I learned that you need to build winbind (winbind USE flag) and also enable the loading of the winbind daemon (add to daemon_list in /etc/conf.d/samba).

Therefore it seems reasonable to me to:
1. Remove "nmbd" from the daemon_list.
2. Conditionally add "winbind" to the daemon_list based on the state of the
   winbind USE flag.

The attached patch modifies the ebuild and associated files to do those two things. I'm testing it on current stable (4.19.7 as of this writing) but the patch apples cleanly to all ebuilds in the tree.

Thanks in advance for your attention.
Comment 1 John R. Graham gentoo-dev 2024-11-18 02:14:47 UTC
Created attachment 908910 [details, diff]
Patch to make the described changes to the configuration default. Small correction.
Comment 2 John R. Graham gentoo-dev 2024-12-15 18:28:56 UTC
I'm discovering that other things are broken, specifically about the PAM configuration for winbind. Please consider this bug a work in progress for now.