summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2014-07-15 18:13:24 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-08-21 18:00:38 +0200
commit885386b7e3f1c3e74b354576b98a092b0835d64e (patch)
treede4503a58bde0002e994f90ad03698bd75ba3788 /contrib
parent24c3188e29df52d6df7070007e1c65d152b57fe9 (diff)
downloadsssd-885386b7e3f1c3e74b354576b98a092b0835d64e.tar.gz
sssd-885386b7e3f1c3e74b354576b98a092b0835d64e.tar.xz
sssd-885386b7e3f1c3e74b354576b98a092b0835d64e.zip
libwbclient: SSSD implementation
This patch implements the libwbclient API for Samba daemons and utilities. The main purpose is to map Active Directory users and groups identified by their SID to POSIX users and groups identified by their POSIX UIDs and GIDs respectively. The API is not fully implemented because SSSD does not support some AD features like WINS or NTLM. Additionally this implementation has its focus on the file-server use case and hence does not implement some features which might be needed for a domain controller use case. Some API calls are generic and independent of the backend like e.g. converting binary SIDs and GUIDs into a string representation and back or memory allocation and deallocation. These parts are taken from the original Samba sources together with copyright and authors. Files with'_sssd' as part of the name contain the SSSD related calls. Resolves: https://fedorahosted.org/sssd/ticket/1588 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 1429c263d..770a0c7d6 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -427,6 +427,22 @@ Requires: libsss_simpleifp = %{version}-%{release}
%description -n libsss_simpleifp-devel
Provides library that simplifies D-Bus API for the SSSD InfoPipe responder.
+%package libwbclient
+Summary: The SSSD libwbclient implementation
+Group: Applications/System
+License: GPLv3+ and LGPLv3+
+
+%description libwbclient
+The SSSD libwbclient implementation.
+
+%package libwbclient-devel
+Summary: Development libraries for the SSSD libwbclient implementation
+Group: Development/Libraries
+License: GPLv3+ and LGPLv3+
+
+%description libwbclient-devel
+Development libraries for the SSSD libwbclient implementation.
+
%prep
%setup -q -n %{name}-%{version}
@@ -821,6 +837,16 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%{python_sitearch}/pyhbac.so
+%files libwbclient
+%defattr(-,root,root,-)
+%{_libdir}/libwbclient.so.*
+
+%files libwbclient-devel
+%defattr(-,root,root,-)
+%{_includedir}/wbclient.h
+%{_libdir}/libwbclient.so
+%{_libdir}/pkgconfig/wbclient.pc
+
%if (0%{?use_systemd} == 1)
# systemd
%post common