Fix bug #6557 - Do not work VFS full_audit
commitc02aa2fb818762d6197255396c64e54be88d22a9
authorJeremy Allison <jra@samba.org>
Wed, 17 Feb 2010 18:46:21 +0000 (17 10:46 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 24 Feb 2010 15:25:10 +0000 (24 16:25 +0100)
tree8e622c000a4fe94ffc92ccd80d60441cf25ab039
parent7cd8009598af1efa255418562f8b4f9bfdf6a9be
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 20b6d0406f0f72895f99636beee7a370195147fd)
source/smbd/service.c