first : update or create smb.conf under linux
vim /etc/samba/smb.conf
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = yes
writable = yes
path = /usr/local
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
second: add smb user:
smbpasswd -a root
third: restart smb service
/etc/init.d/smb restart
vim /etc/samba/smb.conf
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = yes
writable = yes
path = /usr/local
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
# ===== end =============
second: add smb user:
smbpasswd -a root
third: restart smb service
/etc/init.d/smb restart
Comments
Post a Comment