I have Nextcloud 18 via Univention Appliance deployed and my SSO provider is Duo Mobile.
The Duo Access Gateway is configured to send SAML 2.0 Kerberos. The login with SAML works. The only thing that is not working is the external storage SMB authentication via Kerberos.
All the other authentication options for external storage work.
Where can I find detailed instructions How to debug Kerberos?
I saw the Univention Kerberos Debug option, but where is the logfile?
I was able to access our Windows SMB Shares witout a password only with the kerberos ticket on the console with the following command: smbclient //server.domain.com/share -U myUser -k
Also the: klist command shows the kerberos tickets are available on the server.
The error in the Weblog reads:
0. /var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php line 66
Icewind\SMB\Exception\Exception::fromMap({1: "Icewind\SM … "}, 1, “/”)
/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php line 78
Icewind\SMB\Native\NativeState->handleError("/")
/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeState.php line 294
Icewind\SMB\Native\NativeState->testResult("*** sensitive parameter replaced ***", “smb://server/share/”)
/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php line 306
Icewind\SMB\Native\NativeState->getxattr(“smb://server/share/”, “system.dos_attr.*”)
/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php line 69
Icewind\SMB\Native\NativeShare->getAttribute("/", “system.dos_attr.*”)
/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php line 88
Icewind\SMB\Native\NativeFileInfo->stat()
/var/www/html/apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php line 113
Icewind\SMB\Native\NativeFileInfo->getSize()
/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php line 179
Icewind\SMB\Native\NativeShare->stat("/")
/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php line 297
OCA\Files_External\Lib\Storage\SMB->getFileInfo("/")
/var/www/html/lib/private/Files/Storage/Common.php line 456
OCA\Files_External\Lib\Storage\SMB->stat("")
/var/www/html/apps/files_external/lib/Lib/Storage/SMB.php line 613
OC\Files\Storage\Common->test()