LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-13-2005, 08:10 PM   #1
crxgames
LQ Newbie
 
Registered: Jan 2005
Posts: 5

Rep: Reputation: 0
Question Sharing / via samba: How?


I am trying to give full access to / on my suse box to every computer on my network . This is a 1 man network, so I'm not worried about it.

I can't seem to get access levels down though.
Can someone show me how to make the share all readable and writeable from my windows computer?

Here is my smb.conf:
Code:
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-10-05
[global]
workgroup = CRX
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
ldap idmap suffix = ou=Idmap
ldap machine suffix = ou=Computers
ldap suffix = dc=example,dc=com
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
ldap ssl = No
server signing = Auto
guest ok = yes
security = share

[htdocs]
comment = All users
path = /src/www
read only = no
inherit acls = yes

[all]
path = /
read only = no
case sensitive = no
msdfs proxy = no

[homes]
comment = Home Directories
valid users = %S
read only = no
inherit acls = yes

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

[users]
comment = All users
path = /home
read only = no
inherit acls = yes
veto files = /aquota.user/groups/shares/

[groups]
comment = All groups
path = /home/groups
read only = no
inherit acls = yes
case sensitive = no
msdfs proxy = no

[pdf]
comment = PDF creator
path = /var/tmp
printable = yes
print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
create mask = 0600

[printers]
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = no

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
You may clean it up as much as you like. I basically just want the printers and all shared.

Thanks.
 
Old 03-14-2005, 02:03 PM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Here is a little HowTo, maybe this helps:

http://linux-sxs.org/networking/sambashr.html

I am not familiar with the share-level security, but I guess it is not required to create users with smbpasswd. But maybe it is still required...?
 
Old 03-14-2005, 02:54 PM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
try adding "guest ok = yes" and setting the guest account to root.
 
  


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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Samba Sharing Die Woud Linux - Networking 14 05-06-2005 03:54 PM
samba sharing Infernal211283 Linux - Networking 2 04-28-2005 09:58 AM
Samba Sharing rstmn957 Mandriva 1 12-06-2003 08:32 PM
Samba sharing artman62 Linux - Networking 1 10-01-2002 06:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:52 PM.

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