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/corp_share
# mount.cifs //gate/corp_share /mnt -o user=user1 Password for user1@//gate/corp_share: password
root@client1:~# cat /etc/fstab
... //gate.corpX.un/corp_share /home/user1/corp_share cifs rw,user,user=user1,noauto 0 0
root@client1:~# su - user1 user1@client1:~$ mkdir corp_share/ user1@client1:~$ mount /home/user1/corp_share user1@client1:~$ ls corp_share/ user1@client1:~$ umount /home/user1/corp_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 //gate.corpX.un/user1 /home/user1 cifs rw,user,sec=krb5,noauto,vers=3.1.1,uid=10001,gid=10001 0 0 //gate.corpX.un/user2 /home/user2 cifs rw,user,sec=krb5,noauto,vers=3.1.1,uid=10002,gid=10002 0 0 ...
root@client1:~# su - user1 user1@client1:~$ mount Public/ user1@client1:~$ umount Public/