А он оказался кривее чем я думал.
В общем вот патч:*** samba.spec.old 2010-03-01 14:16:10.000000000 +0300
--- samba.spec 2010-03-05 15:10:36.000000000 +0300
***************
*** 28,34 ****
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-%{version}-root
! BuildRequires: pam-devel, readline-devel, fileutils, libacl-devel, openldap-devel, krb5-devel, cups-devel, keyutils-devel
# Working around perl dependency problem from docs
%define __perl_requires %{SOURCE998}
--- 28,34 ----
Prefix: /usr
BuildRoot: %{_tmppath}/%{name}-%{version}-root
! BuildRequires: pam-devel, readline-devel, fileutils, libacl-devel, openldap-devel, krb5-devel, cups-devel, keyutils-libs-devel
# Working around perl dependency problem from docs
%define __perl_requires %{SOURCE998}
***************
*** 159,165 ****
--with-shared-modules=idmap_rid,idmap_ad,idmap_hash,idmap_adex \
--with-syslog \
--with-utmp \
! --with-dnsupdate
make showlayout
--- 159,166 ----
--with-shared-modules=idmap_rid,idmap_ad,idmap_hash,idmap_adex \
--with-syslog \
--with-utmp \
! --with-dnsupdate \
! --with-cifsumount
make showlayout
***************
*** 359,365 ****
%{_mandir}/man1/wbinfo.1*
%{_mandir}/man8/vfs_*.8*
%{_mandir}/man8/idmap_*.8*
!
##########
--- 360,366 ----
%{_mandir}/man1/wbinfo.1*
%{_mandir}/man8/vfs_*.8*
%{_mandir}/man8/idmap_*.8*
! %{_mandir}/man5/pam_winbind.conf.5.*
##########
***************
*** 457,463 ****
--- 458,466 ----
/usr/share/locale/sv/LC_MESSAGES/pam_winbind.mo
/usr/share/locale/zh_CN/LC_MESSAGES/pam_winbind.mo
/usr/share/locale/zh_TW/LC_MESSAGES/pam_winbind.mo
+ /usr/share/locale/de/LC_MESSAGES/net.mo
+ %{_includedir}/wbc_async.h
%{_includedir}/libsmbclient.h
%{_libarchdir}/libsmbclient.*
%{_includedir}/smb_share_modes.h