Open MBPotier opened 2 years ago
Do you have the krb5
php module installed?
I did not before, but installed it with the following commands.
# apt -y install libkrb5-dev
# pecl install krb5
# echo 'extension=krb5.so' >> /etc/php/7.4/fpm/php.ini
# systemctl restart php7.4-fpm
Unfortunately, I am still getting the same errors in the log file. I have also spun up another testing VM (Ubuntu 22.04) to see if running the latest Nextcloud version on php8.1-fpm made a difference, but it didn't.
Hello,
I am having issues with kerberos ticket apache mode authentication for SMB external storage in Nextcloud when using libsmbclient-php instead of the standard system smbclient. Kerberos ticket apache mode auth is working for mounting external SMB storage when using the system smbclient, but does not when I switch to libsmbclient-php. Both the system smbclient and libsmbclient-php work with NTLMv2 via the log-in credentials external storage authentication mode in Nextcloud. The web server configuration is Apache with a php7.4-fpm backend hosted on Ubuntu 20.04.
Here is how the share is configured in Nextcloud:
How I installed libsmbclient-php:
The relevant section nextcloud.log file:
Please let me know if you need any more information or need me to test anything. Thanks