Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
linux:samba [2019/10/02 09:03] – [Configure Samba] tmadelinux:samba [2020/02/20 18:24] – [Permanent Mount] tmade
Line 99: Line 99:
   mount -t cifs -o lfs //10.6.7.67/temp/ /home/samba -o username=myuser   mount -t cifs -o lfs //10.6.7.67/temp/ /home/samba -o username=myuser
   mount -t cifs -o lfs //10.6.7.67/temp/ /home/samba -o dom=DOMAIN,username=myuser,password=PASSWORD   mount -t cifs -o lfs //10.6.7.67/temp/ /home/samba -o dom=DOMAIN,username=myuser,password=PASSWORD
-  mount -t smbfs -o lfs //172.22.49.111/share/ /mnt -o dom=DOMAIN,username=myuser,password=PASSWORD                      #"dom" can be a workgroup as well +  mount -t smbfs -o lfs //172.22.49.111/share/ /mnt -o dom=DOMAIN,username=myuser,password=PASSWORD                               #"dom" can be a workgroup as well 
   mount -t cifs -o lfs //IP/c$/folder /mnt/backup/ -o username=Administrator   mount -t cifs -o lfs //IP/c$/folder /mnt/backup/ -o username=Administrator
-  mount -t cifs -o vers=3.0 //test.local/linux_images /mnt/backup/ -o username=testuser,domain=TESTDOMAIN -o sec=ntlmssp                     #Mount Win 2012/ 2016 Share - option "-o sec=ntlmssp" is required!+  mount -t cifs -o vers=3.0 //test.local/linux_images /mnt/backup/ -o username=testuser,domain=TESTDOMAIN -o sec=ntlmssp          #Mount Win 2012/ 2016 Share - option "-o sec=ntlmssp" is required! 
 +  mount -t cifs //test.local/linux_images /mnt/backup/ -o username=testuser,domain=TESTDOMAIN -o sec=ntlmssp                      #Mount Win 2012/ 2016 Share - option "-o sec=ntlmssp" is required!
      
 Linux to Linux: Linux to Linux:
Line 159: Line 160:
   //Servername_or_IP/share /Path/to/mountpoint cifs ro,codepage=850,iocharset=iso8859-15,credentials=/Path/to/smbcreds.txt 0 0    //Servername_or_IP/share /Path/to/mountpoint cifs ro,codepage=850,iocharset=iso8859-15,credentials=/Path/to/smbcreds.txt 0 0 
   //Servername_or_IP/share /Path/to/mountpoint cifs rw,codepage=850,iocharset=utf8,domain=DOMAIN_NAME,credentials=/Path/to/smbcreds.txt 0 0   //Servername_or_IP/share /Path/to/mountpoint cifs rw,codepage=850,iocharset=utf8,domain=DOMAIN_NAME,credentials=/Path/to/smbcreds.txt 0 0
 +  //Servername_or_IP/share /Path/to/mountpoint cifs uid=user,gid=group,file_mode=0775,dir_mode=0775,credentials=/Path/to/smbcreds.txt 0 0
 +  
 Credentials: Credentials:
 /Path/to/smbcreds.txt /Path/to/smbcreds.txt
linux/samba.txt · Last modified: 2020/09/25 12:03 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki