Displaying 1 result from an estimated 1 matches for "netlogon_neg_auth2_flags".
2007 Dec 01
0
[3.2.0pre1] net ads join fails with NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT
...rce/utils/net_rpc_join.c 16 Nov 2007 13:25:26 -0000 1.1.1.1
+++ source/utils/net_rpc_join.c 1 Dec 2007 20:38:16 -0000
@@ -44,28 +44,14 @@
struct in_addr *ip)
{
enum security_types sec;
- unsigned int conn_flags = NET_FLAGS_PDC;
uint32 neg_flags = NETLOGON_NEG_AUTH2_FLAGS|NETLOGON_NEG_SCHANNEL;
struct cli_state *cli = NULL;
struct rpc_pipe_client *pipe_hnd = NULL;
struct rpc_pipe_client *netlogon_pipe = NULL;
NTSTATUS ntret = NT_STATUS_UNSUCCESSFUL;
- sec = (enum security_types)lp_security();
-
- if (sec == SEC_ADS) {
-...