mirror of
https://github.com/samba-team/samba.git
synced 2025-12-09 00:23:50 +03:00
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 commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user