From bd45eab008c79d944e44b6e93ee40572b9932ce0 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 10 Sep 2007 19:19:59 +0000 Subject: r25064: We use BOOL/True/False not bool/true/false (This used to be commit f624a269bf242630e9bda7a89b9b0e8e12646982) --- source3/nsswitch/idmap_ldap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/nsswitch') diff --git a/source3/nsswitch/idmap_ldap.c b/source3/nsswitch/idmap_ldap.c index 3e6e65727e..3b63915b05 100644 --- a/source3/nsswitch/idmap_ldap.c +++ b/source3/nsswitch/idmap_ldap.c @@ -78,7 +78,7 @@ static NTSTATUS get_credentials( TALLOC_CTX *mem_ctx, char *secret = NULL; const char *tmp = NULL; char *user_dn = NULL; - bool anon = false; + BOOL anon = False; /* assume anonymous if we don't have a specified user */ @@ -87,10 +87,10 @@ static NTSTATUS get_credentials( TALLOC_CTX *mem_ctx, if ( tmp ) { if (!dom) { /* only the alloc backend can pass in a NULL dom */ - secret = idmap_fetch_secret("ldap", true, + secret = idmap_fetch_secret("ldap", True, NULL, tmp); } else { - secret = idmap_fetch_secret("ldap", false, + secret = idmap_fetch_secret("ldap", False, dom->name, tmp); } @@ -107,7 +107,7 @@ static NTSTATUS get_credentials( TALLOC_CTX *mem_ctx, if (!fetch_ldap_pw(&user_dn, &secret)) { DEBUG(2, ("get_credentials: Failed to lookup ldap " "bind creds. Using anonymous connection.\n")); - anon = true; + anon = True; } else { *dn = talloc_strdup(mem_ctx, user_dn); SAFE_FREE( user_dn ); -- cgit