troubleshooting Question

Samba Problem on Ubuntu 12.04 LTS

Avatar of RayRider
RayRider asked on
Web ServersFile Sharing SoftwareLinux
6 Comments1 Solution1570 ViewsLast Modified:
Can anyone help me with Samba not reinstalling properly? The "root problem" is when I decided to uninstall it completely because I was having configuration problems and felt I had lost control of the smb.conf file. I "totally" removed everything with apt-get, plus I deleted all the /etc/samba configuration files thinking that when I reinstalled it with "apt-get", everything would come back like a fresh install. Well, BIG SUPRISE! no configuration was installed. the "/etc/samba" directory stayed empty. I have not figured out how to get the Samba installation back with all its parts like "nmbd" and "winbind" and who knows what else I need. It would not even write log files in "/var/log/samba" until I manually created the log directory.

I finally got Samba to run by copying the config files from another server. The probem is, I don't know enough about "nmbd" and "winbind" to manually configure those, and possible other things missing. I see the binary of nmbd in "/usr/sbin".

I have uninstalled and reinstalled several times. But, it will not set the system up like it did before I installed it the first time. How do I make the system "clean" so the install process will install all the pieces including the configuration and startups in init.d? I cannot find enough details to configure this manually, and how to make the "start", "stop" and "restart" process work either.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros