When trying to build s3 with ./configure --enable-developer --without-krb5 --without-ads --disable-merged-build,
the build fails with:
libsmb/clispnego.c: In function ‘spnego_gen_negTokenTarg’:
libsmb/clispnego.c:391: error: implicit declaration of function ‘cli_krb5_get_ticket’
Note that another bug (I'll open another bugzilla entry for that right away) seems to "fix" the build if you have the kerberos and ldap libraries installed and don't specify --without-ads, even if you say --without-krb5, as configure will just go on and pretend we used --with-krb5 in that case.
Fixed with 7ccd68073ddc02abdd6d8fbfaefef5c42e4e8178