|
~]#{nbsp}dnf install samba
|
|
smbdindexterm:[Samba,daemon,smbd]
|
|
nmbdindexterm:[Samba,daemon,nmbd]
|
|
winbinddindexterm:[Samba,daemon,winbindd]
|
|
[command]#smb://pass:attributes[{blank}]_servername_pass:attributes[{blank}]/pass:attributes[{blank}]_sharename_pass:attributes[{blank}]#
|
|
[command]#~]$ smbclient //pass:attributes[{blank}]_hostname_pass:attributes[{blank}]/pass:attributes[{blank}]_sharename_ -U _username_pass:attributes[{blank}]#
|
|
[command]#mount -t cifs //pass:attributes[{blank}]_servername_pass:attributes[{blank}]/pass:attributes[{blank}]_sharename_ _/mnt/point/_ -o username=pass:attributes[{blank}]_username_,password=pass:attributes[{blank}]_password_pass:attributes[{blank}]#
|
|
~]#{nbsp}dnf install cifs-utils
|
|
~]#{nbsp}echo 0x37 > /proc/fs/cifs/SecurityFlags
|
|
~]#{nbsp}systemctl restart smb.service
|
|
[pass:attributes[{blank}]_sharename_pass:attributes[{blank}]] comment = _Insert a comment here_ path = _/home/share/_ valid users = _tfox carole_ writable = yes create mask = 0765
|
|
[command]#smbpasswd -a _username_pass:attributes[{blank}]#
|
|
~]#{nbsp}systemctl start smb.service
|
|
~]#{nbsp}systemctl stop smb.service
|
|
~]#{nbsp}systemctl try-restart smb.service
|
|
~]#{nbsp}systemctl reload smb.service
|
|
~]#{nbsp}systemctl enable smb.service
|
|
[global] workgroup = DOCS netbios name = DOCS_SRV security = user guest account = nobody # default value map to guest = Bad user
|
|
[data] comment = Documentation Samba Server path = /export read only = yes guest ok = yes
|
|
[global] workgroup = DOCS security = user guest account = nobody # default value map to guest = Bad user
|