I went into the sshd_config and set the GSSAPIAuthentication to no and that did the trick. I thought I had tried that already but I must have forgot to restart sshd. Thanks for you help.
-Nate
Main Topics
Browse All TopicsI have setup a CentOS 5 Samba server that uses Winbind to authenticate with our Win2k3 server domain. I am able to authenticate with local users and with domain users. When connecting to the SMB share it doesn't take any more time than usual but when I try to use SSH it is delayed about 30 seconds. I connected to the system using the -vvv option and I see that the delay is occurring while is is attempting to access the file /tmp/krb5cc_1000 which does not exist. Here is the actual message:
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure. Minor code may provide more information
Credentials cache file '/tmp/krb5cc_1000' not found
debug1: Unspecified GSS failure. Minor code may provide more information
Credentials cache file '/tmp/krb5cc_1000' not found
debug1: Unspecified GSS failure. Minor code may provide more information
debug2: we did not send a packet, disable method
This message occurs not matter if the account is local or domain and no matter how I setup the the lookup in nsswitch.conf. The current config of nsswitch.conf is:
passwd: winbind files
shadow: winbind files
group: winbind files
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: arnoldPosted on 2009-10-19 at 10:10:43ID: 25607001
You should have the settings in nsswitch.conf files then winbind.
ailing-Lis ts/securit yfocus/ Sec ure_Shell/ 2007-09/ms g00016.htm l
But the GSS issue comes items are processed way before any authentication is exchanged.
http://www.derkeiler.com/M
you can change the settings within the /etc/ssh/sshd_config under Kerberros options.
uncomment the various lines and change it from yes to no. The same applies to GSSAPI.
My guess prior to adding the AD integration, the GSS and Kerberos were not attempted because of the lack of configuration option when sshd started. With those services setup, ssh includes those checks. Not sure why you see such a significant delay increase.