summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-02-18 15:48:24 +0100
committerAlexander Bokovoy <ab@samba.org>2013-02-22 16:36:12 +0100
commitde14fd942aaaa4e18bae7fc7cb109d9a60b12648 (patch)
tree98a79449634947cd27011efbaf584285d75b4056 /source3/winbindd
parent2b890679a61efa676473c11ebbf7d31f4aeeb3b2 (diff)
downloadsamba-de14fd942aaaa4e18bae7fc7cb109d9a60b12648.tar.gz
samba-de14fd942aaaa4e18bae7fc7cb109d9a60b12648.tar.bz2
samba-de14fd942aaaa4e18bae7fc7cb109d9a60b12648.zip
winbind: Use uint8_t type and use const where needed.
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cm.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 055c023cb5..9fdd058ddb 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -244,7 +244,7 @@ static bool fork_child_dc_connect(struct winbindd_domain *domain)
messaging_send_buf(winbind_messaging_context(),
pid_to_procid(parent_pid),
MSG_WINBIND_FAILED_TO_GO_ONLINE,
- (uint8 *)domain->name,
+ (const uint8_t *)domain->name,
strlen(domain->name)+1);
_exit(1);
}
@@ -256,7 +256,7 @@ static bool fork_child_dc_connect(struct winbindd_domain *domain)
messaging_send_buf(winbind_messaging_context(),
pid_to_procid(parent_pid),
MSG_WINBIND_FAILED_TO_GO_ONLINE,
- (uint8 *)domain->name,
+ (const uint8_t *)domain->name,
strlen(domain->name)+1);
_exit(1);
}
@@ -266,7 +266,7 @@ static bool fork_child_dc_connect(struct winbindd_domain *domain)
messaging_send_buf(winbind_messaging_context(),
pid_to_procid(parent_pid),
MSG_WINBIND_FAILED_TO_GO_ONLINE,
- (uint8 *)domain->name,
+ (const uint8_t *)domain->name,
strlen(domain->name)+1);
_exit(0);
}
@@ -277,7 +277,7 @@ static bool fork_child_dc_connect(struct winbindd_domain *domain)
messaging_send_buf(winbind_messaging_context(),
pid_to_procid(parent_pid),
MSG_WINBIND_TRY_TO_GO_ONLINE,
- (uint8 *)domain->name,
+ (const uint8_t *)domain->name,
strlen(domain->name)+1);
_exit(0);
}
@@ -404,7 +404,7 @@ void set_domain_offline(struct winbindd_domain *domain)
messaging_send_buf(winbind_messaging_context(),
pid_to_procid(idmap->pid),
MSG_WINBIND_OFFLINE,
- (uint8 *)domain->name,
+ (const uint8_t *)domain->name,
strlen(domain->name)+1);
}
}
@@ -479,7 +479,7 @@ static void set_domain_online(struct winbindd_domain *domain)
messaging_send_buf(winbind_messaging_context(),
pid_to_procid(idmap->pid),
MSG_WINBIND_ONLINE,
- (uint8 *)domain->name,
+ (const uint8_t *)domain->name,
strlen(domain->name)+1);
}
}
@@ -2607,7 +2607,7 @@ NTSTATUS cm_connect_netlogon(struct winbindd_domain *domain,
NTSTATUS result;
uint32_t neg_flags = NETLOGON_NEG_AUTH2_ADS_FLAGS | NETLOGON_NEG_SUPPORTS_AES;
- uint8 mach_pwd[16];
+ uint8_t mach_pwd[16];
enum netr_SchannelType sec_chan_type;
const char *account_name;
struct rpc_pipe_client *netlogon_pipe = NULL;