s4:auth/ntlmssp: let get_challenge() return a NTSTATUS and fill a stack buffer
[metze/samba/wip.git] / source4 / auth / ntlmssp / ntlmssp.h
index f596cb81ee6168e4d90c54952cf972ab9105bca4..3354af9dbf1d6d1c4aa3aacb84ff2913a5ff4a80 100644 (file)
@@ -81,7 +81,8 @@ struct gensec_ntlmssp_state
         * @return 8 bytes of challenge data, determined by the server to be the challenge for NTLM authentication
         *
         */
-       const uint8_t *(*get_challenge)(const struct gensec_ntlmssp_state *);
+       NTSTATUS (*get_challenge)(const struct gensec_ntlmssp_state *,
+                                 uint8_t challenge[8]);
 
        /**
         * Callback to find if the challenge used by NTLM authentication may be modified