Difference between revisions of "Samba"
Jump to navigation
Jump to search
Line 14: | Line 14: | ||
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/windows_integration_guide/smb-sssd | https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/windows_integration_guide/smb-sssd | ||
+ | |||
+ | New-SmbMapping -UserName jtest -password 123123 -LocalPath 'M:' -RemotePath '\\10.250.24.12\jtest' | ||
+ | |||
+ | alternatives --display cifs-idmap-plugin | ||
+ | alternatives --set cifs-idmap-plugin /usr/lib/cifs-utils/idmapwb.so | ||
+ | alternatives --set cifs-idmap-plugin /usr/lib64/cifs-utils/cifs_idmap_sss.so | ||
+ | |||
+ | |||
+ | smbpasswd -a jebusk | ||
+ | |||
+ | New-SmbMapping -LocalPath 'O:' -RemotePath '\\10.250.24.12\jtest3' | ||
+ | |||
+ | /var/lib/samba/private/passdb.tdb |
Revision as of 04:56, 25 April 2020
Setting Up
https://linuxize.com/post/how-to-install-and-configure-samba-on-ubuntu-18-04/
Client
gvfs-mount smb://stay@nas/stay
mount sucks as must be root use above or gui tools
sudo mount -t cifs -o username=myuser //nas/myuser /mnt/smbmount
New-SmbMapping -UserName jtest -password 123123 -LocalPath 'M:' -RemotePath '\10.250.24.12\jtest'
alternatives --display cifs-idmap-plugin
alternatives --set cifs-idmap-plugin /usr/lib/cifs-utils/idmapwb.so
alternatives --set cifs-idmap-plugin /usr/lib64/cifs-utils/cifs_idmap_sss.so
smbpasswd -a jebusk
New-SmbMapping -LocalPath 'O:' -RemotePath '\10.250.24.12\jtest3'
/var/lib/samba/private/passdb.tdb