Fix bug #6557 - Do not work VFS full_audit
authorJeremy Allison <jra@samba.org>
Wed, 17 Feb 2010 18:46:42 +0000 (10:46 -0800)
committerKarolin Seeger <kseeger@samba.org>
Mon, 22 Feb 2010 14:50:34 +0000 (15:50 +0100)
commit615a5e83ee409fb196252984d697018241e1de62
treea384a6e04f656760656cb91b0da78b02052e7faf
parent34d5071c1bbb7514d958968315bc182ea89a4b03
Fix bug #6557 - Do not work VFS full_audit

Re-arrange the operations order so SMB_VFS_CONNECT is done
first as root (to allow modules to correctly initialize themselves).

Reviewed modules to check if they needed CONNECT invoked as
a user (which we previously did) and it turns out any of them
that cared needed root permissions anyway.

Jeremy.
(cherry picked from commit 2eb33851a753cbd5594d44243802388cff5ae152)
source3/smbd/service.c