mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
fix check ticket for constrained delegation
for the ticket is present in a different format using constrained delegation the isValid() test does not work properly. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
c1ce4fbb2f
commit
c337508282
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ class KerberosApacheAuth extends KerberosAuth implements IAuth {
|
||||||
|
|
||||||
$krb5 = new \KRB5CCache();
|
$krb5 = new \KRB5CCache();
|
||||||
$krb5->open($cacheFile);
|
$krb5->open($cacheFile);
|
||||||
return (bool)$krb5->isValid();
|
return count($krb5->getEntries()) > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function init(): void {
|
private function init(): void {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue