Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
WBFLAG_PAM_USER_SESSION_KEY |
WBFLAG_PAM_LMKEY;
+ if (params->flags & WBC_AUTH_PARAM_FLAGS_FOR_NETLOGON) {
+ request.flags |= WBFLAG_PAM_FOR_NETLOGON;
+ }
+
if (params->password.response.lm_length &&
!params->password.response.lm_data) {
wbc_status = WBC_ERR_INVALID_PARAM;
/* wbcAuthUserParams->flags */
#define WBC_AUTH_PARAM_FLAGS_INTERACTIVE_LOGON 0x00000001
+#define WBC_AUTH_PARAM_FLAGS_FOR_NETLOGON 0x00000002
/**
* @brief Auth User Information