What flavor of Linux are you running? Here are some steps that worked on a Ubuntu configuration
The correct syntax for mounting from your Ubuntu client should be similar to the following:
# mount - t cifs // / / -o username= ,dom=
In an example form that looks like:
# mount -t cifs //10.20.4.216/ifs /mnt/ifs -o username=kstag,dom=cslab
It will prompt you for the password after you press enter. If you would like to put this in your fstab then the following should be what your'e looking for:
Where you'll need to change the '//cluster/ifs' value to your cluster and share. The 'credentials=' parameter specifies a file that contains username, password and domain information so that not just anyone can pull those by looking at your fstab. Here's an example of what you want in that file:
scott_owens
60 Posts
3756
0
Posted June 2nd, 2016 15:00
What flavor of Linux are you running? Here are some steps that worked on a Ubuntu configuration
The correct syntax for mounting from your Ubuntu client should be similar to the following:
# mount - t cifs // / / -o username= ,dom=
In an example form that looks like:
# mount -t cifs //10.20.4.216/ifs /mnt/ifs -o username=kstag,dom=cslab
It will prompt you for the password after you press enter. If you would like to put this in your fstab then the following should be what your'e looking for:
//cluster/ifs /mnt/ifs cifs credentials=/root/.smbcreds,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
Where you'll need to change the '//cluster/ifs' value to your cluster and share. The 'credentials=' parameter specifies a file that contains username, password and domain information so that not just anyone can pull those by looking at your fstab. Here's an example of what you want in that file:
# cat /root/.smbcreds
username=kstag
password=a
domain=a