Remove bogus check for smbpasswd

We don't use smbpasswd when configuring IPA for AD trusts anymore
because we switched to use Kerberos authentication in IPA passdb
backend based on CIFS service keytab.

https://fedorahosted.org/freeipa/ticket/3181
This commit is contained in:
Alexander Bokovoy 2012-10-15 16:01:26 +03:00 committed by Martin Kosek
parent 5c054a77f3
commit 2d7f2928b9

View File

@ -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