This patch fixes things for my tests. I'll check it into
the SAMBA_3_0/HEAD branches later today. You can wait
until then and grab the cvs tree or apply the patch
locally. It should apply cleanly to the 3.0.0 codebase.