mirror of
https://github.com/samba-team/samba.git
synced 2025-07-15 16:59:09 +03:00
r26369: Start on tests for the upgrade python code.
(This used to be commit c4458d11c7
)
This commit is contained in:
committed by
Stefan Metzmacher
parent
c926cddfad
commit
b414ac5052
@ -15,6 +15,7 @@ from uuid import uuid4
|
||||
from param import default_configuration
|
||||
|
||||
def regkey_to_dn(name):
|
||||
"""Convert a registry key to a DN."""
|
||||
dn = "hive=NONE"
|
||||
|
||||
for el in name.split("/")[1:]:
|
||||
@ -191,6 +192,7 @@ unixID: %d""" % (m.sid, domaindn, m.sid, m.type, m.unix_id)
|
||||
return ldif
|
||||
|
||||
def upgrade_wins(samba3):
|
||||
"""Upgrade the WINS database."""
|
||||
ldif = ""
|
||||
version_id = 0
|
||||
|
||||
|
Reference in New Issue
Block a user