Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-16-2005, 01:56 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
Authenticating with Samba from XP domain

Hi all,
I have Samba succesfully up and running on a RH9 machine which is in a Windows domain. I can access a share on the linux machine using shell, so I know it's working.

When I try to connect to a share using an XP machine on the domain, an authentication box pops up asking for a username and password. So far, so good. Why on earth is my username and password (the same as I used in shell) not accepted?

When XP-based authentication pops up for various things, I have to enter the username in the format domain\username. Could the XP authentication popup somehow be mangling the data because it expects it in this format.

Much confused
Old 12-16-2005, 08:10 PM   #2
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Are you saying that your password is not accepted AT ALL or are you annoyed that you have to type in your password every time you reboot your computer (but the password gets accepted and everything works from then on)?

If it's the second one, then you have to go to (in Explorer or My Computer) Tools -> Folder Options -> View (tab) and right at the very end you have to unclick the "Simple file sharing" option even though it's "recommended". You may have to "disconnect network drive" and then map it again fo it to work properly, I can't rememeber.

Last edited by adz; 12-16-2005 at 08:12 PM.
Old 12-16-2005, 08:15 PM   #3
Registered: Nov 2005
Posts: 183

Rep: Reputation: 30
if its truly in a domain, then you need to make sure that the user/password you are entering has a valid account in the domain and that user has rights to access that machine.

if its a workgroup, then when you try to access the xp machine you need to enter the username and password of a valid account on the XP machine.

sounds right

Old 12-17-2005, 02:18 PM   #4
Registered: Sep 2005
Location: Nummela, Southern Finland
Distribution: Fedora Core 4, Fedora Core 5, Redhat 9.0, Solaris 10, WInXP pro, W2k pro
Posts: 30

Rep: Reputation: 15
Just for the curiosity... Have you defined sambausers and passwords? If you have a shell account, it does not automatically mean that you can access a samba share with your Windows box... I once had same problem, but solution to my problem was that simple (problem was in between chair and keyboard back then ). I am just guessing here.
Old 12-19-2005, 01:51 AM   #5
LQ Newbie
Registered: Dec 2005
Posts: 4

Original Poster
Rep: Reputation: 0

Just to clarify this, I have set up samba users, and can log in using a samba username and password from console.

I have tried a username and password from the domain as well - no luck.

I have unticked simple file sharing.

The username and password will not work at all. I have not been able to access the Samba share from the XP computer.

Hope this clarifies the problem



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Authenticating RHEL 4 from a NT Domain Tamerz Red Hat 1 09-04-2005 10:02 PM
authenticating windows domain users using winbind kidd Linux - Networking 2 09-24-2003 02:09 AM
linux client authenticating windows domain mbtoys Linux - Networking 0 08-21-2003 08:10 AM
authenticating nt users in Samba? GuN_HaPpY Linux - Software 0 08-10-2003 11:58 AM
RH9 authenticating to Win2K domain BruceC Linux - Networking 0 08-05-2003 08:53 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration