return NT_STATUS_IS_OK(result) ? WINBINDD_OK : WINBINDD_ERROR;
}
+static void ndr_child_auth_compat_auth_plain(struct winbindd_domain *domain,
+ struct winbindd_cli_state *state,
+ struct winbind_auth *r)
+{
+ r->out.result = WINBIND_STATUS_NOT_IMPLEMENTED;
+}
+
/**********************************************************************
Challenge Response Authentication Protocol
return NT_STATUS_IS_OK(result) ? WINBINDD_OK : WINBINDD_ERROR;
}
+
+void winbindd_ndr_domain_child_auth(struct winbindd_domain *domain,
+ struct winbindd_cli_state *state)
+{
+ struct winbind_auth *r;
+
+ r = talloc_get_type_abort(state->c.ndr.r,
+ struct winbind_auth);
+
+ switch (*r->in.level) {
+ case WINBIND_AUTH_LEVEL_COMPAT_AUTH_PLAIN:
+ ndr_child_auth_compat_auth_plain(domain, state, r);
+ return;
+ }
+
+ r->out.result = WINBIND_STATUS_UNKNOWN_LEVEL;
+ return;
+}