summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth_domain.c8
-rw-r--r--source4/auth/auth_sam.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/source4/auth/auth_domain.c b/source4/auth/auth_domain.c
index a19d0f7846..3064da72de 100644
--- a/source4/auth/auth_domain.c
+++ b/source4/auth/auth_domain.c
@@ -123,7 +123,7 @@ static NTSTATUS rpc_resolve_dc(const char *server,
static NTSTATUS connect_to_domain_password_server(struct cli_state **cli,
const char *server,
const char *setup_creds_as,
- uint16 sec_chan,
+ uint16_t sec_chan,
const unsigned char *trust_passwd,
BOOL *retry)
{
@@ -234,7 +234,7 @@ static NTSTATUS attempt_connect_to_dc(struct cli_state **cli,
const char *domain,
struct in_addr *ip,
const char *setup_creds_as,
- uint16 sec_chan,
+ uint16_t sec_chan,
const unsigned char *trust_passwd)
{
NTSTATUS ret = NT_STATUS_UNSUCCESSFUL;
@@ -265,7 +265,7 @@ static NTSTATUS attempt_connect_to_dc(struct cli_state **cli,
static NTSTATUS find_connect_dc(struct cli_state **cli,
const char *domain,
const char *setup_creds_as,
- uint16 sec_chan,
+ uint16_t sec_chan,
unsigned char *trust_passwd,
time_t last_change_time)
{
@@ -293,7 +293,7 @@ static NTSTATUS domain_client_validate(TALLOC_CTX *mem_ctx,
uchar chal[8],
auth_serversupplied_info **server_info,
const char *server, const char *setup_creds_as,
- uint16 sec_chan,
+ uint16_t sec_chan,
unsigned char trust_passwd[16],
time_t last_change_time)
{
diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c
index 549b5ab362..141be3ae9a 100644
--- a/source4/auth/auth_sam.c
+++ b/source4/auth/auth_sam.c
@@ -32,7 +32,7 @@
static NTSTATUS sam_password_ok(const struct auth_context *auth_context,
TALLOC_CTX *mem_ctx,
const char *username,
- uint16 acct_flags,
+ uint16_t acct_flags,
const uint8 lm_pw[16], const uint8 nt_pw[16],
const auth_usersupplied_info *user_info,
DATA_BLOB *user_sess_key,
@@ -68,7 +68,7 @@ static NTSTATUS sam_password_ok(const struct auth_context *auth_context,
static NTSTATUS sam_account_ok(TALLOC_CTX *mem_ctx,
const char *username,
- uint16 acct_flags,
+ uint16_t acct_flags,
NTTIME *acct_expiry,
NTTIME *must_change_time,
NTTIME *last_set_time,
@@ -173,7 +173,7 @@ static NTSTATUS check_sam_security(const struct auth_context *auth_context,
struct ldb_message **msgs_domain;
void *sam_ctx;
char *username = user_info->internal_username.str;
- uint16 acct_flags;
+ uint16_t acct_flags;
const char *workstation_list;
NTTIME acct_expiry;
NTTIME must_change_time;