Problem with smbclient and krb5 in 9.6

Hi all,

I’ve just updated my machine to 9.6. All looks good except that my setup for connecting to Windows file servers using kerberos no longer works properly. Prior to updating I could kinit and then call smbclient like so:

smbclient --use-kerberos=required -N "//server.domain.internal/DFS"

…and all would be fine. After updating the same command fails. I’ve found that instead of reading the KRB5CCACHE from the environment I now have to specify it like so:-

smbclient --use-kerberos=required -N "//server.domain.internal/DFS" --use-krb5-ccache=$KRB5CCACHE

Does smbclient no longer support reading the KRB5CCACHE from the environment? I can’t see a specific change which would have altered this behaviour. I can work around it by specifying the location as above but it also seems to have affected libsmbclient in PHP. I have a few PHP scripts that use that to connect to the same storage and they also now fail. Unfortunately there doesn’t seem to be a way to specify the KRB5CCACHE location in PHP other than setting the environment variable. This was all fine prior to 9.6. Any help or suggestions would be much appreciated.