From e49f9d49c8c950014eeb4a08264cea4cf8bc5404 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Fri, 14 May 2010 20:32:56 +0000 Subject: print uid as a long git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1107 ef36b2f9-881f-0410-afb5-c4e39611909c --- pam/pam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pam/pam.c b/pam/pam.c index ee3cc34..146a32f 100644 --- a/pam/pam.c +++ b/pam/pam.c @@ -208,7 +208,7 @@ static int init(pam_handle_t *pamh,int flags,int argc,const char **argv, if ((pwent!=NULL)&&(pwent->pw_uidminimum_uid)) { if (cfg->debug) - pam_syslog(pamh,LOG_DEBUG,"uid below minimum_uid; user=%s uid=%d",*username,(int)pwent->pw_uid); + pam_syslog(pamh,LOG_DEBUG,"uid below minimum_uid; user=%s uid=%ld",*username,(long)pwent->pw_uid); return cfg->ignore_unknown_user?PAM_IGNORE:PAM_USER_UNKNOWN; } } -- cgit v1.2.3