lay:3476l1
Listing 1. Final Samba Configuration Script (smb.conf)
[global]
security = user
workgroup = MyGroup
encrypt passwords = Yes
min passwd length = 6
smb passwd file = /etc/smbpasswd
logon script = STARTUP.BAT
domain logons = Yes
domain master = Yes
preferred master = Yes
[homes]
comment = Home Directories
read only = No
create mask = 0750
browseable = No
[apps]
comment = Apps Directory
path = /shares/apps
valid users = @all_users
read only = No
[project1]
comment = Project 1 Directory
path = /shares/proj1
valid users = dcsmith kholmes joe katie redpup
read only = No
[netlogon]
path = /etc/netlogon
Copyright © 1994 - 2019 Linux Journal. All rights reserved.