LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-24-2006, 08:37 AM   #1
Nr18
LQ Newbie
 
Registered: Jul 2006
Location: Wormer
Distribution: CentOS, Mac OS X
Posts: 15

Rep: Reputation: 0
Samba configuration


Hi,

I'm just finishing a fress install om my new server :P

and i want to setup samba as well BUT:

I have one problem

i want 1 folder approachable for everyone

Code:
[global]
        workgroup = [Domainname]
        server string = Production Server
        security = share
        map to guest = Bad User
        guest account = production
        log file = /var/log/samba/%m.log
        max log size = 50
        load printers = No
        dns proxy = No
        cups options = raw

[files]
        path = /var/shares/files
        read only = No
        acl group control = Yes
        inherit permissions = Yes
        inherit acls = Yes
        inherit owner = Yes
        guest ok = Yes
and i want private folders for a group users like sales an development

Code:
[documents]
        path = /var/shares/documents
        read only = No
        acl group control = Yes
        inherit permissions = Yes
        inherit acls = Yes
        inherit owner = Yes
        valid users = sales
        guest ok = no

[domains]
        path = /var/domains
        read only = No
        acl group control = Yes
        inherit permissions = Yes
        inherit acls = Yes
        inherit owner = Yes
        valid users = development
        guest ok = no
Now do i have a Win2k3 domainserver with users ofcource

and i tried the following:

in smbusers:

development = user1 user2 user3
sales = user2 user4

but that didn't work so my question is is it posible and how do i do that?
 
Old 10-25-2006, 04:56 PM   #2
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: a few...
Posts: 654

Rep: Reputation: 32
don't you need an @ before a group name?
 
Old 10-25-2006, 04:57 PM   #3
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: a few...
Posts: 654

Rep: Reputation: 32
A la default config example:

Quote:
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = @staff
 
Old 10-26-2006, 04:54 AM   #4
Nr18
LQ Newbie
 
Registered: Jul 2006
Location: Wormer
Distribution: CentOS, Mac OS X
Posts: 15

Original Poster
Rep: Reputation: 0
oke, but how do i sync my winNT domain with a samba server

because my windows user must be validated by the samba deamon and have to check if the user my read and write in a share
 
Old 10-26-2006, 05:38 AM   #5
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: a few...
Posts: 654

Rep: Reputation: 32
Your "security" setting determine where it get's its info from. Though depending on that setting you will have to do more work or give it more info.

If you want to test that this all works in principal configure it to use a local database and use smbpasswd to add some users ...

Depending on how your windows hosts are setup, if you have a Private Domain Controller and are using funky Active Directory stuff you can do your authentication via it. This however is well outside my depth of experience.
 
  


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 Configuration joshuarowley Linux - Networking 3 06-27-2006 06:54 AM
Samba configuration ? help me wampire Linux - Networking 10 02-12-2006 08:38 AM
Samba configuration shivadk Linux - Software 2 12-17-2005 08:55 PM
Samba Configuration randy1970 Linux - Newbie 5 07-24-2005 09:22 AM
samba configuration pantera Red Hat 1 06-24-2004 06:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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