On Tue, 2002-04-16 at 13:43, Daniel Eischen wrote:
> On 16 Apr 2002, Benno Rice wrote:
> > On Tue, 2002-04-16 at 10:07, Dan Eischen wrote:
> > > Fresh cvsup and buildworld from today's -current seems to have
> > > broken pam logins for telnet and ssh.  Fresh mergemaster too.
> > 
> > [snip]
> > 
> > > Any clues?
> > 
> > Remove -DYP from the CFLAGS in /usr/lib/libpam/modules/pam_unix/Makefile
> > and rebuild/reinstall libpam.
> 
> Thanks, that did the trick.
> 
> Anyone know if this is the correct fix?  It shouldn't be left
> broken.

I think des's commit that removed the _use_yp variable from
usr.sbin/vipw/pw_util.c fixed it.  I managed to get an unresolved symbol
error for _use_yp out of pam with the attached patch.

-- 
Benno Rice
[EMAIL PROTECTED]
Index: contrib/openpam/lib/openpam_dynamic.c
===================================================================
RCS file: /home/ncvs/src/contrib/openpam/lib/openpam_dynamic.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 openpam_dynamic.c
--- contrib/openpam/lib/openpam_dynamic.c       7 Mar 2002 19:24:22 -0000       1.1.1.2
+++ contrib/openpam/lib/openpam_dynamic.c       16 Apr 2002 03:49:27 -0000
@@ -67,6 +67,7 @@
                *strrchr(vpath, '.') = '\0';
                if ((dlh = dlopen(vpath, RTLD_NOW)) == NULL) {
                        free(module);
+                       openpam_log(PAM_LOG_ERROR, "%s", dlerror());
                        return (NULL);
                }
        }

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to