Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt-get install cifs-utils
- # /etc/nsswitch.conf
- #
- # Example configuration of GNU Name Service Switch functionality.
- # If you have the `glibc-doc-reference' and `info' packages installed, try:
- # `info libc "Name Service Switch"' for information about this file.
- passwd: ******
- group: compat
- shadow: compat
- gshadow: files
- hosts: files mdns4_minimal [NOTFOUND=return] wins dns
- networks: files
- protocols: db files
- services: db files
- ethers: db files
- rpc: db files
- netgroup: nis
- sudo apt-get install libnss-winbind winbind
- username=***
- password=***
- # /etc/fstab: static file system information.
- #
- # Use 'blkid' to print the universally unique identifier for a
- # device; this may be used with UUID= as a more robust way to name devices
- # that works even if disks are added and removed. See fstab(5).
- #
- # <file system> <mount point> <type> <options> <dump> <pass>
- # / was on /dev/sda1 during installation
- UUID=5cf6df9a-462a-42bb-aa94-2b29475d6578 / ext4 errors=remount-ro 0 1
- # swap was on /dev/sda5 during installation
- UUID=f546dc20-4811-4f03-8296-fe9c9b549197 none swap sw 0 0
- ## Mount Windows (Z)
- //IP_ADDRESS /media/Z cifs credentials=/home/my_username/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0
- sudo mount -a
- mount error(22): Invalid argument
- Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Add Comment
Please, Sign In to add comment