[Freeipa-devel] [PATCH] 1 Add ipa-adtrust-install utility
Simo Sorce
simo at redhat.com
Fri Aug 26 12:14:33 UTC 2011
On Fri, 2011-08-26 at 11:39 +0200, Sumit Bose wrote:
>
> +def check_inst(unattended):
> + has_smb = True
> +
> + if not os.path.exists('/usr/sbin/smbd'):
> + print "Samba was not found on this system"
> + print "Please install the 'samba' package and start the
> installation again"
> + has_smb = False
> +
> + #TODO: Add check for needed samba4 libraries
> +
> + return has_smb
> +
We should probably run smbd -b and parse the output to see if it has all
the options we need, perhaps check the version number too.
Simo.
--
Simo Sorce * Red Hat, Inc * New York
More information about the Freeipa-devel
mailing list