--- /dev/null
+#include "idl_types.h"
+
+/*
+ IDL for smb311 unix structures
+*/
+
+import "security.idl";
+
+[
+ version(0.0),
+ pointer_default(unique)
+]
+interface smb3posix
+{
+ typedef [public,flag(NDR_NOALIGN)] struct {
+ uint32 nlinks;
+ uint32 reparse_tag;
+ uint32 posix_perms;
+ dom_sid owner;
+ dom_sid group;
+ } smb3_posix_cc_info;
+
+ typedef [public,flag(NDR_NOALIGN)] struct {
+ NTTIME creation_time;
+ NTTIME last_access_time;
+ NTTIME last_write_time;
+ NTTIME change_time;
+ hyper end_of_file;
+ hyper allocation_size;
+ uint32 file_attributes;
+ hyper inode;
+ uint32 device;
+ uint32 reserved;
+ smb3_posix_cc_info cc;
+ } smb3_file_posix_information;
+}
server_id.idl
smb_acl.idl
xattr.idl
+ smb3posix.idl
''',
options='--header --ndr-parser --python',
output_dir='../gen_ndr')
public_deps='ndr NDR_SECURITY'
)
+bld.SAMBA_SUBSYSTEM('NDR_SMB3POSIX',
+ source='gen_ndr/ndr_smb3posix.c',
+ public_deps='ndr',
+ public_headers='gen_ndr/smb3posix.h')
+
bld.SAMBA_SUBSYSTEM('NDR_SMB2_LEASE_STRUCT',
source='gen_ndr/ndr_smb2_lease_struct.c',
public_deps='ndr',
deps='''NDR_DRSBLOBS NDR_DRSUAPI NDR_IDMAP NDR_NTLMSSP NDR_NEGOEX NDR_SCHANNEL NDR_MGMT
NDR_DNSSERVER NDR_EPMAPPER NDR_XATTR NDR_UNIXINFO NDR_NAMED_PIPE_AUTH
NDR_NTPRINTING NDR_FSRVP NDR_WITNESS NDR_MDSSVC NDR_OPEN_FILES NDR_SMBXSRV
+ NDR_SMB3POSIX
NDR_KRB5CCACHE''',
private_library=True,
grouping_library=True
cflags_end=gen_cflags
)
+bld.SAMBA_PYTHON('python_dcerpc_smb3posix',
+ source='../../librpc/gen_ndr/py_smb3posix.c',
+ deps='%s %s NDR_SMB3POSIX' % (pytalloc_util, pyrpc_util),
+ realname='samba/dcerpc/smb3posix.so',
+ cflags_end=gen_cflags
+ )
+
bld.SAMBA_PYTHON('python_dcerpc_idmap',
source='../../librpc/gen_ndr/py_idmap.c',
deps='%s %s NDR_IDMAP' % (pytalloc_util, pyrpc_util),