summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/samba/upgrade.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/python/samba/upgrade.py b/python/samba/upgrade.py
index ff5990c667..67dfe88f93 100644
--- a/python/samba/upgrade.py
+++ b/python/samba/upgrade.py
@@ -371,22 +371,6 @@ def import_wins(samba4_winsdb, samba3_winsdb):
"maxVersion": str(version_id)})
-def enable_samba3sam(samdb, ldapurl):
- """Enable Samba 3 LDAP URL database.
-
- :param samdb: SAM Database.
- :param ldapurl: Samba 3 LDAP URL
- """
- samdb.modify_ldif("""
-dn: @MODULES
-changetype: modify
-replace: @LIST
-@LIST: samldb,operational,objectguid,rdn_name,samba3sam
-""")
-
- samdb.add({"dn": "@MAP=samba3sam", "@MAP_URL": ldapurl})
-
-
smbconf_keep = [
"dos charset",
"unix charset",