#3181 ipa-adtrust-install checks for /usr/bin/smbpasswd, which is not required
Closed: Fixed None Opened 9 years ago by mkosek.

https://bugzilla.redhat.com/show_bug.cgi?id=866572 (Red Hat Enterprise Linux 6)

Description of problem:
ipa-adtrust-install cli does check for /usr/bin/smbpasswd file. This file is
not required to be checked for the cli to work.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
[root@rasalghul ~]# rpm -qa | grep samba
samba-winbind-4.0.0-153.fc18.rc2.x86_64 samba-common-4.0.0-153.fc18.rc2.x86_64
samba-libs-4.0.0-153.fc18.rc2.x86_64 samba-4.0.0-153.fc18.rc2.x86_64

[root@rasalghul ~]# yum install freeipa-server-trust-ad Package
freeipa-server-trust-ad-3.0.0-2.fc18.x86_64 already installed and latest
version Nothing to do

[root@rasalghul ~]# ipa-adtrust-install

The log file for this installation can be found in
This program will setup components needed to establish trust to AD domains for
the FreeIPA Server.

This includes:

    Configure Samba
    Add trust related objects to FreeIPA LDAP server

To accept the default shown in brackets, press the Enter key.

<type 'file'> was not found on this system Please install the 'samba' packages
and start the installation again Aborting installation.

[root@rasalghul ~]# ls -l /usr/sbin/smbd /usr/bin/net /usr/bin/smbpasswd ls:
cannot access /usr/bin/smbpasswd: No such file or directory -rwxr-xr-x. 1 root
root 888336 Oct 10 18:54 /usr/bin/net -rwxr-xr-x. 1 root root 62640 Oct 10
18:54 /usr/sbin/smbd

Actual results:

Expected results:
ipa-adtrust-install should not check for /usr/bin/smbpasswd file

Additional info:

Metadata Update from @mkosek:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 3.0.1 (bug fixing)

5 years ago

Login to comment on this ticket.