LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba and Windows Shared (https://www.linuxquestions.org/questions/linux-networking-3/samba-and-windows-shared-623346/)

ice2921 02-23-2008 01:58 PM

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.

manwichmakesameal 02-23-2008 02:03 PM

Can you post your smb.conf file?

Tom Douglas 02-23-2008 04:00 PM

Quote:

Originally Posted by ice2921 (Post 3067473)
....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.

ice2921 02-23-2008 08:50 PM

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

manwichmakesameal 02-23-2008 08:53 PM

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.

ice2921 02-23-2008 10:02 PM

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 ?

manwichmakesameal 02-27-2008 06:50 PM

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


ice2921 02-27-2008 09:47 PM

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.

manwichmakesameal 02-28-2008 06:22 PM

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.

ice2921 02-29-2008 06:30 AM

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.


All times are GMT -5. The time now is 08:43 AM.