diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-09-14 14:51:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:51:46 -0500 |
commit | 71453ab90dbda7f335a3c7119eb8d404e85a0131 (patch) | |
tree | 98389567efb132cd9bdec96e7ae1ce77800ee03c /source3/librpc/gen_ndr/srv_dfs.c | |
parent | 1e811453620ea35bcc1f2b481d1ebdc0778b282f (diff) | |
download | samba-71453ab90dbda7f335a3c7119eb8d404e85a0131.tar.gz samba-71453ab90dbda7f335a3c7119eb8d404e85a0131.tar.bz2 samba-71453ab90dbda7f335a3c7119eb8d404e85a0131.zip |
r18526: Use generated server for unixinfo RPC interface.
(This used to be commit a5c0606d7667506fdc64776e32d4b3508195a199)
Diffstat (limited to 'source3/librpc/gen_ndr/srv_dfs.c')
-rw-r--r-- | source3/librpc/gen_ndr/srv_dfs.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/srv_dfs.c b/source3/librpc/gen_ndr/srv_dfs.c index 75f3cd3949..bd4503248d 100644 --- a/source3/librpc/gen_ndr/srv_dfs.c +++ b/source3/librpc/gen_ndr/srv_dfs.c @@ -31,6 +31,12 @@ static BOOL api_dfs_GetManagerVersion(pipes_struct *p) return False; } + r.out.exist_flag = talloc_size(mem_ctx, sizeof(*r.out.exist_flag)); + if (r.out.exist_flag == NULL) { + talloc_free(mem_ctx); + return False; + } + _dfs_GetManagerVersion(p, r.out.exist_flag); push = ndr_push_init_ctx(mem_ctx); @@ -231,6 +237,12 @@ static BOOL api_dfs_GetInfo(pipes_struct *p) return False; } + r.out.info = talloc_size(mem_ctx, sizeof(*r.out.info)); + if (r.out.info == NULL) { + talloc_free(mem_ctx); + return False; + } + r.out.result = _dfs_GetInfo(p, r.in.path, r.in.server, r.in.share, r.in.level, r.out.info); push = ndr_push_init_ctx(mem_ctx); |