Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
linux_faq:mount_cifs_using_kerberos_auth [2020/11/26 07:38] – created adminlinux_faq:mount_cifs_using_kerberos_auth [2020/11/26 07:47] admin
Line 4: Line 4:
 ---- -------------------------------------------------------------------------- ---- --------------------------------------------------------------------------
    1 username@DOMAIN.LOCAL (aes256-cts-hmac-sha1-96)</code>    1 username@DOMAIN.LOCAL (aes256-cts-hmac-sha1-96)</code>
 +Строка в **/etc/fstab**: 
 +  //server/share /mnt/path cifs sec=krb5,uid=nobody,iocharset=utf8,noperm 0 0 
 +   
 +Скрипт для периодического обновления **keytab**:
 <code>#!/bin/bash <code>#!/bin/bash
 #. ~/.bash_profile #. ~/.bash_profile
-/usr/bin/kinit -k -t /etc/krb5.keytab sberx-share-dev+/usr/bin/kinit -k -t /etc/krb5.keytab username
 exit 0</code> exit 0</code>
- 
-  //server/share /mnt/path cifs sec=krb5,uid=nobody,iocharset=utf8,noperm 0 0 
-  
  
  • linux_faq/mount_cifs_using_kerberos_auth.txt
  • Last modified: 2020/11/26 07:53
  • by admin