HEADS UP: new NSS

Jacques A. Vidrine nectar at FreeBSD.org
Fri Apr 18 06:19:33 PDT 2003


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


More information about the freebsd-current mailing list