diff options
Diffstat (limited to 'source3/libmsrpc')
-rw-r--r-- | source3/libmsrpc/cac_samr.c | 3 | ||||
-rw-r--r-- | source3/libmsrpc/cac_svcctl.c | 4 | ||||
-rw-r--r-- | source3/libmsrpc/cac_winreg.c | 2 | ||||
-rw-r--r-- | source3/libmsrpc/libmsrpc.c | 2 | ||||
-rw-r--r-- | source3/libmsrpc/libmsrpc_internal.c | 4 |
5 files changed, 15 insertions, 0 deletions
diff --git a/source3/libmsrpc/cac_samr.c b/source3/libmsrpc/cac_samr.c index aee6080437..e85142af90 100644 --- a/source3/libmsrpc/cac_samr.c +++ b/source3/libmsrpc/cac_samr.c @@ -30,6 +30,9 @@ /*not sure what this is.. taken from rpcclient/cmd_samr.c*/ #define SAMR_LOOKUP_FLAGS 0x000003e8 +DOM_SID *cac_get_domain_sid( CacServerHandle * hnd, TALLOC_CTX * mem_ctx, + uint32 des_access ); + int cac_SamConnect( CacServerHandle * hnd, TALLOC_CTX * mem_ctx, struct SamConnect *op ) { diff --git a/source3/libmsrpc/cac_svcctl.c b/source3/libmsrpc/cac_svcctl.c index 9f61b42129..3d3034df15 100644 --- a/source3/libmsrpc/cac_svcctl.c +++ b/source3/libmsrpc/cac_svcctl.c @@ -24,6 +24,10 @@ #define WAIT_SLEEP_TIME 300000 +int cac_WaitForService( CacServerHandle * hnd, TALLOC_CTX * mem_ctx, + POLICY_HND * svc_hnd, uint32 state, uint32 timeout, + SERVICE_STATUS * status ); + int cac_SvcOpenScm( CacServerHandle * hnd, TALLOC_CTX * mem_ctx, struct SvcOpenScm *op ) { diff --git a/source3/libmsrpc/cac_winreg.c b/source3/libmsrpc/cac_winreg.c index a43febb0d6..f586c29d84 100644 --- a/source3/libmsrpc/cac_winreg.c +++ b/source3/libmsrpc/cac_winreg.c @@ -22,6 +22,8 @@ #include "libmsrpc.h" #include "libmsrpc_internal.h" +WERROR cac_delete_subkeys_recursive( struct rpc_pipe_client * pipe_hnd, + TALLOC_CTX * mem_ctx, POLICY_HND * key ); int cac_RegConnect( CacServerHandle * hnd, TALLOC_CTX * mem_ctx, struct RegConnect *op ) diff --git a/source3/libmsrpc/libmsrpc.c b/source3/libmsrpc/libmsrpc.c index adaf89d0fe..0d7bbb8f92 100644 --- a/source3/libmsrpc/libmsrpc.c +++ b/source3/libmsrpc/libmsrpc.c @@ -24,6 +24,8 @@ #include "libsmbclient.h" #include "libsmb_internal.h" +int cac_InitHandleData( CacServerHandle * hnd ); + /*this function is based on code found in smbc_init_context() (libsmb/libsmbclient.c)*/ void cac_Init( int debug ) { diff --git a/source3/libmsrpc/libmsrpc_internal.c b/source3/libmsrpc/libmsrpc_internal.c index 36e604f90f..b9eb5a40e9 100644 --- a/source3/libmsrpc/libmsrpc_internal.c +++ b/source3/libmsrpc/libmsrpc_internal.c @@ -23,6 +23,10 @@ #include "libmsrpc.h" #include "libmsrpc_internal.h" +char *cac_unistr_to_str( TALLOC_CTX * mem_ctx, uint16 * src, int num_bytes ); +char *talloc_unistr2_to_ascii( TALLOC_CTX * mem_ctx, UNISTR2 str ); +char *cac_unistr_ascii( TALLOC_CTX * mem_ctx, UNISTR src ); + /*used to get a struct rpc_pipe_client* to be passed into rpccli* calls*/ struct rpc_pipe_client *cac_GetPipe( CacServerHandle * hnd, int pi_idx ) { |