summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bradford <andrew.bradford@konsulko.com>2025-10-07 12:58:19 -0400
committerKhem Raj <raj.khem@gmail.com>2025-10-08 18:46:02 -0700
commitec7f6f5660e17ebf536249db0c0f8c5f28b974cb (patch)
treea975516de1970e669e4808e2c29792930b5cc995
parentc8e8890991540b344ac2d2bf4555fac394db40d3 (diff)
downloadmeta-openembedded-ec7f6f5660e17ebf536249db0c0f8c5f28b974cb.tar.gz
samba: Add PACKAGECONFIG[ad-dc] python3-markdown RDEPENDS
For Samba's Active Directory Domain Controller functionality, it needs to have python3-markdown listed as an RDEPENDS as well as a DEPENDS. When trying to provision a domain with samba-tool without this change then it will error out like: $ samba-tool domain provision --realm=EXAMPLE.COM --domain=EXAMPLE \ --adminpass='YourPassword123!' --server-role=dc \ --dns-backend=SAMBA_INTERNAL --use-rfc2307 <snip> Temporarily overriding 'dsdb:schema update allowed' setting ERROR(<class 'ModuleNotFoundError'>): uncaught exception - No module named 'markdown' File "/usr/lib/python3.13/site-packages/samba/netcmd/init.py", line 279, in _run return self.run(*args, **kwargs) ~~~~~~~~^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/site-packages/samba/netcmd/domain/provision.py", line 343, in run result = provision(self.logger, session, smbconf=smbconf, targetdir=targetdir, ...<16 lines>... backend_store=backend_store, backend_store_size=backend_store_size) File "/usr/lib/python3.13/site-packages/samba/provision/init.py", line 2404, in provision raise e File "/usr/lib/python3.13/site-packages/samba/provision/init.py", line 2394, in provision forest = ForestUpdate(samdb, fix=True) File "/usr/lib/python3.13/site-packages/samba/forest_update.py", line 212, in init from samba.ms_forest_updates_markdown import read_ms_markdown File "/usr/lib/python3.13/site-packages/samba/ms_forest_updates_markdown.py", line 27, in <module> import markdown Signed-off-by: Andrew Bradford <andrew.bradford@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-connectivity/samba/samba_4.19.8.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.19.8.bb b/meta-networking/recipes-connectivity/samba/samba_4.19.8.bb
index 0213d131e5..a0ef63c958 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.19.8.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.19.8.bb
@@ -93,7 +93,7 @@ PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind"
93PACKAGECONFIG[gpgme] = "--with-gpgme,--without-gpgme,gpgme" 93PACKAGECONFIG[gpgme] = "--with-gpgme,--without-gpgme,gpgme"
94PACKAGECONFIG[lmdb] = ",--without-ldb-lmdb,lmdb" 94PACKAGECONFIG[lmdb] = ",--without-ldb-lmdb,lmdb"
95PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd" 95PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd"
96PACKAGECONFIG[ad-dc] = "--with-experimental-mit-ad-dc,--without-ad-dc,python3-markdown python3-dnspython," 96PACKAGECONFIG[ad-dc] = "--with-experimental-mit-ad-dc,--without-ad-dc,python3-markdown python3-dnspython,python3-markdown"
97PACKAGECONFIG[mitkrb5] = "--with-system-mitkrb5 --with-system-mitkdc=/usr/sbin/krb5kdc,,krb5," 97PACKAGECONFIG[mitkrb5] = "--with-system-mitkrb5 --with-system-mitkdc=/usr/sbin/krb5kdc,,krb5,"
98 98
99SAMBA4_IDMAP_MODULES = "idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2" 99SAMBA4_IDMAP_MODULES = "idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2"