no package samba-winbind-krb5-locator available

Latest response

I am attempting to add AD authentication to my server and am following the instructions from the Red Hat Enterprise Linux 7.4 Windows integration guide. In section 4.3.2 step 3 says to install package samba-winbind-krb5-locator using yum. Yum responds with the error "no package samba-winbind-krb5-locator available". What repository needs to be enabled to find this package.

Thanks,

Dave

Responses

Hi David,

The samba-winbind-krb5-locator package is a part of the Optional channel (see it on the Customer Portal at samba-winbind-krb5-locator). To enable it, run:

# subscription-manager repos --enable rhel-7-server-optional-rpms

(See Enabling Supplementary and Optional Repositories.)

Hi David,

Thanks for pointing out the problem with the guide. I notified the guide's maintainers, and they filed a bug to fix it: https://bugzilla.redhat.com/show_bug.cgi?id=1497601.

I enabled the rhel-7-server-rhui-optional-rpms server (the rhel-7-server-optional-rpms is unavailable to me for some reason. I get the following message attempting to add the samba-winbind-krb5-locator package.

yum install samba-winbind-krb5-locator
Loaded plugins: product-id, search-disabled-repos, subscription-manager
local-rhui3                                                                                                                                                                                                 | 3.8 kB  00:00:00
https://cdn.redhat.com/content/dist/rhel/rhui/server/7/7Server/x86_64/optional/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: cdn.redhat.com; Unknown error"
Trying other mirror.


 One of the configured repositories failed (Red Hat Enterprise Linux 7 Server - Optional from RHUI (RPMs)),
 and yum doesn't have enough cached data to continue. At this point the only
 safe thing yum can do is fail. There are a few ways to work "fix" this:

     1. Contact the upstream for the repository and get them to fix the problem.

     2. Reconfigure the baseurl/etc. for the repository, to point to a working
        upstream. This is most often useful if you are using a newer
        distribution release than is supported by the repository (and the
        packages for the previous distribution release still work).

     3. Run the command with the repository temporarily disabled
            yum --disablerepo=rhel-7-server-rhui-optional-rpms ...

     4. Disable the repository permanently, so yum won't use it by default. Yum
        will then just ignore the repository until you permanently enable it
        again or use --enablerepo for temporary usage:

            yum-config-manager --disable rhel-7-server-rhui-optional-rpms
        or
            subscription-manager repos --disable=rhel-7-server-rhui-optional-rpms

     5. Configure the failing repository to be skipped, if it is unavailable.
        Note that yum will try to contact the repo. when it runs most commands,
        so will have to try and fail each time (and thus. yum will be be much
        slower). If it is a very temporary problem though, this is often a nice
        compromise:

            yum-config-manager --save --setopt=rhel-7-server-rhui-optional-rpms.skip_if_unavailable=true

failure: repodata/repomd.xml from rhel-7-server-rhui-optional-rpms: [Errno 256] No more mirrors to try.
https://cdn.redhat.com/content/dist/rhel/rhui/server/7/7Server/x86_64/optional/os/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: cdn.redhat.com; Unknown error"

I should mention that the server I am attempting to add is a RUA server.

This looks like a DNS resolution error, which is weird. RHUI is 'Red Hat Update Infrastructure', which is used to manage repo content for cloud instances. Not sure if this could be the culprit, but could you please make sure that your system is properly subscribed and registered as outlined in chapters 4.2-4.6 of the RHUI System Administrator's Guide?

My resolv.conf got corrupted. Fixed that and am able to add the repository and install the package.

Thank you

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.