Revert "HACK use DCERPC_AUTH_LEVEL_INTEGRITY netlogon"
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Mar 2017 07:44:39 +0000 (08:44 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 29 Oct 2019 13:33:03 +0000 (14:33 +0100)
This reverts commit 2df0245205f321463e9371ec492a9c96ce1a7309.

libcli/auth/netlogon_creds_cli.c

index 8b71977e82b1036a2f47be28a8387e19bd8c9ab4..3cc18e7fa60fbac4d7d547e6700c17fb796ad218 100644 (file)
@@ -416,7 +416,7 @@ NTSTATUS netlogon_creds_cli_context_global(struct loadparm_context *lp_ctx,
 
        proposed_flags |= required_flags;
 
-       if (0 && seal_secure_channel) {
+       if (seal_secure_channel) {
                auth_level = DCERPC_AUTH_LEVEL_PRIVACY;
        } else {
                auth_level = DCERPC_AUTH_LEVEL_INTEGRITY;