The Samba-Bugzilla – Bug 7637
Active directory modules not being built (either static or shared)
Last modified: 2010-08-20 16:31:00 UTC
I am testing with 3.6.0pre1 (as released 2010-07-28).
After googling this issue, I see a lot of Linux distributions (gentoo, debian, etc) and many Linux users are running into a problem when they attempt to upgrade or install a new version of Samba (3.5.x, 3.6.x). Here is a cross reference to a gentoo bug:
As far as I know, I think this bug probably affects other versions that rely on the source3 tree. I upgraded to 3.6.0pre1 to see if that would fix this issue under 3.5.4. The problem has been already been reported where Winbind loses the ability to read the contents of existing Active Directory databases. This involves modules for the "backend" : ad, adex, ad_hash, ad_rid. I am just learning samba's AD integration and this was putting up a roadblock. I hacked my own solution that just hardcodes the modules into the "defaults" in the configure.in script. I am not sure it's the right thing to do, but at least I was able to continue with my testing. By the way, the configure directive
has no effect. The config.log file will show:
configure:36843: checking how to build idmap_ad
configure:36858: result: not
configure:36887: checking how to build idmap_hash
configure:36902: result: not
configure:36931: checking how to build idmap_adex
configure:36946: result: not
With the patch below, the result is "SHARED" as intended.
Thanks for developing this important software!
Here is my patch:
--- old/source3/configure.in 2010-07-28 03:29:06.000000000 -0600
+++ new/source3/configure.in 2010-08-19 21:35:32.696788244 -0600
@@ -6563,6 +6563,11 @@