This is an old revision of the document!
# mount_smbfs -I winserver //USER1@WINSERVER/SHARE /mnt Password: Pa$$w0rd # cat /root/.nsmbrc [default] workgroup=CORPX [WINSERVER] addr=winserver.corpX.un [WINSERVER:SHARE] password=Pa$$w0rd charsets=koi8-r:cp866 # mount_smbfs -N //USER1@WINSERVER/SHARE /mnt
root@client1:~# apt-get install smbfs root@client1:~# mount.cifs //gate.corpX.un/share /mnt -o user=Administrator
root@client1:~# kinit user1 root@client1:~# mount.cifs //gate.corpX.un/share /mnt --verbose -o sec=krb5
user1@client1:~$ smbclient -k //gate.corpX.un/homes
root@client1:~# chmod +s /sbin/mount.cifs root@client1:~# chmod +s /sbin/umount.cifs user1@client1:~$ mkdir home/ user1@client1:~$ mkdir share/ user1@client1:~$ mount.cifs //gate.corpX.un/homes home --verbose -o sec=krb5 user1@client1:~$ umount.cifs home/ root@client1:~# cat /etc/fstab ... //gate.corpX.un/homes home cifs rw,user,noauto,sec=krb5 0 0 //gate.corpX.un/share share cifs rw,user,noauto,sec=krb5 0 0 user1@client1:~$ mount home user1@client1:~$ mount share ... user1@client1:~$ umount home user1@client1:~$ mount share