mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
samba-tool classicupgrade: Remove unsued reference to samba3sam
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
This commit is contained in:
parent
7638f52145
commit
6c6c3fa7cc
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user