Subject: su and KRB
To: None <tech-userlevel@netbsd.org>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: tech-userlevel
Date: 11/08/2000 20:17:05
  I have been trying to figure out why "su" hangs for 30-60 seconds when I'm
not on a network with 1.5ALPHA_2. 
  I had assumed it was DNS, su looking for something to log, but after
mucking around with nsswitch.conf and resolv.conf a bit, I ktrace'ed it from
another window:

   523 su       EMUL  "netbsd"
   523 su       RET   poll 0
   523 su       CALL  close(0x3)
   523 su       RET   close 0
   523 su       CALL  socket(0x2,0x2,0)
   523 su       RET   socket 3
   523 su       CALL  connect(0x3,0x481d4e10,0x10)
   523 su       RET   connect 0
   523 su       CALL  sendto(0x3,0xbfbfa8c0,0x22,0,0,0)
   523 su       GIO   fd 3 wrote 34 bytes
       "]\M^]\^A\0\0\^A\0\0\0\0\0\0
        krb4-realm\^Bon\^Bca\0\0\^P\0\^A"
   523 su       RET   sendto 34/0x22
   523 su       CALL  gettimeofday(0xbfbfa614,0)
   523 su       RET   gettimeofday 0
   523 su       CALL  poll(0xbfbfa678,0x1,0x1388)
   523 su       RET   poll 0
   523 su       CALL  close(0x3)
   
  What's this, and how do I turn it off?

   :!mcr!:            |  Solidum Systems Corporation, http://www.solidum.com
   Michael Richardson |    Travelling... if you don't know where I am, how should I?
 Personal: mcr@sandelman.ottawa.on.ca. PGP key available.
 Corporate: <A HREF="mailto:mcr@solidum.com">mcr@solidum.com</A>.