mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s4-classicupgrade: Also ask testparm for 'smb passwd file'
This commit is contained in:
@ -907,9 +907,11 @@ class cmd_domain_classicupgrade(Command):
|
|||||||
paths["state directory"] = dbdir
|
paths["state directory"] = dbdir
|
||||||
paths["private dir"] = dbdir
|
paths["private dir"] = dbdir
|
||||||
paths["lock directory"] = dbdir
|
paths["lock directory"] = dbdir
|
||||||
|
paths["smb passwd file"] = dbdir + "/smbpasswd"
|
||||||
else:
|
else:
|
||||||
paths["state directory"] = get_testparm_var(testparm, smbconf, "state directory")
|
paths["state directory"] = get_testparm_var(testparm, smbconf, "state directory")
|
||||||
paths["private dir"] = get_testparm_var(testparm, smbconf, "private dir")
|
paths["private dir"] = get_testparm_var(testparm, smbconf, "private dir")
|
||||||
|
paths["smb passwd file"] = get_testparm_var(testparm, smbconf, "smb passwd file")
|
||||||
paths["lock directory"] = get_testparm_var(testparm, smbconf, "lock directory")
|
paths["lock directory"] = get_testparm_var(testparm, smbconf, "lock directory")
|
||||||
# "testparm" from Samba 3 < 3.4.x is not aware of the parameter
|
# "testparm" from Samba 3 < 3.4.x is not aware of the parameter
|
||||||
# "state directory", instead make use of "lock directory"
|
# "state directory", instead make use of "lock directory"
|
||||||
|
Reference in New Issue
Block a user