1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source3
Aliaksei Karaliou 193bb824e2 s3:modules: Fix compilation of nfs41acl_xdr.c when building outside src
If the Samba build directory is outside its source directory, generation
of nfs41acl_xdr.c by rpcgen leads to improper include paths to nfs41acl.h.

This happens because rpcgen is designed to produce its generated file in the
same directory as the input template. If the build directory is not located
under the source directory, this relative path will be invalid and the header
will not be found.

Example:
 src dir is ~/samba-src
 bld dir is ~/samba-bld

rpcgen will use path ../../samba-src/source3/modules/nfs41acl.x
running from ~/samba-bld/default and nfs41acl_xdr.c will contain:
 #include "../../samba-src/source3/modules/nfs41acl.h"

This behaviour is fixed through an intermediate copy of the input file to
the build directory so that rpcgen receives the path as if located in src.

Also now we avoid generation of nfs41acl_xdr.c when HAVE_RPC_XDR_H is
not defined because it will not be used as part of the vfs_nfs4acl_xattr
module.

Signed-off-by: Aliaksei Karaliou <akaraliou@panasas.com>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2019-02-11 07:43:31 +01:00
..
auth auth3: Use dom_sid_str_buf 2019-01-08 03:40:27 +01:00
build source3/build/charset.py: update to handle waf 2.0.4 2018-09-05 06:37:23 +02:00
client s3:client: Use C99 initializer for poptOption in smbclient 2019-01-28 10:29:13 +01:00
exports
groupdb groupdb: Use dom_sid_str_buf 2018-12-20 23:40:24 +01:00
include s3:vfs: Correctly check if OFD locks should be enabled or not 2019-02-09 03:43:50 +01:00
intl lib: Pass mem_ctx to lock_path() 2018-08-17 11:30:10 +02:00
lib s3:util: Move static file_pload() function to lib/util 2019-02-11 07:43:31 +01:00
libads s3:libads: do an early return if we don't have a password for ads_kinit_password() 2018-12-23 18:15:19 +01:00
libgpo/gpext libgpo: Fix CID 1438462 Error handling issues (CHECKED_RETURN) 2018-08-22 00:58:41 +02:00
libnet libnet: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
librpc librpc: Add kerberos tracing 2018-12-19 21:49:29 +01:00
libsmb libsmb,s3/smbd: dump SMB3+ session keys if debug parm is set 2019-02-09 21:43:25 +01:00
locale pam_winbind: initial Turkish translation 2017-11-15 13:52:05 +01:00
locking leases: Streamline leases_db_key a bit 2018-10-03 04:11:59 +02:00
modules s3:modules: Fix compilation of nfs41acl_xdr.c when building outside src 2019-02-11 07:43:31 +01:00
nmbd s3:nmbd: small improvements in --help strings 2019-01-28 14:28:29 +01:00
param s3:param: Use C99 initializer for poptOption in test_lp_load 2019-01-28 10:29:15 +01:00
passdb smbd: Avoid sending S-1-22- to winbind 2019-02-08 08:51:19 +01:00
printing printing: check lp_load_printers() prior to pcap cache update 2019-02-01 19:25:03 +01:00
profile profiling: stop smbprofile from growing unnecessarily 2019-01-16 02:01:55 +01:00
registry s3:registry: Use C99 initializer for BOM 2019-01-28 10:29:23 +01:00
rpc_client s3-rpc_client: Advertise Windows 7 client info 2018-09-08 01:43:27 +02:00
rpc_server build: Get rid of hardcoded 'bin/default' in includes 2019-02-08 08:51:19 +01:00
rpcclient s3:rpcclient: Use C99 initializer for cmd_set in cmd_shutdown 2019-01-28 10:29:20 +01:00
script s3: tests: Add regression test for smbd crash on share force group change with existing connection. 2019-01-25 13:20:23 +01:00
selftest s3: tests: Add regression test for smbd crash on share force group change with existing connection. 2019-01-25 13:20:23 +01:00
services srcctl3: Improve debug messages 2018-01-16 02:43:03 +01:00
smbd libsmb,s3/smbd: dump SMB3+ session keys if debug parm is set 2019-02-09 21:43:25 +01:00
torture s3:torture: Use C99 initializer for torture_ops 2019-01-28 10:29:23 +01:00
utils utils:libgpo: re-add libgpo as library, it should not be part of gpext 2019-01-28 15:44:18 +01:00
web
winbindd winbindd: Enhance xids2sids debugging 2019-02-08 13:30:32 +01:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript vfs_glusterfs: Adapt to changes in libgfapi signatures 2019-02-03 17:00:33 +01:00
wscript_build s3:util: Move popen wrappers to lib/util 2019-02-11 07:43:31 +01:00
wscript_configure_system_ncurses source3/wscript_configure_system_ncurses: update to handle waf 2.0.4 2018-09-05 06:37:24 +02:00