--with-swatdir=%{_datadir}/swat \
--with-libsmbclient \
--with-acl-support \
+ --with-shared-modules=idmap_rid \
--enable-cups=yes
make showlayout
make proto
-make %{?_smp_mflags} all nsswitch/libnss_wins.so debug2html
+make %{?_smp_mflags} all modules nsswitch/libnss_wins.so debug2html
%install
%{_libdir}/libsmbclient.a
%{_libdir}/libsmbclient.so
%{_libdir}/samba/charset/CP*.so
+%{_libdir}/samba/idmap/idmap*.so
%{_includedir}/libsmbclient.h
%{_bindir}/testparm
%{_bindir}/testprns
--with-utmp \
--with-sambabook=%{prefix}/share/swat/using_samba \
--with-swatdir=%{prefix}/share/swat \
+ --with-shared-modules=idmap_rid \
--with-libsmbclient
make -j${NUMCPU} proto
-make -j${NUMCPU} all nsswitch/libnss_wins.so
+make -j${NUMCPU} all modules nsswitch/libnss_wins.so
make -j${NUMCPU} debug2html
# Remove some permission bits to avoid to many dependencies
%attr(755,root,root) /lib/libnss_wins.s*
%attr(755,root,root) %{prefix}/lib/samba/vfs/*.so
%attr(755,root,root) %{prefix}/lib/samba/charset/*.so
+%attr(755,root,root) %{prefix}/lib/samba/idmap/*.so
#%attr(755,root,root) %{prefix}/lib/samba/pdb/*.so
%attr(755,root,root) %{prefix}/lib/samba/*.dat
%attr(755,root,root) %{prefix}/lib/samba/*.msg