summaryrefslogtreecommitdiff
path: root/nsswitch/wbinfo.c
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-08-12 15:59:14 +0200
committerKai Blin <kai@samba.org>2009-08-18 19:53:39 +0200
commit90b6e41b83cc206935a702f599694fccd0b223c1 (patch)
tree494e010ac3d22783fa6ea16d2f1173ff06ee37a7 /nsswitch/wbinfo.c
parentfa7d7a49b8de543cd6ac60ed5ae175a4becc598e (diff)
downloadsamba-90b6e41b83cc206935a702f599694fccd0b223c1.tar.gz
samba-90b6e41b83cc206935a702f599694fccd0b223c1.tar.bz2
samba-90b6e41b83cc206935a702f599694fccd0b223c1.zip
s3 wbinfo: Use uint32_t instead of uint32
Diffstat (limited to 'nsswitch/wbinfo.c')
-rw-r--r--nsswitch/wbinfo.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c
index 5fede6bc32..854dbbd516 100644
--- a/nsswitch/wbinfo.c
+++ b/nsswitch/wbinfo.c
@@ -1045,7 +1045,7 @@ static bool wbinfo_lookuprids(const char *domain, const char *arg)
enum wbcSidType *types = NULL;
size_t i;
int num_rids;
- uint32 *rids = NULL;
+ uint32_t *rids = NULL;
const char *p;
char *ridstr;
TALLOC_CTX *mem_ctx = NULL;
@@ -1075,8 +1075,8 @@ static bool wbinfo_lookuprids(const char *domain, const char *arg)
p = arg;
while (next_token_talloc(mem_ctx, &p, &ridstr, " ,\n")) {
- uint32 rid = strtoul(ridstr, NULL, 10);
- ADD_TO_ARRAY(mem_ctx, uint32, rid, &rids, &num_rids);
+ uint32_t rid = strtoul(ridstr, NULL, 10);
+ ADD_TO_ARRAY(mem_ctx, uint32_t, rid, &rids, &num_rids);
}
if (rids == NULL) {
@@ -1182,7 +1182,7 @@ static char *wbinfo_prompt_pass(const char *prefix,
/* Authenticate a user with a plaintext password */
-static bool wbinfo_auth_krb5(char *username, const char *cctype, uint32 flags)
+static bool wbinfo_auth_krb5(char *username, const char *cctype, uint32_t flags)
{
wbcErr wbc_status = WBC_ERR_UNKNOWN_FAILURE;
char *s = NULL;
@@ -2050,11 +2050,11 @@ int main(int argc, char **argv, char **envp)
break;
}
case 'K': {
- uint32 flags = WBFLAG_PAM_KRB5 |
- WBFLAG_PAM_CACHED_LOGIN |
+ uint32_t flags = WBFLAG_PAM_KRB5 |
+ WBFLAG_PAM_CACHED_LOGIN |
WBFLAG_PAM_FALLBACK_AFTER_KRB5 |
- WBFLAG_PAM_INFO3_TEXT |
- WBFLAG_PAM_CONTACT_TRUSTDOM;
+ WBFLAG_PAM_INFO3_TEXT |
+ WBFLAG_PAM_CONTACT_TRUSTDOM;
if (!wbinfo_auth_krb5(string_arg, "FILE",
flags)) {