make the UID_WRAPPER skip checks at runtime
authorAndrew Tridgell <tridge@samba.org>
Wed, 5 Aug 2009 01:21:06 +0000 (11:21 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 5 Aug 2009 01:21:06 +0000 (11:21 +1000)
commit58e5e1ea8d4c5a9eb8d36aa8132fd1ba3985ca53
treec66cc43d180750e40a4a7ffb42ca1bfe6bbd7f11
parentfd43e0ee09e3f82093e9a15dd6cbd2fbaa113426
make the UID_WRAPPER skip checks at runtime

This fixes two issues pointed out by Andrew. It adds a runtime
uwrap_enabled() call that wraps the skips needed for uid emulation. It
also makes the skip in the directory_create_or_exist() function only
change the uid checking code, not the permissions code
lib/uid_wrapper/uid_wrapper.c
lib/uid_wrapper/uid_wrapper.h
lib/util/config.mk
lib/util/util.c
source4/heimdal_build/config.h
source4/include/includes.h
source4/ntvfs/posix/pvfs_acl.c