struct schannel_state);
NTSTATUS status;
enum ndr_err_code ndr_err;
- struct NL_AUTH_MESSAGE bind_schannel = {
- .Flags = 0,
- };
- struct NL_AUTH_MESSAGE bind_schannel_ack;
struct netlogon_creds_CredentialState *creds;
- const char *workstation;
- const char *domain;
*out = data_blob(NULL, 0);
}
switch (gensec_security->gensec_role) {
- case GENSEC_CLIENT:
+ case GENSEC_CLIENT: {
+ struct NL_AUTH_MESSAGE bind_schannel = {};
+
if (state != NULL) {
/* we could parse the bind ack, but we don't know what it is yet */
return NT_STATUS_OK;
}
return NT_STATUS_MORE_PROCESSING_REQUIRED;
- case GENSEC_SERVER:
+ }
+ case GENSEC_SERVER: {
+ struct NL_AUTH_MESSAGE bind_schannel = {};
+ struct NL_AUTH_MESSAGE bind_schannel_ack = {};
+ const char *workstation = NULL;
+ const char *domain = NULL;
if (state != NULL) {
/* no third leg on this protocol */
return NT_STATUS_OK;
}
+ }
return NT_STATUS_INVALID_PARAMETER;
}