mirror of
https://github.com/nextcloud/server.git
synced 2026-03-21 01:52:08 -04:00
update to release smb lib
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
017e5a1c97
commit
a64bcb22be
1 changed files with 4 additions and 4 deletions
|
|
@ -94,10 +94,10 @@ class SMB extends Backend {
|
|||
throw new \InvalidArgumentException('invalid authentication backend');
|
||||
}
|
||||
$credentialsStore = $auth->getCredentialsStore();
|
||||
$kerb_auth = new KerberosApacheAuth();
|
||||
if ($kerb_auth->checkTicket()) {
|
||||
$kerb_auth->registerApacheKerberosTicket();
|
||||
$smbAuth = $kerb_auth;
|
||||
$kerbAuth = new KerberosApacheAuth();
|
||||
// check if a kerberos ticket is available, else fallback to session credentials
|
||||
if ($kerbAuth->checkTicket()) {
|
||||
$smbAuth = $kerbAuth;
|
||||
} else {
|
||||
try {
|
||||
$credentials = $credentialsStore->getLoginCredentials();
|
||||
|
|
|
|||
Loading…
Reference in a new issue