From: Andrew Bartlett Date: Wed, 15 Aug 2012 10:33:27 +0000 (+1000) Subject: librpc/idl: Make smb_acl_t public so we can pull/push it as a blob X-Git-Tag: tevent-0.9.17~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd42bc1846929d163cdf25a0e66feba16bffc442;p=thirdparty%2Fsamba.git librpc/idl: Make smb_acl_t public so we can pull/push it as a blob --- diff --git a/librpc/idl/smb_acl.idl b/librpc/idl/smb_acl.idl index 9586958bc66..856312f484d 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 aaefd987276..40432920697 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,