Date: Thu, 29 Jul 1999 15:35:13 -0400 From: Robert Beer <r-beer@onu.edu> To: Marie-Josee Blais <mjblais@miranda.com>, "questions@FreeBSD.ORG" <questions@FreeBSD.ORG> Subject: Re: Sendmail 8.9.3 and FreeBSD 2.2.7 and 2.2.8 Message-ID: <l03130305b3c65bf3f832@[140.228.15.35]> In-Reply-To: <199907291905.PAA24359@norton.miranda.com> References: <l03130302b3c63c729014@[140.228.15.35]> <199907291522.LAA19102@norton.miranda.com>
next in thread | previous in thread | raw e-mail | index | archive | help
At 3:06 PM -0400 7/29/1999, Marie-Josee Blais wrote: >Sorry for my ignorance. But what do I need to do to recompile libc. Do I >have to recompile anything else or is this a dynamic library? Edit or patch the file, go up a directory and type make. This will create libc.a and /usr/lib/libc.so.3.1. When I installed this I went down to single user and copied the files to /usr/lib. Then reboot. Others with more experience may have better and clearer suggestions. >At 13:15 1999-07-29 -0400, Robert Beer wrote: >>At 11:23 AM -0400 7/29/1999, Marie-Josee Blais wrote: >>>Hello I am currently running a FreeBSD 2.2.7 on one machine and 2.2.8 on >>>the other. >>>I installed Sendmail 8.9.3 on both. >>> >>>I noticed something peculiar on the one running 2.2.8. It seems to accept >>>messages for unknown users. Actually, the first 8 characters correspond to >>>a user but not the rest. The system running 2.2.7 works fine though. If I >>>try sending a message with the same kind of invalid address it rejects it. >>>Also, on 2.2.8, it actually creates a mailbox with the unknown user but >>>with the user id that has the same first 8 characters. Is this a known >>>issue. I've looked for messages but haven't found anything. Both system use >>>the same configuration for sendmail >> >>This is a problem. Here is my solution: >> >>*** /usr/src/lib/libc/gen/getpwent.c Fri Apr 30 16:18:02 1999 >>--- /usr/src/lib/libc/gen/getpwent.c.orig Fri Apr 30 15:26:38 1999 >>*************** >>*** 137,145 **** >> return((struct passwd *)NULL); >> >> bf[0] = _PW_KEYBYNAME; >>! len = strlen(name); >>! if (len > UT_NAMESIZE) >>! return(NULL); >> bcopy(name, bf + 1, len); >> key.data = (u_char *)bf; >> key.size = len + 1; >>--- 137,143 ---- >> return((struct passwd *)NULL); >> >> bf[0] = _PW_KEYBYNAME; >>! len = MIN(strlen(name), MAXLOGNAME - 1); >> bcopy(name, bf + 1, len); >> key.data = (u_char *)bf; >> key.size = len + 1; >> >>--- >>Bob Beer <r-beer@onu.edu> >>Ohio Northern University, Academic Computer Services, Ada, OH 45810 >> >/-----------------------------\ >| Marie-Josee Blais | >| Network Administrator | >| | >| E-mail:mjblais@miranda.com | >| --------------------------- | >| Technologies Miranda Inc. | >| Tel:(514) 333-1772 | >| Fax:(514) 333-9828 | >| Web: www.miranda.com | >\-----------------------------/ > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message --- Bob Beer <r-beer@onu.edu> Ohio Northern University, Academic Computer Services, Ada, OH 45810 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?l03130305b3c65bf3f832>