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