diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-18 11:22:32 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-18 11:22:32 -0700 |
commit | c6d58efa4b1ad5ff4a9e0f224b8a9789d8f82faf (patch) | |
tree | bd0abe1a3387a456700bc5bd330be24a3ff62764 | |
parent | 39971fff27f71b514308d10d7a2d8c3fb58c2420 (diff) | |
parent | 78338d431c6e4ae8e3ff94b0ba9caaae2a5626a9 (diff) | |
download | samba-c6d58efa4b1ad5ff4a9e0f224b8a9789d8f82faf.tar.gz samba-c6d58efa4b1ad5ff4a9e0f224b8a9789d8f82faf.tar.bz2 samba-c6d58efa4b1ad5ff4a9e0f224b8a9789d8f82faf.zip |
Merge branch 'master' of /home/tridge/samba/git/combined
-rw-r--r-- | lib/talloc/talloc.c | 6 | ||||
-rw-r--r-- | source3/librpc/rpc/dcerpc.h | 3 | ||||
-rw-r--r-- | source3/modules/vfs_hpuxacl.c | 1 | ||||
-rw-r--r-- | source3/smbd/filename_util.c | 2 | ||||
-rw-r--r-- | source3/winbindd/winbindd_remove_mapping.c | 2 | ||||
-rw-r--r-- | source3/winbindd/winbindd_set_hwm.c | 2 | ||||
-rw-r--r-- | source3/winbindd/winbindd_set_mapping.c | 2 |
7 files changed, 12 insertions, 6 deletions
diff --git a/lib/talloc/talloc.c b/lib/talloc/talloc.c index 478767c955..f103a9b941 100644 --- a/lib/talloc/talloc.c +++ b/lib/talloc/talloc.c @@ -1421,8 +1421,10 @@ static void talloc_report_depth_FILE_helper(const void *ptr, int depth, int max_ */ void talloc_report_depth_file(const void *ptr, int depth, int max_depth, FILE *f) { - talloc_report_depth_cb(ptr, depth, max_depth, talloc_report_depth_FILE_helper, f); - fflush(f); + if (f) { + talloc_report_depth_cb(ptr, depth, max_depth, talloc_report_depth_FILE_helper, f); + fflush(f); + } } /* diff --git a/source3/librpc/rpc/dcerpc.h b/source3/librpc/rpc/dcerpc.h index 48019a421d..8da56e2aaf 100644 --- a/source3/librpc/rpc/dcerpc.h +++ b/source3/librpc/rpc/dcerpc.h @@ -119,5 +119,8 @@ struct dcerpc_binding { /* this triggers the DCERPC_PFC_FLAG_SUPPORT_HEADER_SIGN flag in the bind request */ #define DCERPC_HEADER_SIGNING (1<<20) +/* use NDR64 transport */ +#define DCERPC_NDR64 (1<<21) + #endif /* __DCERPC_H__ */ diff --git a/source3/modules/vfs_hpuxacl.c b/source3/modules/vfs_hpuxacl.c index abc80dcd9c..df70f1ea08 100644 --- a/source3/modules/vfs_hpuxacl.c +++ b/source3/modules/vfs_hpuxacl.c @@ -216,6 +216,7 @@ int hpuxacl_sys_acl_set_file(vfs_handle_struct *handle, HPUX_ACL_T hpux_acl = NULL; int count; struct smb_filename *smb_fname = NULL; + NTSTATUS status; DEBUG(10, ("hpuxacl_sys_acl_set_file called for file '%s'\n", name)); diff --git a/source3/smbd/filename_util.c b/source3/smbd/filename_util.c index 867709a373..8c099657c4 100644 --- a/source3/smbd/filename_util.c +++ b/source3/smbd/filename_util.c @@ -190,7 +190,7 @@ bool is_ntfs_stream_smb_fname(const struct smb_filename *smb_fname) return false; } - return smb_fname->stream_name; + return smb_fname->stream_name != NULL; } /**************************************************************************** diff --git a/source3/winbindd/winbindd_remove_mapping.c b/source3/winbindd/winbindd_remove_mapping.c index 055694d63c..1ca4e9452f 100644 --- a/source3/winbindd/winbindd_remove_mapping.c +++ b/source3/winbindd/winbindd_remove_mapping.c @@ -35,7 +35,7 @@ struct tevent_req *winbindd_remove_mapping_send(TALLOC_CTX *mem_ctx, struct tevent_req *req, *subreq; struct winbindd_remove_mapping_state *state; struct winbindd_child *child; - enum id_type type; + enum wbint_IdType type; req = tevent_req_create(mem_ctx, &state, struct winbindd_remove_mapping_state); diff --git a/source3/winbindd/winbindd_set_hwm.c b/source3/winbindd/winbindd_set_hwm.c index 4446ae22f0..11f1b5012d 100644 --- a/source3/winbindd/winbindd_set_hwm.c +++ b/source3/winbindd/winbindd_set_hwm.c @@ -35,7 +35,7 @@ struct tevent_req *winbindd_set_hwm_send(TALLOC_CTX *mem_ctx, struct tevent_req *req, *subreq; struct winbindd_set_hwm_state *state; struct winbindd_child *child; - enum id_type type; + enum wbint_IdType type; req = tevent_req_create(mem_ctx, &state, struct winbindd_set_hwm_state); diff --git a/source3/winbindd/winbindd_set_mapping.c b/source3/winbindd/winbindd_set_mapping.c index 8274c1eb10..7ca564a559 100644 --- a/source3/winbindd/winbindd_set_mapping.c +++ b/source3/winbindd/winbindd_set_mapping.c @@ -35,7 +35,7 @@ struct tevent_req *winbindd_set_mapping_send(TALLOC_CTX *mem_ctx, struct tevent_req *req, *subreq; struct winbindd_set_mapping_state *state; struct winbindd_child *child; - enum id_type type; + enum wbint_IdType type; req = tevent_req_create(mem_ctx, &state, struct winbindd_set_mapping_state); |