diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-15 20:33:27 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-15 16:28:03 +0200 |
commit | fd42bc1846929d163cdf25a0e66feba16bffc442 (patch) | |
tree | 8027cce773d23dd04f198315760220a5afd239c9 | |
parent | d2d5fb1abfcb9d21fe2742d53de00c7638fad14d (diff) | |
download | samba-fd42bc1846929d163cdf25a0e66feba16bffc442.tar.gz samba-fd42bc1846929d163cdf25a0e66feba16bffc442.tar.bz2 samba-fd42bc1846929d163cdf25a0e66feba16bffc442.zip |
librpc/idl: Make smb_acl_t public so we can pull/push it as a blob
-rw-r--r-- | librpc/idl/smb_acl.idl | 2 | ||||
-rw-r--r-- | source3/modules/wscript_build | 9 |
2 files changed, 10 insertions, 1 deletions
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, |