]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
librpc/idl: Make smb_acl_t public so we can pull/push it as a blob
authorAndrew Bartlett <abartlet@samba.org>
Wed, 15 Aug 2012 10:33:27 +0000 (20:33 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 15 Aug 2012 14:28:03 +0000 (16:28 +0200)
librpc/idl/smb_acl.idl
source3/modules/wscript_build

index 9586958bc66500bcf19272043539cf03e01229a9..856312f484d457087686285fbc5bb538390ae0e2 100644 (file)
@@ -48,7 +48,7 @@ interface smb_acl
                gid_t gid;
        } smb_acl_entry;
        
-       typedef struct {
+       [public] typedef struct {
                int     size;
                int     count;
                int     next;
index aaefd987276bcd0615b341dcfd555d22f7389bc5..40432920697d825a24135d74e3ed6625bfbbb7f5 100644 (file)
@@ -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,