[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

User Auth Delay? NIS?



I have a friend at work who is trying to install debian.  I have been
helping.  Doing my best to spread the knowledge around.  Unfortunately
I have hit a snag regarding NIS, possibly PAM, on Debian.

For some reason on this particular machine user authentification
always has a 5+ second delay.  I believe this is PAM since it happens
for everything.  But only when NIS running.  Here is an example.

  su bin -c id
  uid=2(bin) gid=2(bin) groups=2(bin)
  real    0m5.924s
  user    0m0.000s
  sys     0m0.000s

  /etc/init.d/nis stop

  time su bin -c id
  uid=2(bin) gid=2(bin) groups=2(bin)
  real    0m0.008s
  user    0m0.000s
  sys     0m0.000s

  grep -e passwd -e group /etc/nsswitch.conf
  passwd:         compat
  group:          compat

I can't figure it out.  Something about having NIS running causes a
big delay.  If I turn NIS off then things are fast again.  But,
unfortunately, we need NIS running.

I have an identical machine which I installed debian on and it does
not have this delay.  Everything is working fast on it and several
other machines.  It is only this one that my friend has installed
himself, because he wants to learn more about debian, instead of one
of my clones.  And so jokingly it seems to be something my friend did
which was different than what I did.  But I am at wits end trying to
figure this out.

Are there any log files or increased debugging that I could kick in
for PAM and NIS?

Thanks
Bob

Attachment: pgpTewsPqu0g0.pgp
Description: PGP signature


Reply to: