summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-09 17:35:14 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-09 21:39:24 +1000
commitc44bdbc01d53efcccb725600764b981216b1ff10 (patch)
treeaa331c04c801f84338b1eb70d40908a831a3f801 /source4
parent54e86d881d2955bae49bd87fe08e74bbfc86fd0e (diff)
downloadsamba-c44bdbc01d53efcccb725600764b981216b1ff10.tar.gz
samba-c44bdbc01d53efcccb725600764b981216b1ff10.tar.bz2
samba-c44bdbc01d53efcccb725600764b981216b1ff10.zip
s4-provision: fixed error format string
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/provision.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index 92cb6f437e..59787dadc3 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -466,7 +466,7 @@ def guess_names(lp=None, hostname=None, domain=None, dnsdomain=None,
domain = domain.upper()
if lp.get("workgroup").upper() != domain:
- raise ProvisioningError("guess_names: Workgroup '%s' in %s must match chosen domain '%s'! Please remove the %s file and let provision generate it" % (lp.get("workgroup").upper(), domain, lp.configfile))
+ raise ProvisioningError("guess_names: Workgroup '%s' in smb.conf must match chosen domain '%s'! Please remove the %s file and let provision generate it" % (lp.get("workgroup").upper(), domain, lp.configfile))
if domaindn is None:
domaindn = "DC=" + dnsdomain.replace(".", ",DC=")