Skip to contentSkip to conversation

package/samba4: AD DC support needs ADS

PATCH New Bernd Kuhls 3 participants 3 messages Apr 4, 2021 – Apr 6, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/samba4: AD DC support needs ADS

Needed due to upstream commit:
https://gitlab.com/samba-team/samba/-/commit/607c9ab307db36aee0604d209a13b45d28c63d9b

Fixes:
http://autobuild.buildroot.net/results/b3f/b3fe797408b9041de37433602b3a47211818e44b/

---
 package/samba4/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/samba4/Config.in +3 -2
index e890313b71..db7783949a 100644
@@ -31,14 +31,15 @@ if BR2_PACKAGE_SAMBA4
 config BR2_PACKAGE_SAMBA4_AD_DC
 	bool "AD DC"
 	depends on BR2_PACKAGE_PYTHON3
+	depends on BR2_PACKAGE_SAMBA4_ADS
 	select BR2_PACKAGE_JANSSON
 	select BR2_PACKAGE_PYTHON_DNSPYTHON
 	select BR2_PACKAGE_PYTHON_MARKDOWN
 	help
 	  Enable Active Directory Domain Controller functionality.
 
-comment "AD DC depends on python3"
-	depends on !BR2_PACKAGE_PYTHON3
+comment "AD DC depends on python3 and Samba ADS support"
+	depends on !BR2_PACKAGE_PYTHON3 || !BR2_PACKAGE_SAMBA4_ADS
 
 config BR2_PACKAGE_SAMBA4_ADS
 	bool "ADS"
Signature · 1 line
2.29.2
#1 lore raw

PATCH 1/1 package/samba4: AD DC support needs ADS

package/samba4/Config.in if BR2_PACKAGE_SAMBA4 · line 34

Quoted 9 lines · On Sun, 4 Apr 2021 19:28:58 +0200 Bernd Kuhls <[email protected]> wrote:
package/samba4/Config.in +1 -0
index e890313b71..db7783949a 100644
@@ -31,14 +31,15 @@ if BR2_PACKAGE_SAMBA4
 config BR2_PACKAGE_SAMBA4_AD_DC
 	bool "AD DC"
 	depends on BR2_PACKAGE_PYTHON3
+	depends on BR2_PACKAGE_SAMBA4_ADS

I've replaced this "depends on" by a "select" and dropped the Config.in comment. And of course, applied. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/samba4: AD DC support needs ADS

In reply to Bernd Kuhls
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

Needed due to upstream commit:
https://gitlab.com/samba-team/samba/-/commit/607c9ab307db36aee0604d209a13b45d28c63d9b

Fixes:
http://autobuild.buildroot.net/results/b3f/b3fe797408b9041de37433602b3a47211818e44b/

Committed to 2021.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard