runnning configure --disable-largefile still check and use linux large file capabilities.
Problems is due to the fact that the test is done both with AC_SYS_LARGEFILE in lib/replace/libreplace_cc.m4 and in a custom way in source3/configure.in
The later one didn't obey to the --disable-largefile and run tests in anycase.
This as the nasty side effect of leaving the define SIZEOF_OFF_T with two different values on 32 bit plaforms and breaking the detection of kerberos functions.
Why do we even have a --disable-largefile?
--disable-largefile was never ported to our new build system (waf) with Samba 4.0, so marking as fixed.