LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-10-2004, 06:55 PM   #1
magicked
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Rep: Reputation: 0
trouble connecting from windows xp to linux with samba


First, I'm running Slackware 10, and I've been trying to configure my system with samba so I can upload files from WindowsXP to a home directory on the Linux box.

In my smb.conf, I have added an nt workgroup that the other machine is on. I have added the correct ip to hosts allow. Under the share definitions, I have added the following so that the user "magicked" will hopefully be able to connect to his home directory and upload:

comment = Magicked's Home
path = /home/magicked
valid users = magicked
public = no
writeable = yes
printable = no

When I open Network Places in windows, I can look under the workgroups and see the Slackware box, and when I try to connect, it asks for a username and password (as it should). So, I type in "magicked", and the password, and it automatically changes the username to: "LAPTOP\magicked" and won't connect.

Of course, I have something set wrong, but I've been unable to figure out what.

Thanks
 
Old 07-10-2004, 07:41 PM   #2
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
Try this configuration following your path; get rid of what you have. Pretty much standard settings for home directories.

valid users = %S
browseable = No
read only = No
inherit permissions = Yes
guest ok = No
printable = No
create mask = 0600
directory mask = 0700

Do you use SWAT to configure your Samba?
 
Old 07-10-2004, 07:47 PM   #3
magicked
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
I haven't used SWAT, no. Should I try that?
 
Old 07-10-2004, 07:54 PM   #4
magicked
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Oh, and I just thought of this, do I have to restart samba for the changes to take effect?
 
Old 07-10-2004, 09:06 PM   #5
magicked
LQ Newbie
 
Registered: Oct 2003
Posts: 20

Original Poster
Rep: Reputation: 0
Okay, I got to the next step. Just in case anyone else has this same problem, I'll post what I did:

I hadn't created an smbuser under the smbpasswd file.

I had to create the password file by typing: smbpasswd -c /etc/samba

then I had to add the user magicked to the password file: smbpasswd -a magicked

Then I could log in!
 
  


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
Connecting to Linux box from Windows with Samba Tylerious Linux - Software 7 10-04-2005 08:28 AM
Trouble connecting Mandrake 9.2 with Windows XP in_zim Linux - Networking 1 02-06-2004 07:45 PM
SAMBA problem - connecting to linux from windows jdklein1975 Linux - Newbie 13 05-23-2003 12:02 AM
Connecting to Samba Server from Windows explorer Linux - Networking 7 03-16-2003 05:26 PM
connecting to windows workgroup using samba? linoob Linux - Newbie 7 10-23-2002 08:17 PM

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

All times are GMT -5. The time now is 12:09 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