]> git.samba.org - mat/samba.git/blobdiff - source4/ntvfs/posix/pvfs_acl.c
Include uid_wrapper correctly.
[mat/samba.git] / source4 / ntvfs / posix / pvfs_acl.c
index 8157d862ec2fdb06d911428ebff5091dd961c87b..b253b8ab2d4f211019cf5fd98ae937d63d09efac 100644 (file)
@@ -20,6 +20,7 @@
 */
 
 #include "includes.h"
+#include "system/passwd.h"
 #include "auth/auth.h"
 #include "vfs_posix.h"
 #include "librpc/gen_ndr/xattr.h"
 #include "../lib/util/unix_privs.h"
 #include "lib/util/samba_modules.h"
 
-#if defined(UID_WRAPPER)
-#if !defined(UID_WRAPPER_REPLACE) && !defined(UID_WRAPPER_NOT_REPLACE)
-#define UID_WRAPPER_REPLACE
-#include "../uid_wrapper/uid_wrapper.h"
-#endif
-#else
-#define uwrap_enabled() 0
-#endif
-
 /* the list of currently registered ACL backends */
 static struct pvfs_acl_backend {
        const struct pvfs_acl_ops *ops;