LinuxQuestions.org
Help answer threads with 0 replies.
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 02-23-2008, 01:58 PM   #1
ice2921
Member
 
Registered: Jan 2008
Posts: 74

Rep: Reputation: 15
Samba and Windows Shared


I am having issues accessing my Windows shared folders from my SuSE machine. I can see the Samba shared folders from my Windows machine, but I cant see them from my SuSE machine. Also I cannot print to me Windows printer either I believe that I have to configure CUPS for that. Anyone have some suggestions for me? Thanks.
 
Old 02-23-2008, 02:03 PM   #2
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Can you post your smb.conf file?
 
Old 02-23-2008, 04:00 PM   #3
Tom Douglas
Member
 
Registered: Jun 2007
Posts: 90

Rep: Reputation: 15
Quote:
Originally Posted by ice2921 View Post
....I can see the Samba shared folders from my Windows machine, but I cant see them from my SuSE machine.
Do you mean that you can't see your files from within the SuSE machine? If that's the case, you may need to check your file permissions. Use...
$ ls -l
to list your files.

Showing your /etc/samba/smb.conf for your overall question might be helpful.

Tom D.

Last edited by Tom Douglas; 02-23-2008 at 04:04 PM.
 
Old 02-23-2008, 08:50 PM   #4
ice2921
Member
 
Registered: Jan 2008
Posts: 74

Original Poster
Rep: Reputation: 15
I cannot see my Windows files from my SuSE machine,and I cannot print to my Windows machine.Here is a copy of my Samba conf :

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2008/02/18 08:43:46

[global]
netbios name = SUSE
map to guest = Bad User
printcap name = cups
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
os level = 2
preferred master = No
local master = No
domain master = No
usershare allow guests = Yes
hosts allow = 192.168.1.1/255.255.255.0
printing = cups
cups options = raw
print command =
lpq command = %p
lprm command =
include = /etc/samba/dhcp.conf

[homes]
comment = Home Directories
valid users = %S, %D%w%S
read only = No
inherit acls = Yes
browseable = No

[profiles]
comment = Network Profiles Service
path = %H
read only = No
create mask = 0600
directory mask = 0700
store dos attributes = Yes

[joe_stuff]
comment = All users
path = /home/
read only = No
inherit acls = Yes
guest ok = Yes
veto files = /aquota.user/groups/shares/

[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775
 
Old 02-23-2008, 08:53 PM   #5
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Try change
Code:
preferred master = No
local master = No
domain master = No
to
Code:
preferred master = Yes
local master = Yes
domain master = Yes
and restart samba.
 
Old 02-23-2008, 10:02 PM   #6
ice2921
Member
 
Registered: Jan 2008
Posts: 74

Original Poster
Rep: Reputation: 15
I am still not seeing anything from my SuSE machine I get timeout error on my Worgroup folder. Am I trying to access it the Windows shared folders the wrong way ? I have just been going to my computer>networkfolders>SMBShares ?
 
Old 02-27-2008, 06:50 PM   #7
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Did you restart the samba daemon after you made changes? Also, here is a snippet of my smb.conf file. Try using it as a reference.
Code:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2007/08/24 14:11:12

[global]
workgroup = MSHOME
server string = Graceland
security = SHARE
guest account = ftp
acl compatibility = winnt
server signing = auto
printcap name = /etc/printcap
preferred master = Yes
domain master = Yes
ldap ssl = no
printing = lprng
lppause command = lpc hold '%p' %j
lpresume command = lpc release '%p' %j
queuepause command = lpc stop '%p'
queueresume command = lpc start '%p'

[MOVIES]
path = /home/allen/video
guest only = Yes
guest ok = Yes

[MUSIC]
path = /home/allen/music
guest only = Yes
guest ok = Yes

Last edited by manwichmakesameal; 02-27-2008 at 06:55 PM.
 
Old 02-27-2008, 09:47 PM   #8
ice2921
Member
 
Registered: Jan 2008
Posts: 74

Original Poster
Rep: Reputation: 15
I think thats part of the problem.My samba.conf is just so messed up. Do you think if I copy your conf, verbatim it will work. I know that my workgroup name and that stuff will be different.
 
Old 02-28-2008, 06:22 PM   #9
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
I would think that it would work, it works on my network. My network has an Xbox running xbmc, a dual boot (windows and fedora core), modded PS2 running SMS, and they all see all my samba shares.
 
Old 02-29-2008, 06:30 AM   #10
ice2921
Member
 
Registered: Jan 2008
Posts: 74

Original Poster
Rep: Reputation: 15
wow thats the exact same set up I have except I have the 360 on it too. Anyways Im going to change everything to what you have and see if that works. thanks for the help.
 
  


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
Printing to a windows shared printer using Samba Maskkkk Slackware - Installation 4 09-02-2009 11:39 AM
how do i connect to a windows shared folder using samba? winstone5000 Linux - Networking 1 12-19-2005 10:38 AM
Samba not accessing my Windows Shared folders Felpipe Linux - Networking 3 08-04-2005 08:34 AM
mirror windows shared over Samba to linux High-Hopes Linux - Networking 3 02-09-2005 06:53 PM
Can't acess directories shared by Samba in windows XP vador Linux - Networking 4 10-29-2004 04:06 PM

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

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