Re: HEADS UP: new NSS

From: Jacques A. Vidrine <nectar_at_FreeBSD.org>
Date: Fri, 18 Apr 2003 08:19:30 -0500
On Fri, Apr 18, 2003 at 07:54:55AM -0500, Jacques A. Vidrine wrote:
> On Fri, Apr 18, 2003 at 12:05:36PM +0400, Zherdev Anatoly wrote:
> > On Thu, 17 Apr 2003 09:11:33 -0500
> > "Jacques A. Vidrine" <nectar_at_FreeBSD.org> wrote:
> > 
> > After install -current with this patches named can't find user bind
> > 
> > #id bind
> > uid=53(bind) gid=53(bind) groups=53(bind)
> > 
> > #/usr/sbin/named -u bind -g bind
> > user "bind" unknown
> 
> Holy schnikeys, apparently bind doesn't use the libc getpwent(3)
> functions, but rather it uses its own libirs.
> 
> Did you re-run pwdb_mkdb ?  If I messed up the backwards-compatibility
> code, then I suppose it could break libirs (which apparently has
> intimate knowledge of the format of /etc/pwd.db -- ugh).
> 
> I'm investigating.

Oh, duh.  If named weren't re-compiled it would have been fine :-)
pwd_mkdb is creating the compatibility entries correctly, but the
_PW_KEYBY* symbols in pwd.h changed values and libirs uses those.

For now I will see about giving _PW_KEYBY* their old values back,
because I don't want to take part of bind off the vendor branch in
CVS.

Thanks for the report!

Cheers,
-- 
Jacques A. Vidrine <nectar_at_celabo.org>          http://www.celabo.org/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine_at_verio.net     .  nectar_at_FreeBSD.org  .          nectar_at_kth.se
Received on Fri Apr 18 2003 - 04:19:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:04 UTC