LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   FC5 and Smbmount (https://www.linuxquestions.org/questions/fedora-35/fc5-and-smbmount-582423/)

sleepykit 09-05-2007 12:40 PM

FC5 and Smbmount
 
The FAQs I've seen all point to using CIFS, but does anyone happen to know if a way exists to actually add smbmount and smbfs to fc5 in a way that would let someone smbmount a share?

Lenard 09-06-2007 05:07 AM

Yep build the binary rpm packages from the samba.org source: http://samba.org

One needs to use the redhat/fedora spec file and copy some files after extracting/installing the src.rpm file.

This stuff gets used, you have to unpack the samba-3.0.25c.tar.bz2 to have access to them;

The files in the /SOURCES/samba-3.0.25c/packaging/RHEL/setup files replaces the setup.tar.bz2 in the /SOURCE directory. One has to create the file tar.bz2 file from this dirctory, hint: right-click on the directory

The file in the SOURCES/samba-3.0.25c/packaging/RHEL/samba.spec directory replaces the /SPECS/samba.spec file.

When done type from the /SPECS directory location: rpmbuild -ba samba.spec
The rpm-build package needs to be installed for this to work. Depending on how you build the rpm packages (as root or otherwise) the /SPECS and /SOURCES locations could be;

(as root) /usr/src/redhat
(as non-root) /home/<username here>/rpmbuild

One also needs to rebuild the kernel and add back the missing smbfs support.

Good luck.

sleepykit 09-06-2007 08:17 PM

Luck
 
I'm gonna need all the luck I can get to do that, but thanks for the info. It should help.

Edit: Apparently this method has a drawback in that, Yellow Dog Linux is not really Fedora Core. It sorta kinda is (whatever that means), but it's also its own beast.

Lenard 09-07-2007 04:53 AM

The same thing stll applies, add back the kernel support for smbfs and build the binary packages from samba.org.


All times are GMT -5. The time now is 04:13 PM.