From 30191d1a5704ad2b158386b511558972d539ce47 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 18 Oct 2007 17:40:25 -0700 Subject: RIP BOOL. Convert BOOL -> bool. I found a few interesting bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f) --- source3/include/auth.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/include/auth.h') diff --git a/source3/include/auth.h b/source3/include/auth.h index a58d150c51..a7531b35cd 100644 --- a/source3/include/auth.h +++ b/source3/include/auth.h @@ -26,9 +26,9 @@ typedef struct auth_usersupplied_info { DATA_BLOB nt_interactive_pwd; DATA_BLOB plaintext_password; - BOOL encrypted; + bool encrypted; - BOOL was_mapped; /* Did the username map actually match? */ + bool was_mapped; /* Did the username map actually match? */ char *client_domain; /* domain name string */ char *domain; /* domain name after mapping */ char *internal_username; /* username after mapping */ @@ -41,7 +41,7 @@ typedef struct auth_usersupplied_info { } auth_usersupplied_info; typedef struct auth_serversupplied_info { - BOOL guest; + bool guest; DOM_SID *sids; /* These SIDs are preliminary between check_ntlm_password and the token creation. */ @@ -67,7 +67,7 @@ typedef struct auth_serversupplied_info { void *pam_handle; - BOOL was_mapped; /* Did the username map match? */ + bool was_mapped; /* Did the username map match? */ char *unix_name; } auth_serversupplied_info; @@ -78,7 +78,7 @@ struct auth_context { /* Who set this up in the first place? */ const char *challenge_set_by; - BOOL challenge_may_be_modified; + bool challenge_may_be_modified; struct auth_methods *challenge_set_method; /* What order are the various methods in? Try to stop it changing under us */ -- cgit