On (09/09/16 18:35), Joakim Tjernlund wrote:
>On Fri, 2016-09-09 at 19:40 +0200, Lukas Slebodnik wrote:
>> On (09/09/16 16:25), Sumit Bose wrote:
>> > 
>> > On Fri, Sep 09, 2016 at 02:00:53PM +0000, Joakim Tjernlund wrote:
>> > > 
>> > > On Fri, 2016-09-09 at 14:48 +0200, Sumit Bose wrote:
>> > > > 
>> > > > On Fri, Sep 09, 2016 at 11:46:27AM +0000, Joakim Tjernlund wrote:
>> > > > > 
>> > > > > 
>> > > > > Trying to bring up samba with sssd-13.4 and for some reason samba 
>> > > > > fails
>> > > > > to lookup users: From smb.log I have:
>> > > > > 
>> > > > > 
>> > > > > 
>> > > > > 
>> > > > > On older systems I have samba 3.6.25 and sssd 1.12.5 and there samba 
>> > > > > works fine.
>> > > > > Is there som change I have missed when upgrading to newer samba sssd?
>> > > > 
>> > > > Are you using SSSD's version of libwbclient to help samba to map SID to
>> > > 
>> > > hmm, I got both (/usr/lib64/libwbclient.so.0 and 
>> > > /usr/lib64/sssd/modules/libwbclient.so)
>> > > and  wbinfo -n 'TRAN_01\jocke' reports:
>> > > wbinfo -n 'TRAN_01\jocke'
>> > > could not obtain winbind interface details: WBC_ERR_WINBIND_NOT_AVAILABLE
>> > > could not obtain winbind separator!
>> > > failed to call wbcLookupName: WBC_ERR_WINBIND_NOT_AVAILABLE
>> > > Could not lookup name TRAN_01\jocke
>> > > 
>> > > I guess the problem is that samba uses its own libwbclient.so and 
>> > > winbind 
>> > > is not configured?
>> > 
>> > iirc you are using gentoo. In Fedora/RHEL is is possible to switch
>> > those two libraries with the alternatives command.
>> > 
>> > To make at least wbinfo try to use SSSD's version you can try calling it
>> > as:
>> > 
>> >    LD_LIBRARY_PATH=/usr/lib64/sssd/modules wbinfo -n 'TRAN_01\jocke'
>> > 
>> > as long as wbinfo is not complied with rpath or similar it should pick
>> > /usr/lib64/sssd/modules/libwbclient.so.0 instead of
>> > /usr/lib64/libwbclient.so.0. If there is no
>> > /usr/lib64/sssd/modules/libwbclient.so.0 you should add it as a softlink
>> > to /usr/lib64/sssd/modules/libwbclient.so. I would also expect that
>> > there are link with ends with a version number like 11 or 12.
>> > 
>> and samba 4.5 has libwbclient.so.0.13
>> 
>> [root@host ~]# rpm -qf /usr/lib64/samba/wbclient/libwbclient.so.0.13
>> libwbclient-4.5.0-0.0.rc1.fc26.x86_64
>and lives in its own package. Is this new from samba >= 4.5 ?
>
Yes,
I cannot see it in official announcement (2 days old :-)
https://lists.samba.org/archive/samba-technical/2016-September/116033.html
but samba 4.4.5 has just a libwbclient.so.0.12

But if you asked about packaging then
the libwbclient (from samba) and sssd-libwbclient are separate packages
on fedora since I remember :-)

LS
_______________________________________________
sssd-users mailing list
sssd-users@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/sssd-users@lists.fedorahosted.org

Reply via email to