mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 08:59:57 -06:00
ipaserver/dcerpc: support Samba 4.21
Samba 4.21 moved samba.trust_utils module to samba.lsa_utils. Fixes: https://pagure.io/freeipa/issue/9702 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
1 parent
411b29db8f
commit
aa81bd25f1
1 file changed
+6
-2
+6
-2
@@ -55,9 +55,13 @@ from samba import ntstatus
|
||||
import samba
|
||||
|
||||
try:
|
||||
from samba.trust_utils import CreateTrustedDomainRelax
|
||||
from samba.lsa_utils import CreateTrustedDomainRelax
|
||||
except ImportError:
|
||||
CreateTrustedDomainRelax = None
|
||||
try:
|
||||
from samba.trust_utils import CreateTrustedDomainRelax
|
||||
except ImportError:
|
||||
CreateTrustedDomainRelax = None
|
||||
|
||||
try:
|
||||
from samba import arcfour_encrypt
|
||||
except ImportError:
|
||||
|
||||
Reference in new issue
Block a user