I found that when logging (or using su, or any authentication), it was
looking for ldap. Ldap was added to /etc/pam.d/system-auth and caused an
ldap search. There isn't an ldap server to find here, so it just sat there
looking for it for a minute. I removed the ldap lines and it worked fine.

-Josh



> -----Original Message-----
> From: tclug-list-bounces at mn-linux.org
> [mailto:tclug-list-bounces at mn-linux.org]On Behalf Of Andrei Bazhgin
> Sent: Saturday, March 27, 2004 1:18 PM
> To: TCLUG (E-mail)
> Subject: Re: [TCLUG] authentication (logon) takes forever
>
>
> Make sure the remote host knows how to do a reverse DNS lookup for the
> connecting computer.
>
> When yoo connect to a server, the server will say "hmm,
> someone is connecting
> ... I wonder what their hostname is, I am going to look it up
> ..." and it starts
> looking for it. If it cant find it for a long time, it will
> give up and use the
> IP instead. To fix this, you have two options:
>
> 	1. Set up a DNS server. I havent done this, but it
> shouldnt be too hard.
> 	2. Edit /etc/hosts. This is how I do it. I have the
> following lines in
> 	my /etc/hosts file (on the server):
>
> 		192.168.0.100	gentoo.nan2d.com	gentoo
> 		192.168.0.101	sparc.nan2d.com		spac
>
> 	'gentoo' & 'sparc' is the hostname that the server wil
> use for the
> 	connecting IP addresses 192.168.0.100 and 192.168.0.101.
>
> I hope that helped. Someone correct me if I am wrong.
>
> On Thu, Mar 25, 2004 at 09:22:37AM -0600, Josh Close wrote:
> > When I ssh into my pass and put in my password, it takes
> like 1-2 minutes to
> > verify it. I still does it when the box is restarted. There
> aren't any run
> > away processes either. It also takes as long when using
> "su". I have no clue
> > what's going on.
> >
> > Can anyone help?
> >
> > -Josh
> >
> >
> > _______________________________________________
> > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> > http://www.mn-linux.org tclug-list at mn-linux.org
> > https://mailman.real-time.com/mailman/listinfo/tclug-list
> >
>
> --
> Andrei Bazhgin | PGP Key ID: 0xCD2F19DA
> www.nan2d.com  | Public key: http://nan2d.com/~after/pubkey.asc
>


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
http://www.mn-linux.org tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list