diff options
-rw-r--r-- | source4/scripting/python/samba/provision.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py index e800b7ccaa..5825e4726a 100644 --- a/source4/scripting/python/samba/provision.py +++ b/source4/scripting/python/samba/provision.py @@ -39,7 +39,7 @@ import samba import subprocess import shutil -from credentials import Credentials +from credentials import Credentials, DONT_USE_KERBEROS from auth import system_session from samba import version, Ldb, substitute_var, valid_netbios_name, check_all_substituted, \ DS_BEHAVIOR_WIN2008 @@ -1348,6 +1348,8 @@ class ProvisionBackend(object): self.credentials = Credentials() self.credentials.guess(lp) + #Kerberos to an ldapi:// backend makes no sense + self.credentials.set_kerberos_state(DONT_USE_KERBEROS) self.ldap_backend_type = ldap_backend_type if ldap_backend_type == "fedora-ds": |