1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-29 15:42:04 +03:00

Move tests for ParamFile.

This commit is contained in:
Jelmer Vernooij
2008-12-21 16:39:17 +01:00
parent f06b083ff3
commit a32194033a
5 changed files with 38 additions and 24 deletions

View File

@ -261,7 +261,7 @@ def provision_paths_from_lp(lp, dnsdomain):
paths.netlogon = lp.get("path", "netlogon")
paths.smbconf = lp.configfile()
paths.smbconf = lp.configfile
return paths
@ -291,7 +291,7 @@ def guess_names(lp=None, hostname=None, domain=None, dnsdomain=None, serverrole=
if lp.get("realm").upper() != realm:
raise Exception("realm '%s' in %s must match chosen realm '%s'" %
(lp.get("realm"), lp.configfile(), realm))
(lp.get("realm"), lp.configfile, realm))
dnsdomain = dnsdomain.lower()