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)) & GENSEC_FEATURE_SIGN);
+
+/* cli_credentials_set_gensec_features(creds,
+ (old_gensec_features & ~(GENSEC_FEATURE_SIGN|GENSEC_FEATURE_SEAL)) & (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)) {
goto failed;
}
+ gensec_want_feature(conn->gensec, GENSEC_FEATURE_SIGN);
+ //gensec_want_feature(conn->gensec, GENSEC_FEATURE_SEAL);
+
/* reset the original gensec_features (on the credentials
* context, so we don't tatoo it ) */
cli_credentials_set_gensec_features(creds, old_gensec_features);