실행할 때 :
sudo mount -t nfs4 -o sec=krb5 sol.domain.com:/ /mnt
클라이언트 에서이 오류가 발생합니다.
mount.nfs4: access denied by server while mounting sol.domain.com:/
그리고 서버 syslogs에서 읽었습니다.
UNKNOWN_SERVER: authtime 0, nfs/mercury.domain.com@SOL.DOMAIN.COM for nfs/ip-#-#-#-#.ec2.internal@SOL.DOMAIN.COM, Server not found in Kerberos database
UNKNOWN_SERVER: authtime 0, nfs/mercury.domain.com@SOL.DOMAIN.COM for krbtgt/EC2.INTERNAL@SOL.DOMAIN.COM, Server not found in Kerberos database
UNKNOWN_SERVER: authtime 0, nfs/mercury.domain.com@SOL.DOMAIN.COM for krbtgt/INTERNAL@SOL.DOMAIN.COM, Server not found in Kerberos database
UNKNOWN_SERVER: authtime 0, nfs/mercury.domain.com@SOL.DOMAIN.COM for krbtgt/COM@SOL.DOMAIN.COM, Server not found in Kerberos database
UNKNOWN_SERVER: authtime 0, nfs/mercury.domain.com@SOL.DOMAIN.COM for krbtgt/DOMAIN.COM@SOL.DOMAIN.COM, Server not found in Kerberos database
UNKNOWN_SERVER: authtime 0, nfs/mercury.domain.com@SOL.DOMAIN.COM for nfs/ip-#-#-#-#.ec2.internal@SOL.DOMAIN.COM, Server not found in Kerberos database
UNKNOWN_SERVER: authtime 0, nfs/mercury.domain.com@SOL.DOMAIN.COM for krbtgt/EC2.INTERNAL@SOL.DOMAIN.COM, Server not found in Kerberos database
UNKNOWN_SERVER: authtime 0, nfs/mercury.domain.com@SOL.DOMAIN.COM for krbtgt/INTERNAL@SOL.DOMAIN.COM, Server not found in Kerberos database
UNKNOWN_SERVER: authtime 0, nfs/mercury.domain.com@SOL.DOMAIN.COM for krbtgt/COM@SOL.DOMAIN.COM, Server not found in Kerberos database
UNKNOWN_SERVER: authtime 0, nfs/mercury.domain.com@SOL.DOMAIN.COM for krbtgt/DOMAIN.COM@SOL.DOMAIN.COM, Server not found in Kerberos database
서버 키탭 파일 :
ubuntu@sol:~$ sudo klist -e -k /etc/krb5.keytab
Keytab name: WRFILE:/etc/krb5.keytab
KVNO Principal
---- --------------------------------------------------------------------------
7 host/sol.domain.com@SOL.DOMAIN.COM (aes256-cts-hmac-sha1-96)
7 host/sol.domain.com@SOL.DOMAIN.COM (arcfour-hmac)
7 host/sol.domain.com@SOL.DOMAIN.COM (des3-cbc-sha1)
7 host/sol.domain.com@SOL.DOMAIN.COM (des-cbc-crc)
9 nfs/sol.domain.com@SOL.DOMAIN.COM (aes256-cts-hmac-sha1-96)
9 nfs/sol.domain.com@SOL.DOMAIN.COM (arcfour-hmac)
9 nfs/sol.domain.com@SOL.DOMAIN.COM (des3-cbc-sha1)
9 nfs/sol.domain.com@SOL.DOMAIN.COM (des-cbc-crc)
클라이언트 키탭 파일 :
ubuntu@mercury:~$ sudo klist -e -k /etc/krb5.keytab
Keytab name: WRFILE:/etc/krb5.keytab
KVNO Principal
---- --------------------------------------------------------------------------
3 host/mercury.domain.com@SOL.DOMAIN.COM (aes256-cts-hmac-sha1-96)
3 host/mercury.domain.com@SOL.DOMAIN.COM (arcfour-hmac)
3 host/mercury.domain.com@SOL.DOMAIN.COM (des3-cbc-sha1)
3 host/mercury.domain.com@SOL.DOMAIN.COM (des-cbc-crc)
3 nfs/mercury.domain.com@SOL.DOMAIN.COM (aes256-cts-hmac-sha1-96)
3 nfs/mercury.domain.com@SOL.DOMAIN.COM (arcfour-hmac)
3 nfs/mercury.domain.com@SOL.DOMAIN.COM (des3-cbc-sha1)
3 nfs/mercury.domain.com@SOL.DOMAIN.COM (des-cbc-crc)
서버와 클라이언트에서 /etc/krb5.conf 및 /var/kerberos/krb5kdc/kdc.conf 파일을 공유하십시오.
—
cikuraku
@cikuraku 나는
—
Kendall Hopkins
allow_weak_crypto = true
끝에 추가하는 것을 제외하고 기본 우분투를 사용하고 있습니다 .
mercury.domain.com의 IP 주소가 올바른 호스트 이름으로 바뀌 었습니까? mercury.domain.com에 인터페이스에 둘 이상의 주소가 구성되어 있습니까?
—
larsks
또한 ... 이 서버에서 공유를 성공적으로 마운트 하는 클라이언트가 있습니까? 아니면 이것이 유일한 고객입니까?
—
larsks
연결된 클라이언트가 없습니다.
—
Kendall Hopkins