Searched refs:pipe_hnd (Results 1 - 24 of 24) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/utils/
H A Dnet_domain.c51 struct rpc_pipe_client *pipe_hnd = NULL; local
64 if ( (pipe_hnd = cli_rpc_pipe_open_noauth(cli, PI_SAMR, &status)) == NULL ) {
70 status = rpccli_samr_connect(pipe_hnd, mem_ctx,
76 status = rpccli_samr_open_domain(pipe_hnd, mem_ctx, &sam_pol,
87 status = rpccli_samr_lookup_names(pipe_hnd, mem_ctx,
102 status = rpccli_samr_open_user(pipe_hnd, mem_ctx, &domain_pol,
110 status = rpccli_samr_query_userinfo(pipe_hnd, mem_ctx, &user_pol, 16, &qctr);
112 rpccli_samr_close(pipe_hnd, mem_ctx, &user_pol);
124 status = rpccli_samr_set_userinfo2(pipe_hnd, mem_ctx, &user_pol, 16,
127 rpccli_samr_close(pipe_hnd, mem_ct
163 struct rpc_pipe_client *pipe_hnd = NULL; local
203 struct rpc_pipe_client *pipe_hnd = NULL; local
[all...]
H A Dnet_rpc_rights.c26 static NTSTATUS sid_to_name(struct rpc_pipe_client *pipe_hnd, argument
36 result = rpccli_lsa_open_policy(pipe_hnd, mem_ctx, True,
42 result = rpccli_lsa_lookup_sids(pipe_hnd, mem_ctx, &pol, 1, sid, &domains, &names, &sid_types);
51 rpccli_lsa_close(pipe_hnd, mem_ctx, &pol);
58 static NTSTATUS name_to_sid(struct rpc_pipe_client *pipe_hnd, argument
72 result = rpccli_lsa_open_policy(pipe_hnd, mem_ctx, True,
78 result = rpccli_lsa_lookup_names(pipe_hnd, mem_ctx, &pol, 1, &name,
84 rpccli_lsa_close(pipe_hnd, mem_ctx, &pol);
91 static NTSTATUS enum_privileges(struct rpc_pipe_client *pipe_hnd, argument
108 result = rpccli_lsa_enum_privilege(pipe_hnd, ct
137 check_privilege_for_user(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *ctx, POLICY_HND *pol, DOM_SID *sid, const char *right) argument
170 enum_privileges_for_user(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *ctx, POLICY_HND *pol, DOM_SID *sid ) argument
198 enum_accounts_for_privilege(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *ctx, POLICY_HND *pol, const char *privilege) argument
246 enum_privileges_for_accounts(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *ctx, POLICY_HND *pol) argument
289 rpc_rights_list_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv ) argument
402 rpc_rights_grant_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv ) argument
453 rpc_rights_revoke_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv ) argument
565 rpc_sh_rights_list(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
574 rpc_sh_rights_grant(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
584 rpc_sh_rights_revoke(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
[all...]
H A Dnet_rpc_join.c48 struct rpc_pipe_client *pipe_hnd = NULL; local
83 pipe_hnd = cli_rpc_pipe_open_schannel_with_key(cli, PI_NETLOGON,
87 if (!pipe_hnd) {
119 struct rpc_pipe_client *pipe_hnd = NULL; local
179 pipe_hnd = cli_rpc_pipe_open_noauth(cli, PI_LSARPC, &result);
180 if (!pipe_hnd) {
187 CHECK_RPC_ERR(rpccli_lsa_open_policy(pipe_hnd, mem_ctx, True,
192 CHECK_RPC_ERR(rpccli_lsa_query_info_policy(pipe_hnd, mem_ctx, &lsa_pol,
196 rpccli_lsa_close(pipe_hnd, mem_ctx, &lsa_pol);
197 cli_rpc_pipe_close(pipe_hnd); /* Don
[all...]
H A Dnet_rpc_service.c27 static WERROR query_service_state(struct rpc_pipe_client *pipe_hnd, argument
39 result = rpccli_svcctl_open_service(pipe_hnd, mem_ctx, hSCM, &hService,
47 result = rpccli_svcctl_query_status(pipe_hnd, mem_ctx, &hService, &service_status );
52 rpccli_svcctl_close_service(pipe_hnd, mem_ctx, &hService );
60 static WERROR watch_service_state(struct rpc_pipe_client *pipe_hnd, argument
76 result = query_service_state(pipe_hnd, mem_ctx, hSCM, service, &state );
95 static WERROR control_service(struct rpc_pipe_client *pipe_hnd, argument
109 result = rpccli_svcctl_open_service(pipe_hnd, mem_ctx, hSCM, &hService,
119 result = rpccli_svcctl_control_service(pipe_hnd, mem_ctx, &hService,
129 result = watch_service_state(pipe_hnd, mem_ct
142 rpc_service_list_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv ) argument
196 rpc_service_status_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv ) argument
298 rpc_service_stop_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv ) argument
336 rpc_service_pause_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv ) argument
374 rpc_service_resume_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv ) argument
412 rpc_service_start_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv ) argument
[all...]
H A Dnet_rpc_sh_acct.c31 struct rpc_pipe_client *pipe_hnd,
50 result = rpccli_samr_connect(pipe_hnd, mem_ctx,
59 result = rpccli_samr_open_domain(pipe_hnd, mem_ctx, &connect_pol,
66 result = rpccli_samr_query_dom_info(pipe_hnd, mem_ctx, &domain_pol,
75 result = rpccli_samr_query_dom_info(pipe_hnd, mem_ctx, &domain_pol,
84 result = rpccli_samr_query_dom_info(pipe_hnd, mem_ctx, &domain_pol,
103 result = rpccli_samr_set_domain_info(pipe_hnd, mem_ctx,
107 result = rpccli_samr_set_domain_info(pipe_hnd, mem_ctx,
111 result = rpccli_samr_set_domain_info(pipe_hnd, mem_ctx,
122 rpccli_samr_close(pipe_hnd, mem_ct
29 rpc_sh_acct_do(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv, BOOL (*fn)(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, SAM_UNK_INFO_1 *i1, SAM_UNK_INFO_3 *i3, SAM_UNK_INFO_12 *i12, int argc, const char **argv)) argument
190 rpc_sh_acct_pol_show(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
215 rpc_sh_acct_set_badpw(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
242 rpc_sh_acct_set_lockduration(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
269 rpc_sh_acct_set_resetduration(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
296 rpc_sh_acct_set_minpwage(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
323 rpc_sh_acct_set_maxpwage(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
350 rpc_sh_acct_set_minpwlen(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
377 rpc_sh_acct_set_pwhistlen(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
[all...]
H A Dnet_rpc_audit.c69 struct rpc_pipe_client *pipe_hnd,
93 result = rpccli_lsa_open_policy(pipe_hnd, mem_ctx, True,
101 result = rpccli_lsa_query_info_policy_new(pipe_hnd, mem_ctx, &pol,
136 struct rpc_pipe_client *pipe_hnd,
174 result = rpccli_lsa_open_policy(pipe_hnd, mem_ctx, True,
182 result = rpccli_lsa_query_info_policy_new(pipe_hnd, mem_ctx, &pol,
192 result = rpccli_lsa_set_info_policy(pipe_hnd, mem_ctx, &pol,
199 result = rpccli_lsa_query_info_policy_new(pipe_hnd, mem_ctx, &pol,
217 static NTSTATUS rpc_audit_enable_internal_ext(struct rpc_pipe_client *pipe_hnd, argument
229 result = rpccli_lsa_open_policy(pipe_hnd, mem_ct
66 rpc_audit_get_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
133 rpc_audit_set_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
266 rpc_audit_disable_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
280 rpc_audit_enable_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
294 rpc_audit_list_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
[all...]
H A Dnet_rpc.c110 struct rpc_pipe_client *pipe_hnd = NULL; local
145 pipe_hnd = cli_rpc_pipe_open_schannel(cli, pipe_idx,
149 if (!pipe_hnd) {
156 pipe_hnd = cli_rpc_pipe_open_noauth(cli, pipe_idx, &nt_status);
157 if (!pipe_hnd) {
167 nt_status = fn(domain_sid, domain_name, cli, pipe_hnd, mem_ctx, argc, argv);
176 if (pipe_hnd) {
177 cli_rpc_pipe_close(pipe_hnd);
209 struct rpc_pipe_client *pipe_hnd,
215 return trust_pw_find_change_and_store_it(pipe_hnd, mem_ct
206 rpc_changetrustpw_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
255 rpc_oldjoin_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
426 rpc_info_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
506 rpc_getsid_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
572 rpc_user_add_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
719 rpc_user_del_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
811 rpc_user_rename_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
960 rpc_user_password_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1092 rpc_user_info_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1204 rpc_user_list_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1297 rpc_sh_user_list(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
1307 rpc_sh_user_info(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
1317 rpc_sh_handle_user(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv, NTSTATUS (*fn)( TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, const POLICY_HND *user_hnd, int argc, const char **argv)) argument
1400 rpc_sh_user_show_internals(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, const POLICY_HND *user_hnd, int argc, const char **argv) argument
1429 rpc_sh_user_show(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
1450 rpc_sh_user_str_edit_internals(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, const POLICY_HND *user_hnd, int argc, const char **argv) argument
1524 rpc_sh_user_str_edit(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
1533 rpc_sh_user_flag_edit_internals(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, const POLICY_HND *user_hnd, int argc, const char **argv) argument
1598 rpc_sh_user_flag_edit(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
1701 rpc_group_delete_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1882 rpc_group_add_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1939 rpc_alias_add_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
2015 struct rpc_pipe_client *pipe_hnd; local
2062 rpc_add_groupmem(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, const DOM_SID *group_sid, const char *member) argument
2123 rpc_add_aliasmem(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, const DOM_SID *alias_sid, const char *member) argument
2186 rpc_group_addmem_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
2243 rpc_del_groupmem(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, const DOM_SID *group_sid, const char *member) argument
2300 rpc_del_aliasmem(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, const DOM_SID *alias_sid, const char *member) argument
2360 rpc_group_delmem_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
2433 rpc_group_list_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
2642 rpc_list_group_members(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, const char *domain_name, const DOM_SID *domain_sid, POLICY_HND *domain_pol, uint32 rid) argument
2708 rpc_list_alias_members(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, POLICY_HND *domain_pol, uint32 rid) argument
2788 rpc_group_members_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
2879 rpc_group_rename_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
3009 rpc_share_add_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx,int argc, const char **argv) argument
3066 rpc_share_del_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
3123 get_share_info(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, uint32 level, int argc, const char **argv, SRV_SHARE_INFO_CTR *ctr) argument
3285 rpc_share_list_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
3377 rpc_share_migrate_shares_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
3661 rpc_share_migrate_files_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
3799 rpc_share_migrate_security_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
3985 rpc_fetch_domain_aliases(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, POLICY_HND *connect_pol, const DOM_SID *domain_sid) argument
4065 rpc_aliaslist_dump(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
4130 rpc_aliaslist_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
4481 show_userlist(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, const char *netname, int num_tokens, struct user_token *tokens) argument
4609 rpc_share_allowedusers_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
4774 rpc_sh_share_list(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
4784 rpc_sh_share_add(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
4805 rpc_sh_share_delete(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
4821 rpc_sh_share_info(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
4904 rpc_file_close_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
4972 rpc_file_list_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
5074 rpc_shutdown_abort_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
5111 rpc_reg_shutdown_abort_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
5174 rpc_init_shutdown_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
5222 rpc_reg_shutdown_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
5326 rpc_trustdom_add_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
5462 rpc_trustdom_del_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
5598 struct rpc_pipe_client *pipe_hnd = NULL; local
5807 rpc_query_domain_sid(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
5837 vampire_trusted_domain(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, POLICY_HND *pol, DOM_SID dom_sid, const char *trusted_dom_name) argument
5894 struct rpc_pipe_client *pipe_hnd = NULL; local
6030 struct rpc_pipe_client *pipe_hnd = NULL; local
[all...]
H A Dnet_rpc_printer.c684 static BOOL net_spoolss_enum_printers(struct rpc_pipe_client *pipe_hnd, argument
695 result = rpccli_spoolss_enum_printers(pipe_hnd, mem_ctx, name, flags,
706 static BOOL net_spoolss_open_printer_ex(struct rpc_pipe_client *pipe_hnd, argument
716 slprintf(servername, sizeof(servername)-1, "\\\\%s", pipe_hnd->cli->desthost);
726 result = rpccli_spoolss_open_printer_ex(pipe_hnd, mem_ctx, printername2,
749 static BOOL net_spoolss_getprinter(struct rpc_pipe_client *pipe_hnd, argument
758 result = rpccli_spoolss_getprinter(pipe_hnd, mem_ctx, hnd, level, ctr);
768 static BOOL net_spoolss_setprinter(struct rpc_pipe_client *pipe_hnd, argument
777 result = rpccli_spoolss_setprinter(pipe_hnd, mem_ctx, hnd, level, ctr, 0);
788 static BOOL net_spoolss_setprinterdata(struct rpc_pipe_client *pipe_hnd, argument
807 net_spoolss_enumprinterkey(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, POLICY_HND *hnd, const char *keyname, uint16 **keylist) argument
826 net_spoolss_enumprinterdataex(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, uint32 offered, POLICY_HND *hnd, const char *keyname, REGVAL_CTR *ctr) argument
847 net_spoolss_setprinterdataex(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, POLICY_HND *hnd, char *keyname, REGISTRY_VALUE *value) argument
867 net_spoolss_enumforms(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, POLICY_HND *hnd, int level, uint32 *num_forms, FORM_1 **forms) argument
888 net_spoolss_enumprinterdrivers(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, uint32 level, const char *env, uint32 *num_drivers, PRINTER_DRIVER_CTR *ctr) argument
909 net_spoolss_getprinterdriver(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, POLICY_HND *hnd, uint32 level, const char *env, int version, PRINTER_DRIVER_CTR *ctr) argument
936 net_spoolss_addprinterdriver(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, uint32 level, PRINTER_DRIVER_CTR *ctr) argument
963 get_printer_info(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int level, int argc, const char **argv, uint32 *num_printers, PRINTER_INFO_CTR *ctr) argument
1023 rpc_printer_list_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1073 rpc_printer_driver_list_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1140 rpc_printer_publish_internals_args(struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv, uint32 action) argument
1215 rpc_printer_publish_publish_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1226 rpc_printer_publish_unpublish_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1237 rpc_printer_publish_update_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1264 rpc_printer_publish_list_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1353 rpc_printer_migrate_security_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1503 rpc_printer_migrate_forms_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1679 rpc_printer_migrate_drivers_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
1898 rpc_printer_migrate_printers_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
2047 rpc_printer_migrate_settings_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
[all...]
H A Dnet_rpc_registry.c90 struct rpc_pipe_client *pipe_hnd,
114 result = rpccli_reg_connect(pipe_hnd, mem_ctx, hive, MAXIMUM_ALLOWED_ACCESS, &pol_hive );
121 result = rpccli_reg_open_entry(pipe_hnd, mem_ctx, &pol_hive, subpath, MAXIMUM_ALLOWED_ACCESS, &pol_key );
136 result = rpccli_reg_enum_key(pipe_hnd, mem_ctx, &pol_key, idx,
167 result = rpccli_reg_enum_val(pipe_hnd, mem_ctx, &pol_key, idx,
189 rpccli_reg_close(pipe_hnd, mem_ctx, &pol_key );
190 rpccli_reg_close(pipe_hnd, mem_ctx, &pol_hive );
210 struct rpc_pipe_client *pipe_hnd,
232 result = rpccli_reg_connect(pipe_hnd, mem_ctx, hive, MAXIMUM_ALLOWED_ACCESS, &pol_hive );
238 result = rpccli_reg_open_entry(pipe_hnd, mem_ct
87 rpc_registry_enumerate_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv ) argument
207 rpc_registry_save_internal(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv ) argument
[all...]
H A Dnet_rpc_shell.c26 struct rpc_pipe_client *pipe_hnd,
30 ctx->cli, pipe_hnd, mem_ctx,
71 struct rpc_pipe_client *pipe_hnd; local
80 pipe_hnd = cli_rpc_pipe_open_noauth(ctx->cli, cmd->pipe_idx, &status);
81 if (pipe_hnd == NULL) {
87 status = cmd->fn(mem_ctx, ctx, pipe_hnd, argc, argv);
89 cli_rpc_pipe_close(pipe_hnd);
25 rpc_sh_info(TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx, struct rpc_pipe_client *pipe_hnd, int argc, const char **argv) argument
H A Dsmbtree.c135 struct rpc_pipe_client *pipe_hnd; local
150 pipe_hnd = cli_rpc_pipe_open_noauth(cli, PI_SRVSVC, &status);
152 if (pipe_hnd == NULL) {
159 werr = rpccli_srvsvc_net_share_enum(pipe_hnd, mem_ctx, 1, &ctr,
164 cli_rpc_pipe_close(pipe_hnd);
179 cli_rpc_pipe_close(pipe_hnd);
H A Dnet.h60 struct rpc_pipe_client *pipe_hnd,
H A Dnet_rpc_samsync.c182 static void dump_database(struct rpc_pipe_client *pipe_hnd, uint32 db_type) argument
212 result = rpccli_netlogon_sam_sync(pipe_hnd, mem_ctx, db_type,
231 struct rpc_pipe_client *pipe_hnd,
251 nt_status = rpccli_netlogon_setup_creds(pipe_hnd,
265 dump_database(pipe_hnd, SAM_DATABASE_DOMAIN);
266 dump_database(pipe_hnd, SAM_DATABASE_BUILTIN);
267 dump_database(pipe_hnd, SAM_DATABASE_PRIVS);
951 static NTSTATUS fetch_database(struct rpc_pipe_client *pipe_hnd, uint32 db_type, DOM_SID dom_sid) argument
980 result = rpccli_netlogon_sam_sync(pipe_hnd, mem_ctx,
1735 static NTSTATUS fetch_database_to_ldif(struct rpc_pipe_client *pipe_hnd, argument
228 rpc_samdump_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
2060 rpc_vampire_internals(const DOM_SID *domain_sid, const char *domain_name, struct cli_state *cli, struct rpc_pipe_client *pipe_hnd, TALLOC_CTX *mem_ctx, int argc, const char **argv) argument
[all...]
H A Dnet.c313 struct rpc_pipe_client *pipe_hnd = NULL; local
333 pipe_hnd = cli_rpc_pipe_open_noauth(cli_tmp, pipe_num, &nt_status);
334 if (!pipe_hnd) {
342 *pp_pipe_hnd = pipe_hnd;
H A Dnet_ads.c1909 struct rpc_pipe_client *pipe_hnd; local
1987 pipe_hnd = cli_rpc_pipe_open_noauth(cli, PI_SPOOLSS, &nt_status);
1988 if (!pipe_hnd) {
1997 if (!W_ERROR_IS_OK(get_remote_printer_publishing_data(pipe_hnd, mem_ctx, &mods,
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/libmsrpc/
H A Dcac_winreg.c25 WERROR cac_delete_subkeys_recursive( struct rpc_pipe_client * pipe_hnd,
32 struct rpc_pipe_client *pipe_hnd = NULL; local
58 ( pipe_hnd =
67 pipe_hnd = cac_GetPipe( hnd, PI_WINREG );
68 if ( !pipe_hnd ) {
79 err = rpccli_reg_connect( pipe_hnd, mem_ctx, op->in.root,
95 struct rpc_pipe_client *pipe_hnd = NULL; local
111 pipe_hnd = cac_GetPipe( hnd, PI_WINREG );
112 if ( !pipe_hnd ) {
117 err = rpccli_reg_close( pipe_hnd, mem_ct
130 struct rpc_pipe_client *pipe_hnd = NULL; local
222 struct rpc_pipe_client *pipe_hnd = NULL; local
336 struct rpc_pipe_client *pipe_hnd = NULL; local
397 cac_delete_subkeys_recursive( struct rpc_pipe_client * pipe_hnd, TALLOC_CTX * mem_ctx, POLICY_HND * key ) argument
458 struct rpc_pipe_client *pipe_hnd = NULL; local
523 struct rpc_pipe_client *pipe_hnd = NULL; local
651 struct rpc_pipe_client *pipe_hnd = NULL; local
704 struct rpc_pipe_client *pipe_hnd = NULL; local
817 struct rpc_pipe_client *pipe_hnd = NULL; local
874 struct rpc_pipe_client *pipe_hnd = NULL; local
913 struct rpc_pipe_client *pipe_hnd = NULL; local
962 struct rpc_pipe_client *pipe_hnd = NULL; local
1001 struct rpc_pipe_client *pipe_hnd = NULL; local
1039 struct rpc_pipe_client *pipe_hnd = NULL; local
1112 struct rpc_pipe_client *pipe_hnd = NULL; local
[all...]
H A Dcac_svcctl.c35 struct rpc_pipe_client *pipe_hnd = NULL; local
62 ( pipe_hnd =
78 err = rpccli_svcctl_open_scm( pipe_hnd, mem_ctx, scm_out,
93 struct rpc_pipe_client *pipe_hnd = NULL; local
109 pipe_hnd = cac_GetPipe( hnd, PI_SVCCTL );
110 if ( !pipe_hnd ) {
115 err = rpccli_svcctl_close_service( pipe_hnd, mem_ctx, scm_hnd );
127 struct rpc_pipe_client *pipe_hnd = NULL; local
150 pipe_hnd = cac_GetPipe( hnd, PI_SVCCTL );
151 if ( !pipe_hnd ) {
189 struct rpc_pipe_client *pipe_hnd = NULL; local
235 struct rpc_pipe_client *pipe_hnd = NULL; local
279 struct rpc_pipe_client *pipe_hnd = NULL; local
329 struct rpc_pipe_client *pipe_hnd = NULL; local
364 struct rpc_pipe_client *pipe_hnd = NULL; local
412 struct rpc_pipe_client *pipe_hnd = NULL; local
458 struct rpc_pipe_client *pipe_hnd = NULL; local
504 struct rpc_pipe_client *pipe_hnd = NULL; local
550 struct rpc_pipe_client *pipe_hnd = NULL; local
595 struct rpc_pipe_client *pipe_hnd = NULL; local
[all...]
H A Dcac_samr.c40 struct rpc_pipe_client *pipe_hnd = NULL; local
65 ( pipe_hnd =
74 pipe_hnd = cac_GetPipe( hnd, PI_SAMR );
75 if ( !pipe_hnd ) {
88 rpccli_samr_connect4( pipe_hnd, mem_ctx,
97 rpccli_samr_connect( pipe_hnd, mem_ctx, op->in.access,
117 struct rpc_pipe_client *pipe_hnd = NULL; local
132 pipe_hnd = cac_GetPipe( hnd, PI_SAMR );
133 if ( !pipe_hnd ) {
138 hnd->status = rpccli_samr_close( pipe_hnd, mem_ct
194 struct rpc_pipe_client *pipe_hnd = NULL; local
284 struct rpc_pipe_client *pipe_hnd = NULL; local
364 struct rpc_pipe_client *pipe_hnd = NULL; local
416 struct rpc_pipe_client *pipe_hnd = NULL; local
449 struct rpc_pipe_client *pipe_hnd = NULL; local
509 struct rpc_pipe_client *pipe_hnd = NULL; local
599 struct rpc_pipe_client *pipe_hnd = NULL; local
691 struct rpc_pipe_client *pipe_hnd = NULL; local
763 struct rpc_pipe_client *pipe_hnd = NULL; local
808 struct rpc_pipe_client *pipe_hnd = NULL; local
855 struct rpc_pipe_client *pipe_hnd = NULL; local
889 struct rpc_pipe_client *pipe_hnd = NULL; local
933 struct rpc_pipe_client *pipe_hnd = NULL; local
967 struct rpc_pipe_client *pipe_hnd = NULL; local
1001 struct rpc_pipe_client *pipe_hnd = NULL; local
1069 struct rpc_pipe_client *pipe_hnd = NULL; local
1115 struct rpc_pipe_client *pipe_hnd = NULL; local
1222 struct rpc_pipe_client *pipe_hnd = NULL; local
1331 struct rpc_pipe_client *pipe_hnd = NULL; local
1377 struct rpc_pipe_client *pipe_hnd = NULL; local
1422 struct rpc_pipe_client *pipe_hnd = NULL; local
1456 struct rpc_pipe_client *pipe_hnd = NULL; local
1490 struct rpc_pipe_client *pipe_hnd = NULL; local
1524 struct rpc_pipe_client *pipe_hnd = NULL; local
1565 struct rpc_pipe_client *pipe_hnd = NULL; local
1631 struct rpc_pipe_client *pipe_hnd = NULL; local
1678 struct rpc_pipe_client *pipe_hnd = NULL; local
1734 struct rpc_pipe_client *pipe_hnd = NULL; local
1796 struct rpc_pipe_client *pipe_hnd = NULL; local
1856 struct rpc_pipe_client *pipe_hnd = NULL; local
1911 struct rpc_pipe_client *pipe_hnd = NULL; local
1955 struct rpc_pipe_client *pipe_hnd = NULL; local
2023 struct rpc_pipe_client *pipe_hnd = NULL; local
2063 struct rpc_pipe_client *pipe_hnd = NULL; local
2108 struct rpc_pipe_client *pipe_hnd = NULL; local
2162 struct rpc_pipe_client *pipe_hnd = NULL; local
2206 struct rpc_pipe_client *pipe_hnd = NULL; local
2248 struct rpc_pipe_client *pipe_hnd = NULL; local
2290 struct rpc_pipe_client *pipe_hnd = NULL; local
2334 struct rpc_pipe_client *pipe_hnd = NULL; local
2376 struct rpc_pipe_client *pipe_hnd = NULL; local
2473 struct rpc_pipe_client *pipe_hnd = NULL; local
2517 struct rpc_pipe_client *pipe_hnd = NULL; local
2590 struct rpc_pipe_client *pipe_hnd = NULL; local
2634 struct rpc_pipe_client *pipe_hnd = NULL; local
[all...]
H A Dcac_lsarpc.c30 struct rpc_pipe_client *pipe_hnd = NULL; local
55 pipe_hnd =
59 if ( !pipe_hnd ) {
67 pipe_hnd = cac_GetPipe( hnd, PI_LSARPC );
68 if ( !pipe_hnd ) {
89 rpccli_lsa_open_policy2( pipe_hnd, mem_ctx,
98 rpccli_lsa_open_policy( pipe_hnd, mem_ctx,
123 struct rpc_pipe_client *pipe_hnd = NULL; local
136 pipe_hnd = cac_GetPipe( hnd, PI_LSARPC );
137 if ( !pipe_hnd ) {
155 struct rpc_pipe_client *pipe_hnd = NULL; local
295 struct rpc_pipe_client *pipe_hnd = NULL; local
439 struct rpc_pipe_client *pipe_hnd = NULL; local
532 struct rpc_pipe_client *pipe_hnd = NULL; local
582 struct rpc_pipe_client *pipe_hnd = NULL; local
626 struct rpc_pipe_client *pipe_hnd = NULL; local
690 struct rpc_pipe_client *pipe_hnd; local
735 struct rpc_pipe_client *pipe_hnd = NULL; local
783 struct rpc_pipe_client *pipe_hnd = NULL; local
842 struct rpc_pipe_client *pipe_hnd = NULL; local
891 struct rpc_pipe_client *pipe_hnd = NULL; local
964 struct rpc_pipe_client *pipe_hnd = NULL; local
1026 struct rpc_pipe_client *pipe_hnd = NULL; local
1088 struct rpc_pipe_client *pipe_hnd = NULL; local
1148 struct rpc_pipe_client *pipe_hnd = NULL; local
1219 struct rpc_pipe_client *pipe_hnd = NULL; local
[all...]
H A Dlibmsrpc_internal.c34 struct rpc_pipe_client *pipe_hnd = NULL; local
51 pipe_hnd = srv->cli->pipe_list;
53 while ( pipe_hnd != NULL && pipe_hnd->pipe_idx != pi_idx ) {
54 pipe_hnd = pipe_hnd->next;
57 return pipe_hnd;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/libsmb/
H A Dpasschange.c33 struct rpc_pipe_client *pipe_hnd; local
136 pipe_hnd = cli_rpc_pipe_open_ntlmssp(cli,
152 pipe_hnd = cli_rpc_pipe_open_noauth(cli, PI_SAMR, &result);
155 if (!pipe_hnd) {
176 if (NT_STATUS_IS_OK(result = rpccli_samr_chgpasswd_user(pipe_hnd, cli->mem_ctx, user_name,
193 cli_rpc_pipe_close(pipe_hnd);
201 pipe_hnd = cli_rpc_pipe_open_noauth(cli, PI_SAMR, &result);
203 if ( pipe_hnd &&
204 (NT_STATUS_IS_OK(result = rpccli_samr_chgpasswd_user(pipe_hnd,
H A Dlibsmbclient.c92 struct rpc_pipe_client *pipe_hnd; local
94 for (pipe_hnd = ipc_cli->pipe_list;
95 pipe_hnd;
96 pipe_hnd = pipe_hnd->next) {
98 if (pipe_hnd->pipe_idx == PI_LSARPC) {
99 return pipe_hnd;
946 struct rpc_pipe_client *pipe_hnd; local
1008 pipe_hnd = cli_rpc_pipe_open_noauth(ipc_srv->cli,
1011 if (!pipe_hnd) {
2501 struct rpc_pipe_client *pipe_hnd; local
3805 struct rpc_pipe_client *pipe_hnd = find_lsa_pipe_hnd(ipc_cli); local
3843 struct rpc_pipe_client *pipe_hnd = find_lsa_pipe_hnd(ipc_cli); local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/python/
H A Dpy_common.c217 struct rpc_pipe_client *pipe_hnd; local
236 pipe_hnd = cli_rpc_pipe_open_noauth(cli, pipe_idx, &result);
237 if (!pipe_hnd) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/client/
H A Dclient.c2980 struct rpc_pipe_client *pipe_hnd; local
2995 pipe_hnd = cli_rpc_pipe_open_noauth(cli, PI_SRVSVC, &status);
2997 if (pipe_hnd == NULL) {
3004 werr = rpccli_srvsvc_net_share_enum(pipe_hnd, mem_ctx, 1, &ctr,
3009 cli_rpc_pipe_close(pipe_hnd);
3024 cli_rpc_pipe_close(pipe_hnd);

Completed in 233 milliseconds