On Mon, 2002-03-25 at 10:00, Dag-Erling Smorgrav wrote: > Joe Clarke <[EMAIL PROTECTED]> writes: > > Really? I never received it. Please send it again. Thanks. > > Here's an updated (but untested) version. >
I think I found why pam_ldap wouldn't work with OpenPAM on -CURRENT. Attached is my proposed patch to OpenPAM. With this applied, pam_ldap works like a champ. Joe -- PGP Key: http://www.marucscom.com/pgp.asc
Index: lib/pam_set_data.c
===================================================================
RCS file: /home/ncvs/src/contrib/openpam/lib/pam_set_data.c,v
retrieving revision 1.1.1.4
diff -u -r1.1.1.4 pam_set_data.c
--- lib/pam_set_data.c 14 Mar 2002 20:42:06 -0000 1.1.1.4
+++ lib/pam_set_data.c 31 Mar 2002 22:43:21 -0000
@@ -77,8 +77,10 @@
free(data);
return (PAM_BUF_ERR);
}
+ dp->data = data;
+ dp->cleanup = cleanup
dp->next = pamh->module_data;
- pamh->module_data = data;
+ pamh->module_data = dp;
return (PAM_SUCCESS);
}
signature.asc
Description: This is a digitally signed message part
