LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-23-2006, 01:55 AM   #1
watha
Member
 
Registered: Jun 2004
Location: Boston, MA USA
Distribution: Suse 9.3
Posts: 68

Rep: Reputation: 15
Windows wants password to open Linux share


I can now see Windows shares on my Linux machine, and the Linux folders show up on my Windows machine. But when I try to open the folders, it demands a password. I use a password to log onto the Linux machine, but not the XP box. When I use my Linux password, it doesn't work. Anybody ever see this? Thanks.
 
Old 07-23-2006, 02:02 AM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
You need to create a samba user

SAMBA is used to connect from Windows to your Linux box

Open up a terminal and type this as root

smbpasswd -a yourusername
(enter password)

Now, when you connect from Windows to LInux, you put in the SAMBA password for the new user you created.

It will get a little more tricky when you dictate what folders to share on your LInux box. For the most part, the below guide will help you, even though it's for Ubuntu. Ignore the 'sudo' stuff since SuSE does not use sudo by default - just use the root account. and ignore 'gedit' if you are using KDE. replace 'gedit' with 'kwrite'

http://ubuntuguide.org/wiki/Dapper#H..._network_users

The other option is to edit the section in your /etc/samba/smb.conf file and make the folder you want to share browseable by everyone without authentication. That way, you don't have to login/password when connecting to your linux box for file sharing. If you want to do that, let us know or follow that Ubuntuguide I linked you to.

Last edited by Micro420; 07-23-2006 at 02:11 AM.
 
Old 07-23-2006, 10:42 AM   #3
watha
Member
 
Registered: Jun 2004
Location: Boston, MA USA
Distribution: Suse 9.3
Posts: 68

Original Poster
Rep: Reputation: 15
Weird...I don't remember having to do this with my previous Linux setup. Oh well...whatever.

Thanks.
 
  


Reply



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
Can't open files from windows share on Suse 10.0 designator Linux - Networking 3 01-02-2006 12:46 AM
windows share password cracking scott4957 General 9 10-23-2005 07:24 AM
samba: linux mounted share = choppy playback, windows mounted share = smooth kleptophobiac Linux - Software 2 04-10-2005 08:23 AM
Cant open files from windows xp share castrox Linux - Software 2 01-29-2005 09:52 PM
creating a share folder and open it with windows me dhorn Linux - Networking 1 01-17-2004 09:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:14 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
Open Source Consulting | Domain Registration