Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well you need the samba source archive of course. Once you got it (try getting the samba.latest.tar.gz from the Samba site) copy it to your home folder and do
tar zxvf samba.latest.tar.gz
or, if you have a .bz:
bunzip2 samba.latest.tar.gz
tar xvf samba.latest.tar
Then, change into the samba/src directory and do
./configure --with-smbmount
make
su
(password here)
make install
exit
Assuming your config files are still there and in order (usually /etc/samba/smb.conf)
your should now be able to do
/usr/sbin/smbd -D
/usr/sbin/nmbd -D
and have Samba back.
If you have any trouble ask - I just reinstalled / recompiled samba myself today.
Rylan76, I have a question. I can't seem to get the ./configre command to work. It keeps telling me that the command doesn't exist. I downloaded the latest version of Samba. It extracted and everything. Then I ran into that problem. What am I doing wrong? I forgot to tell you I'm using redhat 9.
I presume it was a typo when you entered "configre".
In fact, it is "configure" and you need to be in the root directory of the samba source when you run it.
When you prefix a command with the ./, you are saying specifically: "execute the command with this name that is LOCATED IN THIS DIRECTORY, do not follow the path to find a copy someplace else.
The specific configure command for samba is provided with the samba source and you must execute it from the root of the samba source directory.
When you say samba source directory, is that the directory that's located etc/samba or is it some where else? where would samba/src locate? I think that's where I'm confused.
Okay! I finally installed the latest version of Samba. I still have a problem. Everytime I try to go to Network Services to make adjustments for the server. I keep getting this error message:
Can't Display Location
Counldn't display "smb:///", because Nautilus cannot contact the SMB master browser.
Check that an SMB server is running in the local network.
What does that mean? When I checked, it showed that the smb is running. What am I doing wrong?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.