This is an old revision of the document!
# mount_smbfs -E koi8-r:cp866 //student@gate/share /mnt Password: # mkdir /share # cat /etc/nsmb.conf
... [default] workgroup=CORP6 [GATE] addr=gate.corp6.un charsets=koi8-r:cp866 [GATE:STUDENT] password=password
# cat /etc/fstab
... //student@gate/share /share smbfs ro,noauto 0 0
# mount_smbfs -N /share
root@client1:~# apt-get install smbfs root@client1:~# mount.cifs //gate/share /mnt -o iocharset=utf8,codepage=cp1251,user=student Password: root@client1:~# mount.cifs //gate/share /mnt -o iocharset=utf8,codepage=cp1251,user=student%password
root@client1:~# kinit user1 root@client1:~# mount.cifs //gate.corpX.un/share /mnt --verbose -o sec=krb5,iocharset=utf8,codepage=cp1251
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