Fix bug #7080 - Quota only shown when logged as root.
commit3650b386ccdaa65e8c8e8db719c16616ead8ec43
authorJeremy Allison <jra@samba.org>
Tue, 5 Apr 2011 18:24:39 +0000 (5 11:24 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 5 Apr 2011 20:56:33 +0000 (5 13:56 -0700)
treefeecda497093522319044f0a746536caab57e7c1
parenteb444c63e80b48042cbc99b55b2bc1c94b62366c
Fix bug #7080 - Quota only shown when logged as root.

Remove the final incorrect uses of conn->session_info->utok.uid.
When we're in the "admin users" list, then this value is not set
to zero.

Inspired by the comment on this bug by Dmitry Butskoy <dmitry@butskoy.name>.

I'll create a different fix for 3.5.x.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Apr  5 21:53:59 CEST 2011 on sn-devel-104
(cherry picked from commit b6a30be70266c07733ddfa2ae08d127e08560868)
source3/modules/onefs_open.c
source3/smbd/nttrans.c
source3/smbd/trans2.c