728x90
반응형
1. Adding smb rule in smb.conf file
[Share]
comment = Share Directory
path = /share
writable=yes
valid users = sambauser
create mask = 0777
directory mask = 0777
read only = no
browsable = yes
2. Adding smbpasswd to `sambauser`
#] smbpasswd -a sambauser
> passwd
> passwd repeat
3. Restarting samba server
#] sudo service smbd restart
3. Login with sambauser
#] smbclient //SAMBA_SERVER_IP_AND/PATH passwd -U sambauser
smb: \> cd/get/put...
smb: \> exit
:)
728x90
반응형
댓글