(jason)lou:~/samba/samba-3.0.25rc3/source% env CC=c99 CFLAGS="-O" /bin/sh configure --with-utmp --with-quotas --with-sys-quotas --with-acl-support --without-ldap --without-ads --without-winbind --without-libsmbclient (jason)lou:~/samba/samba-3.0.25rc3/source% smake smake: Error: Can't figure out how to make nsswitch/libns_winbind.so. Stop
removing the --without-winbind flag does permit the make to work.
This is fixed for 3.0.25 final as far as I know.