diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-10-06 22:16:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:07:54 -0500 |
commit | 3642f3b40d755209a843745f160a9d7962a6deca (patch) | |
tree | 766c876eff39205b11c86a6cafd1ecd06b4befbc /source4/auth/kerberos/kerberos_util.c | |
parent | 0c56f8dac31c51a42dedf2a1da9fd76896855b19 (diff) | |
download | samba-3642f3b40d755209a843745f160a9d7962a6deca.tar.gz samba-3642f3b40d755209a843745f160a9d7962a6deca.tar.bz2 samba-3642f3b40d755209a843745f160a9d7962a6deca.zip |
r25552: Convert to standard bool type.
(This used to be commit b8d6b82f1248d36a0aa91a1c58d06b4f7c66d245)
Diffstat (limited to 'source4/auth/kerberos/kerberos_util.c')
-rw-r--r-- | source4/auth/kerberos/kerberos_util.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c index 918c28cf33..70e2961d55 100644 --- a/source4/auth/kerberos/kerberos_util.c +++ b/source4/auth/kerberos/kerberos_util.c @@ -343,7 +343,7 @@ static int create_keytab(TALLOC_CTX *parent_ctx, struct smb_krb5_context *smb_krb5_context, const char **enctype_strings, krb5_keytab keytab, - BOOL add_old) + bool add_old) { krb5_error_code ret; const char *password_s; @@ -484,7 +484,7 @@ static int create_keytab(TALLOC_CTX *parent_ctx, static krb5_error_code remove_old_entries(TALLOC_CTX *parent_ctx, struct cli_credentials *machine_account, struct smb_krb5_context *smb_krb5_context, - krb5_keytab keytab, BOOL *found_previous) + krb5_keytab keytab, bool *found_previous) { krb5_error_code ret, ret2; krb5_kt_cursor cursor; @@ -496,7 +496,7 @@ static krb5_error_code remove_old_entries(TALLOC_CTX *parent_ctx, return ENOMEM; } - *found_previous = False; + *found_previous = false; princ_string = cli_credentials_get_principal(machine_account, mem_ctx); /* Get the principal we will store the new keytab entries under */ @@ -575,7 +575,7 @@ static krb5_error_code remove_old_entries(TALLOC_CTX *parent_ctx, } } else { - *found_previous = True; + *found_previous = true; } /* Free the entry, we don't need it any more */ @@ -609,7 +609,7 @@ int smb_krb5_update_keytab(TALLOC_CTX *parent_ctx, struct keytab_container *keytab_container) { krb5_error_code ret; - BOOL found_previous; + bool found_previous; TALLOC_CTX *mem_ctx = talloc_new(parent_ctx); if (!mem_ctx) { return ENOMEM; @@ -629,7 +629,7 @@ int smb_krb5_update_keytab(TALLOC_CTX *parent_ctx, ret = create_keytab(mem_ctx, machine_account, smb_krb5_context, enctype_strings, keytab_container->keytab, - found_previous ? False : True); + found_previous ? false : true); talloc_free(mem_ctx); return ret; } |