I get the following error while trying to build samba 4.7.4 and newer:
[2948/3058] Linking default/source4/auth/ntlm/libauth4-samba4.so
default/source3/libads/kerberos_keytab_63.o: In function `ads_keytab_list':
kerberos_keytab.c:(.text+0x155): undefined reference to `ads_keytab_open'
collect2: error: ld returned 1 exit status
I did some investigations and found out that the patch introduced with bug:
is the reason for the build error above if ads is disabled with --without-ads
./configure --enable-fhs \
python ./buildtools/bin/waf build --jobs=6
Created attachment 14049 [details]
This has already been reported in the samba-technical mailing list along with a possible fix:
The attached patch is the fix provided by Timur I. Bakeyev <email@example.com> in that mail. I am not(!) the author of the patch.
*** Bug 13333 has been marked as a duplicate of this bug. ***
(In reply to Lars Wendler from comment #1)
I guess this is to be marked as wont fix, I note another samba release couple days ago and still broken after 6 months (4.6.11 was last compilable version), if this is case please mark it as such, so we can take appropriate action,like move back to windows servers.
Created attachment 14144 [details]
Patch for v4-6-test
Created attachment 14145 [details]
Patch for v4-7-test
Created attachment 14146 [details]
Patch for v4-8-test
Patch applied against 4.7.7
Patch applies cleanly
make succeeded :)
Thanks, hope this makes it into next releases
was applied against 4.7.6
Now applied to the just released 4.7.7
Build succeeds, thanks.
Pushed to autobuild-v4-[8,7]-test.
(In reply to Karolin Seeger from comment #10)
Pushed to both branches.
Closing out bug report.