1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
|
#smb.conf
[global]
#Here you can set the drive letter
logon drive = p:
encrypt passwords = yes
# To allow only specific hosts who can connect to server below entry is used make sure localhost is added
# inet addr:132.168.1.63 Bcast:132.168.1.255 Mask:255.255.255.0
hosts allow = IP-address, 132.168.1.63/255.255.255.0
# home directories will be mounted as the user logs on
logon home = \\netbiosname\%U
passwd program = /usr/bin/passwd %u
# Enable the windows support
wins support = yes
dns proxy = no
# netbios name = wealhtheow //Set the netbiosname
netbios name = donkeynet
# Set the alias, this is optional
netbios aliases = rch01
# Sync the unix passwords
unix password sync = No
# This will tell the server where to place the home directories
logon path = \\rch01\profiles\%U
# Workgroup to be used, all clients should have the same workgroup
#workgroup = rch.uky.edu
workgroup = smbguests
#workgroup = admin
# Set the OS level
os level = 64
# Below entries are important in order to tell that Samba server is the domain controller
domain logons = yes
pam password change = yes
preferred master = yes
domain master = yes
local master = yes
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
read only = no
create mode = 0600
directory mode = 0700
# This tells where is the home directory for the user
logon home = \\rch01\%U
hide files = /*.pst/
[profiles]
create mode = 0600
directory mode = 0700
path = /home/samba/profiles/
profile acls = yes
read only = no
writable = yes |
Partager