usr etc
sbin bin
rc.d
smb.conf
smbd smbadduser
init.d
smbusers
nmbd smbpasswd
smb Fichiers de
démons utilitaires configuration
script
swat éditeur
Fichier /etc/ smbusers
# Unix_name = SMB_name1 SMB_name2 …
root = administrator adm1 adm2 adm3
nobody = guest pcguest smbguest
x1 = x1
x2 = x2
Fichier /etc/ smb.conf (1)
#============== Global Settings ====================
[global]
# NIVEAU DE SECURITE
security = user
# IMPERATIF
encrypt passwords = yes
# IMPERATIF
smb passwd file = /etc/smbpasswd
# Use only if you have an NT server on your network that has been
configured at install time to be a primary domain controller.
; domain controller = <NT-Domain-Controller-SMBName>
• Commande smbtar
SAMBA : montage de ressources
• Avant v2.07 : smbmount
• syntaxe :
– smbmount "nom_station/nom_partage" -I@IP
-UuserNT%passwdNT -c ‘ commande ’