mirror of
https://github.com/samba-team/samba.git
synced 2025-12-10 04:23:50 +03:00
r26513: Update substitution dictionary for ldifs.
(This used to be commit 60fb2de211)
This commit is contained in:
committed by
Stefan Metzmacher
parent
fe6faa4df2
commit
ca74c6e6c4
@@ -122,6 +122,8 @@ def substitute_var(text, values):
|
||||
for (name, value) in values.items():
|
||||
text = text.replace("${%s}" % name, value)
|
||||
|
||||
assert "${" not in text, text
|
||||
|
||||
return text
|
||||
|
||||
|
||||
@@ -133,3 +135,4 @@ def valid_netbios_name(name):
|
||||
return False
|
||||
return True
|
||||
|
||||
version = misc.version
|
||||
|
||||
Reference in New Issue
Block a user