Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-20-2004, 10:52 PM   #1
Registered: Sep 2003
Distribution: SuSE, Linspire, Fedora, RH Enterprise
Posts: 89

Rep: Reputation: 15
share files with SuSE 9.0 and Windows XP

I am a newbie, please bear with me.

Is this a secure way to share files with SuSE 9.0 and Windowz XP?

click YaST to open
click Network Services
click Samba Server
click Enable Samba Server
select File and printer sharing
type XP workgroup name
select Share Homes
click Advanced to add more directories Edit and Add Mask for each shared directory, type 0777
...I had to change the Mask twice to get it to save
click Finish

Bring up Terminal or Command prompt in SuSE
type su to become secure root user
type root password
type smbadduser nameofusertoadd
...I used the default admin user that I created
type/create a password for the new smb user

Map the network drive to Windowz XP and login

If anyone has a better more secure method, please post
detailed instructions here. I would like to be able to
force Samba to accept connections only from certain IP
addresses on my internal home network if possible,
but as I said, I am a newbie.

Last edited by linuxgamer; 07-22-2004 at 01:39 AM.
Old 07-21-2004, 12:04 AM   #2
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
add to your smb.conf file in the global section:
allow hosts = 192.168.1.

or whatever your home subnet is, leave the last number off that will allow any number to connect
Old 07-22-2004, 01:41 AM   #3
Registered: Sep 2003
Distribution: SuSE, Linspire, Fedora, RH Enterprise
Posts: 89

Original Poster
Rep: Reputation: 15
Thanks for the info Finlay, I may need to try that.
I also edited my post above to include the Mask comment.
I may need to work on getting SWAT to work, if it is available.


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
how to share files with windows Donb SUSE / openSUSE 6 11-28-2005 10:11 PM
Using files on a windows share castrox Linux - Software 1 01-26-2005 04:46 AM
How do I share files between Suse and Windows XP unmasterfulyoda Linux - Networking 1 06-07-2004 05:21 PM
How Do I Share Files With Windows? AFI_Flame Linux - Networking 15 05-11-2004 03:52 AM
cannot unmount a windows share files in use antken Linux - General 2 10-04-2003 07:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:39 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration