Getting Winbindd to build with GCC Profiling support

Todd Stecher todd.stecher at isilon.com
Wed Sep 5 22:41:26 GMT 2007


I'm failing in configure when trying to get GPROF information on  
winbindd, so I can figure out why Samba / CIFS using kerberos is  
significantly slower than NTLM (it should be 5-6 times faster, due to  
lack of DC secure channel).  Moving to keytabs with pre-derived keys  
helped somewhat, but its still slower than NTLM.  The --enable- 
profiling switch is great, but doesn't give me the granularity I need  
to really pin down where the CPU cycles are going.

I've changed LDSHAREDFLAGS to "non-shared", and have included -lc_p  
in the linker path (as well as -pg in CFLAGS and LDFLAGS).  I'm  
trying to do this the right way using AC, but everything I've tried  
doing to date results in "silent" configure failures.

Anyone ever have luck getting this to work on FreeBSD?




Todd Stecher | Windows Interop Dev
Isilon Systems    P +1-206-315-7500     F  +1-206-315-7501
www.isilon.com    D +1-206-315-7638    M +1-425-205-1180





More information about the samba-technical mailing list