s3:dom_sid Global replace of DOM_SID with struct dom_sid
[samba.git] / source3 / include / auth.h
index efae56ae52e36f587907d071bcd89a593d0ea23f..9f49fcc478064f054785b89ee3fee3f5c0f7b97e 100644 (file)
@@ -43,7 +43,7 @@ struct auth_usersupplied_info {
 struct auth_serversupplied_info {
        bool guest;
 
-       DOM_SID *sids;  /* These SIDs are preliminary between
+       struct dom_sid *sids;   /* These SIDs are preliminary between
                           check_ntlm_password and the token creation. */
        size_t num_sids;
 
@@ -91,8 +91,8 @@ struct auth_context {
        /* What order are the various methods in?   Try to stop it changing under us */ 
        struct auth_methods *auth_method_list;  
 
-       void (*get_ntlm_challenge)(struct auth_context *auth_context,
-                                  uint8_t chal[8]);
+       NTSTATUS (*get_ntlm_challenge)(struct auth_context *auth_context,
+                                      uint8_t chal[8]);
        NTSTATUS (*check_ntlm_password)(const struct auth_context *auth_context,
                                        const struct auth_usersupplied_info *user_info, 
                                        struct auth_serversupplied_info **server_info);