summaryrefslogtreecommitdiff
path: root/source4/winbind
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-10-01 22:13:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:38 -0500
commitefa384375f61049d7e7c43a77dc8abe0e034e04d (patch)
tree9640f28b0ecc1e7e9a309254fcce6ed2b1950a2f /source4/winbind
parent621fcfcd1c8dc4ccbe8f3d58d988b9ce40b3fad3 (diff)
downloadsamba-efa384375f61049d7e7c43a77dc8abe0e034e04d.tar.gz
samba-efa384375f61049d7e7c43a77dc8abe0e034e04d.tar.bz2
samba-efa384375f61049d7e7c43a77dc8abe0e034e04d.zip
r25454: Use standard bool types in a couple more places.
(This used to be commit 9243b551f30c7aa2763115516a6adcfe5bbddc58)
Diffstat (limited to 'source4/winbind')
-rw-r--r--source4/winbind/wb_irpc.c2
-rw-r--r--source4/winbind/wb_server.c4
-rw-r--r--source4/winbind/wb_utils.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/source4/winbind/wb_irpc.c b/source4/winbind/wb_irpc.c
index 59399a9aef..5d7f7fd7a6 100644
--- a/source4/winbind/wb_irpc.c
+++ b/source4/winbind/wb_irpc.c
@@ -54,7 +54,7 @@ static NTSTATUS wb_irpc_SamLogon(struct irpc_message *msg,
ctx->async.fn = wb_irpc_SamLogon_callback;
ctx->async.private_data = s;
- msg->defer_reply = True;
+ msg->defer_reply = true;
return NT_STATUS_OK;
}
diff --git a/source4/winbind/wb_server.c b/source4/winbind/wb_server.c
index 3e27f31429..6d002902d3 100644
--- a/source4/winbind/wb_server.c
+++ b/source4/winbind/wb_server.c
@@ -155,7 +155,7 @@ static void winbind_task_init(struct task_server *task)
WINBINDD_SAMBA3_SOCKET);
if (!listen_socket->socket_path) goto nomem;
listen_socket->service = service;
- listen_socket->privileged = False;
+ listen_socket->privileged = false;
status = stream_setup_socket(task->event_ctx, model_ops,
&wbsrv_ops, "unix",
listen_socket->socket_path, &port,
@@ -170,7 +170,7 @@ static void winbind_task_init(struct task_server *task)
WINBINDD_SAMBA3_PRIVILEGED_SOCKET);
if (!listen_socket->socket_path) goto nomem;
listen_socket->service = service;
- listen_socket->privileged = True;
+ listen_socket->privileged = true;
status = stream_setup_socket(task->event_ctx, model_ops,
&wbsrv_ops, "unix",
listen_socket->socket_path, &port,
diff --git a/source4/winbind/wb_utils.c b/source4/winbind/wb_utils.c
index 5fb14c1b4c..dfd09a98fe 100644
--- a/source4/winbind/wb_utils.c
+++ b/source4/winbind/wb_utils.c
@@ -27,7 +27,7 @@
* as one string.
* TODO: We probably will need to handle other formats later. */
-BOOL wb_samba3_split_username(TALLOC_CTX *mem_ctx, const char *domuser,
+bool wb_samba3_split_username(TALLOC_CTX *mem_ctx, const char *domuser,
char **domain, char **user)
{
char *p = strchr(domuser, *lp_winbind_separator(global_loadparm));