Changeset 134 for branches/samba-3.0/source/utils/net_rpc_join.c
- Timestamp:
- May 23, 2008, 6:56:41 AM (18 years ago)
- File:
-
- 1 edited
-
branches/samba-3.0/source/utils/net_rpc_join.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/utils/net_rpc_join.c
r124 r134 44 44 int net_rpc_join_ok(const char *domain, const char *server, struct in_addr *ip ) 45 45 { 46 uint32 neg_flags = NETLOGON_NEG_SELECT_AUTH2_FLAGS|NETLOGON_NEG_SCHANNEL; 46 uint32_t neg_flags = NETLOGON_NEG_AUTH2_ADS_FLAGS; 47 enum security_types sec; 48 unsigned int conn_flags = NET_FLAGS_PDC; 47 49 struct cli_state *cli = NULL; 48 50 struct rpc_pipe_client *pipe_hnd = NULL; … … 50 52 NTSTATUS ntret = NT_STATUS_UNSUCCESSFUL; 51 53 54 55 56 57 58 59 60 61 62 63 64 65 66 52 67 /* Connect to remote machine */ 53 if (!(cli = net_make_ipc_connection_ex(domain, server, ip, (NET_FLAGS_ANONYMOUS|NET_FLAGS_PDC)))) {68 if (!(cli = net_make_ipc_connection_ex(domain, server, ip, ))) { 54 69 return -1; 55 70 } … … 115 130 TALLOC_CTX *mem_ctx; 116 131 uint32 acb_info = ACB_WSTRUST; 117 uint32 neg_flags = NETLOGON_NEG_SELECT_AUTH2_FLAGS|(lp_client_schannel() ? NETLOGON_NEG_SCHANNEL : 0);132 uint32; 118 133 uint32 sec_channel_type; 119 134 struct rpc_pipe_client *pipe_hnd = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
