Changeset 342 for branches/samba-3.3.x/source/utils
- Timestamp:
- Oct 30, 2009, 9:39:05 AM (16 years ago)
- Location:
- branches/samba-3.3.x/source/utils
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/utils/net.h
r224 r342 158 158 #define NET_FLAGS_SIGN 0x00000040 /* sign RPC connection */ 159 159 #define NET_FLAGS_SEAL 0x00000080 /* seal RPC connection */ 160 #define NET_FLAGS_TCP 0x00000100 /* use ncacn_ip_tcp */ 160 161 161 162 /* net share operation modes */ -
branches/samba-3.3.x/source/utils/net_join.c
r206 r342 35 35 int net_join(struct net_context *c, int argc, const char **argv) 36 36 { 37 if (argc < 1) 38 return net_join_usage(c, argc, argv); 39 40 if (StrCaseCmp(argv[0], "HELP") == 0) { 37 if ((argc > 0) && (StrCaseCmp(argv[0], "HELP") == 0)) { 41 38 net_join_usage(c, argc, argv); 42 39 return 0; -
branches/samba-3.3.x/source/utils/net_rpc.c
r309 r342 158 158 /* Always try and create an schannel netlogon pipe. */ 159 159 nt_status = cli_rpc_pipe_open_schannel( 160 cli, interface, 160 cli, interface, NCACN_NP, 161 161 PIPE_AUTH_LEVEL_PRIVACY, domain_name, 162 162 &pipe_hnd); … … 170 170 nt_status = cli_rpc_pipe_open_ntlmssp( 171 171 cli, interface, 172 (conn_flags & NET_FLAGS_TCP) ? 173 NCACN_IP_TCP : NCACN_NP, 172 174 PIPE_AUTH_LEVEL_PRIVACY, 173 175 lp_workgroup(), c->opt_user_name, … … 797 799 argv[0], 798 800 0, 799 (uint8_t **) &u0,801 (uint8_t **)(void *)&u0, 800 802 (uint32_t)-1, 801 803 &entries_read, … … 2997 2999 status = NetShareEnum(c->opt_host, 2998 3000 level, 2999 (uint8_t **) &i1,3001 (uint8_t **)(void *)&i1, 3000 3002 (uint32_t)-1, 3001 3003 &entries_read, … … 4773 4775 username, 4774 4776 3, 4775 (uint8_t **) &i3,4777 (uint8_t **)(void *)&i3, 4776 4778 preferred_len, 4777 4779 &entries_read, -
branches/samba-3.3.x/source/utils/net_rpc_join.c
r224 r342 101 101 102 102 ntret = cli_rpc_pipe_open_schannel_with_key( 103 cli, &ndr_table_netlogon.syntax_id, PIPE_AUTH_LEVEL_PRIVACY, 103 cli, &ndr_table_netlogon.syntax_id, NCACN_NP, 104 PIPE_AUTH_LEVEL_PRIVACY, 104 105 domain, netlogon_pipe->dc, &pipe_hnd); 105 106 … … 420 421 421 422 result = cli_rpc_pipe_open_schannel_with_key( 422 cli, &ndr_table_netlogon.syntax_id, 423 cli, &ndr_table_netlogon.syntax_id, NCACN_NP, 423 424 PIPE_AUTH_LEVEL_PRIVACY, domain, pipe_hnd->dc, 424 425 &netlogon_schannel_pipe); -
branches/samba-3.3.x/source/utils/net_rpc_samsync.c
r206 r342 503 503 } else { 504 504 ret = run_rpc_command(c, cli, &ndr_table_drsuapi.syntax_id, 505 NET_FLAGS_SEAL ,505 NET_FLAGS_SEAL | NET_FLAGS_TCP, 506 506 rpc_vampire_keytab_ds_internals, argc, argv); 507 507 }
Note:
See TracChangeset
for help on using the changeset viewer.