Problem solve Get help with specific problems with your technologies, process and projects.

Linux gets to Win2k login screen, but then errors pop up

Hello, Mark. Several times over the past six months I've acquired Linux distributions (SuSe, Mandrake, Yoper, Fedora and so on). They have all installed successfully, but I have never been able to get them the talk to our AD-activated Win2k Server. I feel I must be close some of the time, because when the login screen displays I can see and select from a list of domain users. But after typing the password, I receive error messages relating to "Xsesion" and "logon" or "connection failure." So it must be close. Can you suggest any settings either on the Linux desktop/workstation, on our Win2k server or within Active Directory to get around this issue? Thanks.
I think the right answer to your question is how to troubleshoot the desktop and not the Active Directory Server, because you want to make sure your existing users are not disrupted. Also, I have seen too many reports of people connecting to the AD server successfully to think it's a problem that can't be overcome on the Linux workstation.

I think the first step is to make sure that you are using the latest version of Samba, which should support the authentication into the Active Directory domain. I think that you may also want to consider trying one more version of Linux, which does a very good job authenticating against Windows domains -- Xandros. I am not familiar with your actual error in the context of logging onto the domain, but I suspect this might be the case.

You mention the login screen. Is this the Linux main login screen, or is it somewhere after you logged in? The Linux graphical greeter will include a username and password prompt as well as the choice of session type. Usually KDE or GNOME are options or maybe they are the default, as is the case in distributions that fancy up the interface a bit. I am wondering: Are you trying to log in by authenticating against a Windows Active Domain Directory? You should first log in to the Linux PC and then authenticate for file and print sharing against your Windows primary domain controller (PDC).

If that is the case, once you are logged into the desktop, you should really look at this documentation at the Samba Web site: Chapter 9 of Samba User's Guide, which is called "Adding Unix/Linux servers and clients."

My only other thought is that the problem also might have something to do with Portable Authentication Modules (PAM). You can look for some debugging information in /var/log/messages. You might want to look in the /etc/security/pam_env.conf files for clues once you look at the messages.

Also you may want to post this question to the Samba mailing list, where they can inquire about additional troubleshooting data since what we have to go on here leaves a wide possibility of solutions.

Dig Deeper on Linux servers

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.