HCoop
/
hcoop
/
debian
/
courier-authlib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
426e783
)
Revert the disabling of pam_setcred so that IMAP works as expected.
author
mwolson_admin
<mwolson_admin@deleuze.hcoop.net>
Fri, 25 Jan 2008 22:42:50 +0000
(17:42 -0500)
committer
mwolson_admin
<mwolson_admin@deleuze.hcoop.net>
Fri, 25 Jan 2008 22:42:50 +0000
(17:42 -0500)
authpam.c
patch
|
blob
|
blame
|
history
diff --git
a/authpam.c
b/authpam.c
index
d019516
..
37f4de8
100644
(file)
--- a/
authpam.c
+++ b/
authpam.c
@@
-126,19
+126,20
@@
int retval;
}
}
}
}
-#if 0
#if HAVE_PAM_SETCRED
#if HAVE_PAM_SETCRED
+ fprintf(stderr, "pam_setcred...\n");
if (retval == PAM_SUCCESS)
{
retval=pam_setcred(*pamh, PAM_ESTABLISH_CRED);
if (retval != PAM_SUCCESS)
{
if (retval == PAM_SUCCESS)
{
retval=pam_setcred(*pamh, PAM_ESTABLISH_CRED);
if (retval != PAM_SUCCESS)
{
-
DPRINTF("pam_setcred failed, result %d
", retval);
+
fprintf(stderr, "pam_setcred failed, result %d\n
", retval);
}
}
+ fprintf(stderr, "pam_setcred done\n");
}
#endif
}
#endif
-#endif
+
if (retval == PAM_SUCCESS)
{
if (retval == PAM_SUCCESS)
{