This is an old revision of the document!
root@client1:~# apt install smbclient root@client1:~# su - user1 $ smbclient -U student //gate/share
# apt install cifs-utils nfs-common # mount.cifs //gate/share /mnt -o user=student Password for student@//gate/share: password
root@client1:~# cat /etc/fstab
... //gate.corpX.un/share /home/user1/share cifs rw,user,user=student,noauto 0 0
root@client1:~# su - user1 user1@client1:~$ mkdir share/ user1@client1:~$ mount /home/user1/share user1@client1:~$ ls share/ user1@client1:~$ umount /home/user1/share
user1@client1:~$ smbclient -k //gate.corpX.un/homes user1@client1:~$ smbclient -k //gate.corpX.un/corp_share
# mount.cifs //gate.corpX.un/corp_share -o rw,user,sec=krb5,noauto,vers=3.1.1 /mnt root@client1:~# cat /etc/fstab
... //gate.corpX.un/corp_share /home/user1/corp_share cifs rw,user,sec=krb5,noauto,vers=3.1.1 0 0 //gate.corpX.un/corp_share /home/user2/corp_share cifs rw,user,sec=krb5,noauto,vers=3.1.1 0 0 ...
root@client1:~# su - user1 user1@client1:~$ mkdir corp_share/ user1@client1:~$ mount corp_share/ user1@client1:~$ umount corp_share/