Simplify users in smb.conf

General support questions
Post Reply
applehc
Posts: 3
Joined: 2014/10/29 11:14:57

Simplify users in smb.conf

Post by applehc » 2014/10/29 11:22:47

Hello,

In Samba in smb.conf I have a long list of configured users. Is possible reduce and continue with same function?

[ejoel]
browseable = no
valid users = ejoel
path = /SERV1/ejoel
write list = ejoel

[ahuges]
browseable = no
valid users = ahuges
path = /SERV1/ahuges
write list = ahuges

[hduff]
browseable = no
valid users = hduff
path = /SERV01/hduff
write list = hduff

Thanks

gulikoza
Posts: 188
Joined: 2007/05/06 20:15:23

Re: Simplify users in smb.conf

Post by gulikoza » 2014/10/29 16:42:57

Why not use [homes]?

applehc
Posts: 3
Joined: 2014/10/29 11:14:57

Re: Simplify users in smb.conf

Post by applehc » 2014/10/30 07:43:58

Hello,

For example in my situation?

Thank you.

applehc
Posts: 3
Joined: 2014/10/29 11:14:57

Re: Simplify users in smb.conf

Post by applehc » 2014/11/03 08:20:18

No news?

Thanks

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Simplify users in smb.conf

Post by TrevorH » 2014/11/03 08:47:11

Like the standard smb.conf that ships with CentOS and is installed with samba...

Code: Select all

[homes]
        comment = Home Directories
        browseable = no
        writable = yes
;       valid users = %S
;       valid users = MYDOMAIN\%S
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply