summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipaserver/install/adtrustinstance.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/adtrustinstance.py b/ipaserver/install/adtrustinstance.py
index b74f4b685..b3602ddce 100644
--- a/ipaserver/install/adtrustinstance.py
+++ b/ipaserver/install/adtrustinstance.py
@@ -60,9 +60,9 @@ and re-run ipa-adtrust-instal again afterwards.
"""
def check_inst():
- for smbfile in ['/usr/sbin/smbd', '/usr/bin/net', '/usr/bin/smbpasswd']:
+ for smbfile in ['/usr/sbin/smbd', '/usr/bin/net']:
if not os.path.exists(smbfile):
- print "%s was not found on this system" % file
+ print "%s was not found on this system" % smbfile
print "Please install the 'samba' packages and " \
"start the installation again"
return False