summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_ldap.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-18 17:40:25 -0700
committerJeremy Allison <jra@samba.org>2007-10-18 17:40:25 -0700
commit30191d1a5704ad2b158386b511558972d539ce47 (patch)
tree4f46e5c4f28f672ab661aa18f45745860970a88c /source3/winbindd/idmap_ldap.c
parent789856f63ff73fec66298e95c91c60db7bdaf14e (diff)
downloadsamba-30191d1a5704ad2b158386b511558972d539ce47.tar.gz
samba-30191d1a5704ad2b158386b511558972d539ce47.tar.bz2
samba-30191d1a5704ad2b158386b511558972d539ce47.zip
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)
Diffstat (limited to 'source3/winbindd/idmap_ldap.c')
-rw-r--r--source3/winbindd/idmap_ldap.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c
index 9daf084ce1..a980d54bbe 100644
--- a/source3/winbindd/idmap_ldap.c
+++ b/source3/winbindd/idmap_ldap.c
@@ -39,7 +39,7 @@ struct idmap_ldap_context {
char *suffix;
char *user_dn;
uint32_t filter_low_id, filter_high_id; /* Filter range */
- BOOL anon;
+ bool anon;
};
struct idmap_ldap_alloc_context {
@@ -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 */
@@ -897,7 +897,7 @@ static NTSTATUS idmap_ldap_unixids_to_sids(struct idmap_domain *dom,
const char *gidNumber;
const char **attr_list;
char *filter = NULL;
- BOOL multi = False;
+ bool multi = False;
int idx = 0;
int bidx = 0;
int count;
@@ -1127,7 +1127,7 @@ static NTSTATUS idmap_ldap_sids_to_unixids(struct idmap_domain *dom,
const char *gidNumber;
const char **attr_list;
char *filter = NULL;
- BOOL multi = False;
+ bool multi = False;
int idx = 0;
int bidx = 0;
int count;