This is needed to match Windows behaviour for NTLM logins.
Andrew Bartlett
Change-Id: I142de19b480cd6499d6f7f025f655e220558d54c
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
goto out;
}
- if (clientdb->hdb_auth_status)
- (clientdb->hdb_auth_status)(context, clientdb, client,
- HDB_AUTH_SUCCESS);
-
/*
* Verify flags after the user been required to prove its identity
* with in a preauth mech.
if(ret)
goto out;
+ if (clientdb->hdb_auth_status)
+ (clientdb->hdb_auth_status)(context, clientdb, client,
+ HDB_AUTH_SUCCESS);
+
/*
* Selelct the best encryption type for the KDC with out regard to
* the client since the client never needs to read that data.