Revert "ldap sign|seal"
authorStefan Metzmacher <metze@samba.org>
Mon, 4 May 2009 09:38:39 +0000 (11:38 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 15 May 2009 13:27:26 +0000 (15:27 +0200)
This reverts commit fb47681d8d3f4bb92197d5859812ce8fb53409f8.

source4/libcli/ldap/ldap_bind.c

index ad4ac1a13dfca9a6c631ee0339978886540a4dee..5e6a5faafa42d8ae8f32973df80172b408bec4ac 100644 (file)
@@ -238,7 +238,6 @@ _PUBLIC_ NTSTATUS ldap_bind_sasl(struct ldap_connection *conn,
                cli_credentials_set_gensec_features(creds, old_gensec_features & ~(GENSEC_FEATURE_SIGN|GENSEC_FEATURE_SEAL));
        }
 
-       cli_credentials_set_gensec_features(creds, old_gensec_features | GENSEC_FEATURE_SIGN|GENSEC_FEATURE_SEAL);
        /* this call also sets the gensec_want_features */
        status = gensec_set_credentials(conn->gensec, creds);
        if (!NT_STATUS_IS_OK(status)) {