LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-08-2005, 09:35 AM   #1
jbraum
Member
 
Registered: Oct 2003
Location: Mansfield Ohio
Distribution: Ubuntu
Posts: 119

Rep: Reputation: 15
Help with creating shares


I'm trying to create a software share for software and a student share for students but both aren't allowing me in. Here's the config file

Global parameters
[global]
workgroup = 219_LINUX
printcap name = /etc/printcap
add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
logon script = logon.bat
logon path =
domain logons = Yes
os level = 33
preferred master = Yes
domain master = Yes
admin users = @admins
printer admin = @admins
print command = lpr -l %s
veto files = /*.mp3/*.divx/*.eml/

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0640
directory mask = 0750
browseable = No

[netlogon]
path = /home/samba/netlogon
read list = @admins, @teachers, @students
write list = @admins

[profiles]
path = /var/lib/samba/profiles
read only = No
create mask = 0600
directory mask = 0700

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

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

[teachers]
comment = Shared area for teachers
path = /home/samba/teachers
valid users = @teachers
read list = @teachers
write list = @teachers
force group = teachers
read only = No
create mask = 0774
directory mask = 0775

[software]
comment = storage area for software and drivers
path = /home/samba/software
valid users = @teachers, @admins, @students, @administrator, @teacher
read list = @teachers, @admins, @students, @administrator, @teacher
write list = @admins, @teacher, @administrator
force group = admins
read only = No
create mask = 0774
directory mask = 0775

[student]
comment = Student Share
path = /home/student
valid users = %S
read only = No
 
Old 11-09-2005, 04:28 AM   #2
Thoreau
Senior Member
 
Registered: May 2003
Location: /var/log/cabin
Distribution: All
Posts: 1,167

Rep: Reputation: 45
http://www.linuxquestions.org/questi...hreadid=373801
 
  


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
Shares linusfreak Linux - Networking 7 11-26-2005 09:38 AM
Trouble creating shares in Samba Night853 Linux - Software 3 03-03-2004 11:22 PM
SMB shares to OS X MadTurki Linux - Networking 6 12-02-2003 06:59 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM
Xp Shares uNsKiLeD Linux - Networking 1 04-20-2003 02:17 PM

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

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