Fix bug #7080 - Quota only shown when logged as root.
authorJeremy Allison <jra@samba.org>
Tue, 5 Apr 2011 18:24:39 +0000 (11:24 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 5 Apr 2011 19:53:59 +0000 (21:53 +0200)
commitb6a30be70266c07733ddfa2ae08d127e08560868
tree0a2c0d1d79dfb4a034b939d95e4ab402bec17d38
parent378c4b221a6be75e1d32cb6fb3a773ce5de6dbda
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
source3/modules/onefs_open.c
source3/smbd/nttrans.c
source3/smbd/trans2.c