LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 07-04-2007, 12:40 AM   #1
AhrenBa
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Rep: Reputation: 0
XP password problem (file sharing with samba on Ubuntu Feisty and Windows XP)


Hello,

I followed this video to setup file sharing between my Windows XP and Ubuntu machines using Samba. (http://youtube.com/watch?v=Ad17kma8rNM).

I got to the point where both computer can see each other and are in the same workgroup. Each computer has at least one shared folder.

I have two things I need help with (MAINLY this first one):
1. When I try to access the Windows shares from the Ubuntu computer, it prompts me for authentication (username and password). However, I do not have a password for the windows machine, so I have no clue what to use here. Why is it asking for a password here? How can I either turn this off or find out what it wants? Because of this, I cannot access my Windows shares from the Ubuntu computer.

2. When I try to access the Ubuntu shares from my XP computer, it requires me to input the password I setup when I added a user to Samba. It works when I input the password, but this is sort of a hassle. Is there a way to turn this off? I can access the Ubuntu shares from this (XP) computer.

Thanks!

EDIT/UPDATE: Ok, I just had a "major breakthrough". I just tried sharing some other folders on my XP machine, and then tried accessing them from Ubuntu, and those ones worked! I didn't do anything different in the process.

However that other folder still doesn't let me access it without a password etc. Does this explain anything? I don't get why it's doing this.

Last edited by AhrenBa; 07-04-2007 at 11:50 AM.
 
Old 07-04-2007, 01:25 AM   #2
MoMule
Member
 
Registered: Jul 2006
Posts: 134

Rep: Reputation: 15
Going from XP to SAMBA share: open a DOS command prompt and type

Code:
net use z: \\IP_of_SAMBA_Machine\SAMBAShareNAME /savecred
Type in the username and password and it shouldn't ask for it again.

Going from SAMBA to XP share: take a look in C:\Documents and Settings\ for the user you are currently "logged" in under. Chances are it is the user 'Owner.' In the Linux terminal type

Code:
mount -t cifs -o username=owner,workgroup=YourWorkGroupName //IPAddressOfXPMachine/XPShareName/ /mnt/XPShare/
...or something somewhat similar. If that doesn't quite work due to the password thing, then you can go into XPs Control Panel and assign a password to this user and try it all over again, but this time give it the password that you assigned to 'Owner.'

Hope this helps - if it doesn't, then I would suggest you look into webmin to control all of this...

Deion "Mule" Christopher
 
Old 07-04-2007, 11:50 AM   #3
AhrenBa
LQ Newbie
 
Registered: Jul 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Ok, I just had a "major breakthrough". I just tried sharing some other folders on my XP machine, and then tried accessing them from Ubuntu, and those ones worked! I didn't do anything different in the process.

However that other folder still doesn't let me access it without a password etc. Does this explain anything? I don't get why it's doing this.
 
Old 07-04-2007, 02:49 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
passwords have nothing to do with networking. moved to Linux - General.
 
Old 07-09-2007, 08:56 AM   #5
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 190

Rep: Reputation: 17
You ever watch Reboot?
It's an interesting cartoon.
There is this one episode where Hexadecimal is surrounded by a firewall.
It's kinda funny, because she's within her castle/domain, but she can't get out.

Maybe you're experiencing the same problem...

Last edited by Cyberman; 07-09-2007 at 08:57 AM.
 
Old 07-09-2007, 09:26 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
please keep it relevant, or stick to the General forum.
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba file sharing between Ubuntu and Mac OS X - Stumped! FragTek Linux - Networking 3 09-18-2006 09:01 PM
file sharing with windows other than samba bruse Linux - Networking 7 05-09-2005 06:54 AM
2 samba servers sharing common password file ausmpw Linux - Networking 3 04-04-2005 06:22 PM
Samba and Windows XP file sharing rattiane Linux - Networking 1 03-23-2005 10:47 AM
Samba: Removing password on Linux to Windows sharing nairnie Linux - Networking 2 11-26-2003 07:54 AM


All times are GMT -5. The time now is 10:59 AM.

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