--- samba-3.0.25rc1.orig/source/smbd/quotas.c 2007-04-16 15:47:18.799074828 +1000 +++ samba-3.0.25rc1/source/smbd/quotas.c 2007-04-16 15:47:47.413683545 +1000 @@ -662,7 +662,7 @@ BOOL retval; DEBUG(5,("disk_quotas: looking for mountpath (NFS) \"%s\"\n", mnt.mnt_special)); retval = nfs_quotas(mnt.mnt_special, euser_id, bsize, dfree, dsize); - unbecome(); + unbecome_root(); return retval; }