[SSSD] [PATCH] libwbclient: SSSD implementation

Lukas Slebodnik lslebodn at redhat.com
Wed Jul 23 15:42:13 UTC 2014


On (23/07/14 15:51), Sumit Bose wrote:
>On Wed, Jul 23, 2014 at 03:16:03PM +0200, Jakub Hrozek wrote:
>> On Wed, Jul 23, 2014 at 02:02:16PM +0200, Lukas Slebodnik wrote:
>> > I realised that libwbclient will have prefix sssd-. I didn't test it at frst
>> > time, because macro "%files" does not have argument -n.
>> > 
>> > The problem is that it will cause problems with installation sssd.
>> >     sssd will require sssd-libwbclient
>> >     sssd-ad(gpo) -> libsmbclient -> samba-common -> libwbclient
>> > 
>> >     There is conflict which we need to solve.
>> > 
>> > [root at host ~]# dnf install -y sssd-libwbclient
>> > Dependencies resolved.
>> > 
>> > ===============================================================================
>> >  Package      Arch   Version                                    Repository
>> >                                                                            Size
>> > ===============================================================================
>> > Installing:
>> >  sssd-libwbclient
>> >               x86_64 1.12.1-0.20140723.1323.gitcd61aff.mit.fc20 localrepo  14 k
>> > 
>> > Transaction Summary
>> > ===============================================================================
>> > Install  1 Package
>> > 
>> > Total size: 14 k
>> > Installed size: 27 k
>> > Downloading Packages:
>> > Running transaction check
>> > Transaction check succeeded.
>> > Running transaction test
>> > Error: Transaction check error:
>> >   file /usr/lib64/libwbclient.so.0 from install of sssd-libwbclient-1.12.1-0.fc20.x86_64 conflicts with file from package libwbclient-2:4.1.9-3.fc20.x86_64
>> > 
>> > Error Summary
>> > -------------
>> > 
>> > Some more experinced fedora package maintaner should help us wit this.
>> > Jakub? :-)
>> 
>> I admit I haven't read the patches at all yet, so I'm just replying
>> based on this e-mail conversation, but does winbind require that the
>> filename is libwbclient.so? Can't we make the file called something
>> else?
>
>No because the binaries using libwbclient like wbinfo or smbd are linked
>against this name.
>
>There are two items to consider here. First about the dependency chain.
>At least in the Fedora/RHEL samba spec files the samba package version
>is hardcoded in 'Requires: libwbclient = %{samba_depver}' i.e. only the
>samba implementation can fulfil this requirement.
If we fix this strict requires yum swap will help.

[root at host ~]# yum swap -- remove sssd-libwbclient -- install libwbclient
install sssd-libwbclient
Loaded plugins: auto-update-debuginfo, langpacks
Resolving Dependencies

//snip

Dependencies Resolved

================================================================================
 Package            Arch   Version                              Repository
                                                                           Size
================================================================================
Installing:
 sssd-libwbclient   x86_64 1.12.1-0.20140723.1323.gitcd61aff.fc20
                                                                localrepo  14 k
Removing:
 libwbclient        x86_64 2:4.1.9-3.fc20                       installed  58 k
Removing for dependencies:
 freeipa-client     x86_64 3.3.5-1.fc20                         installed 330 k
 libsmbclient       x86_64 2:4.1.9-3.fc20                       installed 158 k
 libsmbclient-devel x86_64 2:4.1.9-3.fc20                       installed 121 k
 python-smbc        x86_64 1.0.13-8.fc20                        @fedora    59 k
 samba-client       x86_64 2:4.1.9-3.fc20                       installed 1.4 M
 samba-common       x86_64 2:4.1.9-3.fc20                       installed 1.7 M
 samba-devel        x86_64 2:4.1.9-3.fc20                       installed 1.4 M
 samba-libs         x86_64 2:4.1.9-3.fc20                       installed  16 M
 sssd               x86_64 1.12.1-0.20140722.1109.git5debc61.fc20
                                                                installed  34 k
 sssd-ad            x86_64 1.12.1-0.20140722.1109.git5debc61.fc20
                                                                installed 414 k
 sssd-common-pac    x86_64 1.12.1-0.20140722.1109.git5debc61.fc20
                                                                installed 135 k
 sssd-ipa           x86_64 1.12.1-0.20140722.1109.git5debc61.fc20
                                                                installed 344 k

Transaction Summary
================================================================================
Install  1 Package
Remove   1 Package (+12 Dependent packages)

Total download size: 14 k
Is this ok [y/d/N]: N


LS



More information about the sssd-devel mailing list