From fd42bc1846929d163cdf25a0e66feba16bffc442 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 15 Aug 2012 20:33:27 +1000 Subject: librpc/idl: Make smb_acl_t public so we can pull/push it as a blob --- librpc/idl/smb_acl.idl | 2 +- source3/modules/wscript_build | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/librpc/idl/smb_acl.idl b/librpc/idl/smb_acl.idl index 9586958bc6..856312f484 100644 --- a/librpc/idl/smb_acl.idl +++ b/librpc/idl/smb_acl.idl @@ -48,7 +48,7 @@ interface smb_acl gid_t gid; } smb_acl_entry; - typedef struct { + [public] typedef struct { int size; int count; int next; diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build index aaefd98727..4043292069 100644 --- a/source3/modules/wscript_build +++ b/source3/modules/wscript_build @@ -5,6 +5,7 @@ VFS_AUDIT_SRC = '''vfs_audit.c''' VFS_EXTD_AUDIT_SRC = '''vfs_extd_audit.c''' VFS_FULL_AUDIT_SRC = '''vfs_full_audit.c''' VFS_FAKE_PERMS_SRC = '''vfs_fake_perms.c''' +VFS_FAKE_ACLS_SRC = '''vfs_fake_acls.c''' VFS_RECYCLE_SRC = '''vfs_recycle.c''' VFS_NETATALK_SRC = '''vfs_netatalk.c''' VFS_DEFAULT_QUOTA_SRC = '''vfs_default_quota.c''' @@ -104,6 +105,14 @@ bld.SAMBA3_MODULE('vfs_fake_perms', internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_perms'), enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_perms')) +bld.SAMBA3_MODULE('vfs_fake_acls', + subsystem='vfs', + source=VFS_FAKE_ACLS_SRC, + deps='acl attr samba-util', + init_function='', + internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_acls'), + enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_acls')) + bld.SAMBA3_MODULE('vfs_recycle', subsystem='vfs', source=VFS_RECYCLE_SRC, -- cgit