r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.
[samba.git] / source3 / libsmb / trusts_util.c
index 4a231dcd15ed073ff313af6e8a4eea7339c2112d..0922f9f41eacccc806082a2a7e57914674a5b96c 100644 (file)
@@ -40,7 +40,7 @@ static NTSTATUS just_change_the_password(struct rpc_pipe_client *cli, TALLOC_CTX
           already have valid creds. If not we must set them up. */
 
        if (cli->auth.auth_type != PIPE_AUTH_TYPE_SCHANNEL) {
-               uint32 neg_flags = NETLOGON_NEG_SELECT_AUTH2_FLAGS;
+               uint32 neg_flags = NETLOGON_NEG_AUTH2_FLAGS;
 
                result = rpccli_netlogon_setup_creds(cli, 
                                        cli->cli->desthost, /* server name */