When working with the 3.2.0rc1 source tarball, and building RPMs for RHEL4 from the packaging/RHEL/ directory, the third hurdle I had to jump was the presence of a number of "Installed (but unpackaged) file(s)": -------------------- error: Installed (but unpackaged) file(s) found: /usr/bin/ldbadd /usr/bin/ldbdel /usr/bin/ldbedit /usr/bin/ldbmodify /usr/bin/ldbsearch -------------------- The following patch/edit to samba.spec remedies this issue: -------------------- --- RHEL/samba.spec.tmpl 2008-05-23 08:53:36.000000000 -0500 +++ RHEL/samba.spec 2008-05-28 03:02:25.000000000 -0500 @@ -371,6 +371,8 @@ %{_bindir}/pdbedit %{_bindir}/eventlogadm +%{_bindir}/ldb* + %{_libdir}/samba/idmap/*.so %{_libdir}/samba/nss_info/*.so %{_libdir}/samba/vfs/*.so -------------------- After this change, (and after the fixing the related libmsrpc.so problem), the RPM packages build successfully.
It turns out that the results of this build were somewhat invalid, as the 3.2.0rc1 RPM build from source did not properly remove/overwrite the symlink created by the 3.2.0pre1 build attempts. Therefore, this 3.2.0 build attempt appears to have tarred & used the 3.2.0pre1 source tree. Please see bug #5507 for a resubmission of this error which is accurate against the 3.2.0rc1 source tree.