Installing from RPM with Samba4
Hi, First, apologies for what is more a RPM/YUM problem than a FreeRADIUS problem. I've been using the RedHat-supplied RPMs for many years on our RHEL6 servers, but am trying to move toward networkradius-supplied packages, in order to keep up to date with more recent FreeRADIUS releases. We currently have the samba4 packages installed: # rpm -qa | grep samba samba4-winbind-clients-4.2.10-15.el6.x86_64 samba4-libs-4.2.10-15.el6.x86_64 samba4-winbind-4.2.10-15.el6.x86_64 samba4-common-4.2.10-15.el6.x86_64 samba4-4.2.10-15.el6.x86_64 The samba4-libs package provides /usr/lib64/samba/libwbclient.so.0. When I try to install the newer version of FreeRADIUS, it's not happy with this dependency, and tries to install samba-winbind-clients, resulting in a conflict: --> Processing Dependency: libwbclient.so.0()(64bit) for package: freeradius-3.0.17-2.el6.x86_64 ---> Package samba-winbind-clients.x86_64 0:3.6.23-51.el6 will be installed Error: samba4-common conflicts with samba-common-3.6.23-51.el6.x86_64 Looking at the specfile on github, I see this nugget: %{?el7:Requires: libwbclient} %{?el6:Requires: samba4-libs} %{?el6:Requires: samba4-winbind-clients} Since I'm RHEL6, I'm not sure where the libwbclient dependency is coming from. Using repoquery, I can show the requirements of freeradius: # repoquery --requires freeradius | grep libwbclient libwbclient.so.0()(64bit) libwbclient.so.0(WBCLIENT_0.12)(64bit) libwbclient.so.0(WBCLIENT_0.9)(64bit) And what samba4-libs provides: # repoquery --provides samba4-libs | grep libwbclient libwbclient.so.0(SAMBA_4.2.10)(64bit) libwbclient.so.0(WBCLIENT_0.10)(64bit) libwbclient.so.0(WBCLIENT_0.11)(64bit) libwbclient.so.0(WBCLIENT_0.12)(64bit) libwbclient.so.0(WBCLIENT_0.9)(64bit) They're not quite the same, and I'm not sure what the part inside the parentheses actually does. All that said ... any ideas how to install FreeRADIUS alongside samba4? Thanks Norman
On Sep 19, 2018, at 9:30 AM, Norman Elton <normelton@gmail.com> wrote:
First, apologies for what is more a RPM/YUM problem than a FreeRADIUS problem.
I've been using the RedHat-supplied RPMs for many years on our RHEL6 servers, but am trying to move toward networkradius-supplied packages, in order to keep up to date with more recent FreeRADIUS releases.
It would be nice if RH could keep up to date, but for various reasons they won't.
When I try to install the newer version of FreeRADIUS, it's not happy with this dependency, and tries to install samba-winbind-clients, resulting in a conflict:
--> Processing Dependency: libwbclient.so.0()(64bit) for package: freeradius-3.0.17-2.el6.x86_64 ---> Package samba-winbind-clients.x86_64 0:3.6.23-51.el6 will be installed Error: samba4-common conflicts with samba-common-3.6.23-51.el6.x86_64
Which means that there are conflicting versions of the Samba RPMs.
Looking at the specfile on github, I see this nugget:
%{?el7:Requires: libwbclient} %{?el6:Requires: samba4-libs} %{?el6:Requires: samba4-winbind-clients}
Since I'm RHEL6, I'm not sure where the libwbclient dependency is coming from.
I'm not sure...
All that said ... any ideas how to install FreeRADIUS alongside samba4?
At this point, install from source, or build your own RPMs. That should work. Alan DeKok.
All that said ... any ideas how to install FreeRADIUS alongside samba4? At this point, install from source, or build your own RPMs. That should work.
I'm leaning towards making my own RPM. Do you know if the networkradius packages are built with the specfile on github (freeradius-server/redhat/freeradius.spec)? Thanks Norman On Wed, Sep 19, 2018 at 9:50 AM Alan DeKok <aland@deployingradius.com> wrote:
On Sep 19, 2018, at 9:30 AM, Norman Elton <normelton@gmail.com> wrote:
First, apologies for what is more a RPM/YUM problem than a FreeRADIUS problem.
I've been using the RedHat-supplied RPMs for many years on our RHEL6 servers, but am trying to move toward networkradius-supplied packages, in order to keep up to date with more recent FreeRADIUS releases.
It would be nice if RH could keep up to date, but for various reasons they won't.
When I try to install the newer version of FreeRADIUS, it's not happy with this dependency, and tries to install samba-winbind-clients, resulting in a conflict:
--> Processing Dependency: libwbclient.so.0()(64bit) for package: freeradius-3.0.17-2.el6.x86_64 ---> Package samba-winbind-clients.x86_64 0:3.6.23-51.el6 will be installed Error: samba4-common conflicts with samba-common-3.6.23-51.el6.x86_64
Which means that there are conflicting versions of the Samba RPMs.
Looking at the specfile on github, I see this nugget:
%{?el7:Requires: libwbclient} %{?el6:Requires: samba4-libs} %{?el6:Requires: samba4-winbind-clients}
Since I'm RHEL6, I'm not sure where the libwbclient dependency is coming from.
I'm not sure...
All that said ... any ideas how to install FreeRADIUS alongside samba4?
At this point, install from source, or build your own RPMs. That should work.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Sep 19, 2018, at 9:52 AM, Norman Elton <normelton@gmail.com> wrote:
All that said ... any ideas how to install FreeRADIUS alongside samba4? At this point, install from source, or build your own RPMs. That should work.
I'm leaning towards making my own RPM. Do you know if the networkradius packages are built with the specfile on github (freeradius-server/redhat/freeradius.spec)?
They're built with the spec files from the server. Alan DeKok.
I'm leaning towards making my own RPM. Do you know if the networkradius packages are built with the specfile on github (freeradius-server/redhat/freeradius.spec)? They're built with the spec files from the server.
Sorry, do you mean the RedHat-supplied spec file (with, presumably, an updated tarball), or the one at redhat/freeradius.spec. The latter seems to point to 4.0.0, so I'm a bit hesitant to start using that one. Thanks Norman On Wed, Sep 19, 2018 at 9:58 AM Alan DeKok <aland@deployingradius.com> wrote:
On Sep 19, 2018, at 9:52 AM, Norman Elton <normelton@gmail.com> wrote:
All that said ... any ideas how to install FreeRADIUS alongside samba4? At this point, install from source, or build your own RPMs. That should work.
I'm leaning towards making my own RPM. Do you know if the networkradius packages are built with the specfile on github (freeradius-server/redhat/freeradius.spec)?
They're built with the spec files from the server.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Sep 19, 2018, at 10:04 AM, Norman Elton <normelton@gmail.com> wrote:
Sorry, do you mean the RedHat-supplied spec file (with, presumably, an updated tarball), or the one at redhat/freeradius.spec
Are the redhat-supplied spec files distributed with the server?
The latter seems to point to 4.0.0, so I'm a bit hesitant to start using that one.
If you look at the "master" branch, you get the v4 files. If you look at the "v3.0.x" branch, you get the v3.0.x files. Download 3.0.17. Type "make rpm". Please don't make this more difficult than necessary. Alan DeKok.
Just modify spec files and recompile? Eero ke 19. syysk. 2018 klo 16.31 Norman Elton <normelton@gmail.com> kirjoitti:
Hi,
First, apologies for what is more a RPM/YUM problem than a FreeRADIUS problem.
I've been using the RedHat-supplied RPMs for many years on our RHEL6 servers, but am trying to move toward networkradius-supplied packages, in order to keep up to date with more recent FreeRADIUS releases.
We currently have the samba4 packages installed:
# rpm -qa | grep samba samba4-winbind-clients-4.2.10-15.el6.x86_64 samba4-libs-4.2.10-15.el6.x86_64 samba4-winbind-4.2.10-15.el6.x86_64 samba4-common-4.2.10-15.el6.x86_64 samba4-4.2.10-15.el6.x86_64
The samba4-libs package provides /usr/lib64/samba/libwbclient.so.0.
When I try to install the newer version of FreeRADIUS, it's not happy with this dependency, and tries to install samba-winbind-clients, resulting in a conflict:
--> Processing Dependency: libwbclient.so.0()(64bit) for package: freeradius-3.0.17-2.el6.x86_64 ---> Package samba-winbind-clients.x86_64 0:3.6.23-51.el6 will be installed Error: samba4-common conflicts with samba-common-3.6.23-51.el6.x86_64
Looking at the specfile on github, I see this nugget:
%{?el7:Requires: libwbclient} %{?el6:Requires: samba4-libs} %{?el6:Requires: samba4-winbind-clients}
Since I'm RHEL6, I'm not sure where the libwbclient dependency is coming from.
Using repoquery, I can show the requirements of freeradius:
# repoquery --requires freeradius | grep libwbclient libwbclient.so.0()(64bit) libwbclient.so.0(WBCLIENT_0.12)(64bit) libwbclient.so.0(WBCLIENT_0.9)(64bit)
And what samba4-libs provides:
# repoquery --provides samba4-libs | grep libwbclient libwbclient.so.0(SAMBA_4.2.10)(64bit) libwbclient.so.0(WBCLIENT_0.10)(64bit) libwbclient.so.0(WBCLIENT_0.11)(64bit) libwbclient.so.0(WBCLIENT_0.12)(64bit) libwbclient.so.0(WBCLIENT_0.9)(64bit)
They're not quite the same, and I'm not sure what the part inside the parentheses actually does.
All that said ... any ideas how to install FreeRADIUS alongside samba4?
Thanks
Norman - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
yumdownloader --source packagename? Eero ke 19. syysk. 2018 klo 17.26 Norman Elton <normelton@gmail.com> kirjoitti:
Just modify spec files and recompile?
That's the plan, I'm just having a little trouble finding the correct specfile.
Norman - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
Alan DeKok -
Eero Volotinen -
Norman Elton