1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

s4:provision Make sure that we don't use Kerberos to our LDAP backend

This makes no sense, and just causes trouble - we are aiming for
DIGEST-MD5 or NTLM.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2009-08-14 14:51:44 +10:00
parent 84ee0af244
commit 2af06385ed

View File

@ -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":