summaryrefslogtreecommitdiffstats
path: root/python/samba/upgrade.py
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-01-16 15:07:31 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-01-23 21:56:25 +0100
commit6c6c3fa7ccb1415addd9553c68fc21115b7c23da (patch)
treebbf5a065965dbf4c281e768f602cc587063df0ca /python/samba/upgrade.py
parent7638f521456f1c7e615591dff4c403902cd4ddac (diff)
downloadsamba-6c6c3fa7ccb1415addd9553c68fc21115b7c23da.tar.gz
samba-6c6c3fa7ccb1415addd9553c68fc21115b7c23da.tar.xz
samba-6c6c3fa7ccb1415addd9553c68fc21115b7c23da.zip
samba-tool classicupgrade: Remove unsued reference to samba3sam
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'python/samba/upgrade.py')
-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",