Changeset 745 for trunk/server/source3/lib/netapi/cm.c
- Timestamp:
- Nov 27, 2012, 4:43:17 PM (13 years ago)
- Location:
- trunk/server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server
- Property svn:mergeinfo changed
/vendor/current merged: 581,587,591,594,597,600,615,618,740
- Property svn:mergeinfo changed
-
trunk/server/source3/lib/netapi/cm.c
r590 r745 19 19 20 20 #include "includes.h" 21 #include "popt_common.h" 21 22 22 23 #include "lib/netapi/netapi.h" 23 24 #include "lib/netapi/netapi_private.h" 25 #include "libsmb/libsmb.h" 26 #include "rpc_client/cli_pipe.h" 24 27 25 28 /******************************************************************** … … 251 254 return WERR_OK; 252 255 } 256 257 /******************************************************************** 258 ********************************************************************/ 259 260 WERROR libnetapi_get_binding_handle(struct libnetapi_ctx *ctx, 261 const char *server_name, 262 const struct ndr_syntax_id *interface, 263 struct dcerpc_binding_handle **binding_handle) 264 { 265 struct rpc_pipe_client *pipe_cli; 266 WERROR result; 267 268 *binding_handle = NULL; 269 270 result = libnetapi_open_pipe(ctx, server_name, interface, &pipe_cli); 271 if (!W_ERROR_IS_OK(result)) { 272 return result; 273 } 274 275 *binding_handle = pipe_cli->binding_handle; 276 277 return WERR_OK; 278 }
Note:
See TracChangeset
for help on using the changeset viewer.