LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-29-2008, 03:47 PM   #1
odyssey84
Member
 
Registered: Dec 2004
Posts: 50

Rep: Reputation: 15
File sharing Open SuSE and XP


Greetings - I'm attempting to share files between a machine running SuSE 10.3 and XP. I had it for a minute, but now the Windows machine can't see anything. I deleted out a few of the defaulted file shares that I did not believe were required (probably were).

In addition, I would also like to be able to be able to read and write to the windows machine (as with the linux machine).

Any ideas as to where to do would be appreciated. I'm not good at command line, so I'm better with the GUI.

Thanks,

Scott
 
Old 11-30-2008, 12:27 AM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Since you did not mention it I am going to assume that you have not yet installed samba. This is the application that not only installs the server to allow for filesharing but also the client that lets linux connect to windows shares. just install samba as a start.
 
Old 11-30-2008, 07:55 PM   #3
odyssey84
Member
 
Registered: Dec 2004
Posts: 50

Original Poster
Rep: Reputation: 15
Samba installed

Sorry - forgot to mention that I had installed it. I've installed SMB4K, which appears to be very cool, however, I'm not sure how to get around it. When I initially started tinkering with this, there were 5 shares that were set up (only one by me). I deleted out three of them as they didn't seem necessary and that may have caused things to go haywire.

Something tells me I need to start from scratch. Can you give me any ideas?

Thanks again,

Scott
 
Old 11-30-2008, 09:18 PM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
I have never seen it create 3 shares. Normally it just setups the config file to allow access to users home directories, and printers on the system. What is it not doing exactly? Can you post your smb.conf file just as a baseline.
 
Old 12-02-2008, 03:14 PM   #5
odyssey84
Member
 
Registered: Dec 2004
Posts: 50

Original Poster
Rep: Reputation: 15
Samba config

I used to have read access into the Storage2 file from my Windows machine - now the machine can't see it.

I'd basically like to have read/write access across my network as well as printer support for both machines as well.

Here's the config file you requested. Thanks for looking into this.

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2008/11/29 20:20:49

[global]
workgroup = GALAXY
interfaces = eth0
map to guest = Bad User
acl compatibility = winnt
server signing = Auto
printcap name = cups
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
domain master = No
ldap ssl = No
usershare allow guests = Yes
usershare max shares = 1
printing = cups
cups options = raw
lpq command = %p
restrict anonymous = no
max protocol = NT
idmap gid = 10000-20000
idmap uid = 10000-20000
security = user
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = No

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
guest ok = Yes
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775

[storage2]
path = /media/sdb2/
inherit acls = yes
case sensitive = no
strict locking = no
msdfs proxy = no
guest ok = yes

[scott_home]
path = /home/scottamead
case sensitive = no
strict locking = no
guest ok = yes
msdfs proxy = no

## Share disabled by YaST
# [netlogon]
 
Old 12-02-2008, 07:52 PM   #6
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
here is a capture from my smb.conf file pulled from my env.
Code:
[anime]
  path=/usr/local/anime
  comment = Anime
  browseable = yes
  writable = yes
  valid users = jstephens, kstephens
  write list = jstephens, kstephens
  create mask = 0700
  directory mask = 0700

[music]
  path=/usr/local/music
  comment = Music
  browseable = yes
  writable = yes
  valid users = jstephens, kstephens
  write list = jstephens, kstephens
  create mask = 0700
  directory mask = 0700
try changing that on yours and and creating a share group and assigning that share group permissions as group owner to the directories. I am sure your way will work using acls but I have never used acls so I can only give advice based off my current expierence with Samba.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing device file with open() call. davidkline Programming 2 02-07-2007 02:48 PM
File Sharing with SuSE 10 newbieeng Linux - Networking 4 04-20-2006 11:09 AM
Suse 10.0 File Sharing/networking, How To??? pinguino80 Linux - Networking 3 02-21-2006 10:46 AM
Mandrake 10 & WinXP OPEN file sharing CaptainRegular Linux - Networking 8 08-05-2004 08:09 AM
Suse File sharing? ssbullpit Linux - Software 6 06-08-2004 10:49 PM

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

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