LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2007, 02:36 AM   #16
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670

Quote:
Originally Posted by tommytomthms5 View Post
can it be restarted without rebooting the computer? rebooting takes me like 10 minutes (literally)
Before restarting the service, test your changes with "testparm". It will catch mistakes. I only showed the public share I had set up and not the rest of my smb.conf file.

You need to restart the smbd service but you don't need to reboot to do it. If you use swat, you can do it from the web interface.

For SuSE you would use "sudo /usr/sbin/rcsmb restart" and maybe "sudo /usr/sbin/rcsmbfs restart". For some others you would use "service samba restart" or directly like "sudo /etc/init.d/smbd restart". You may want to restart the nmbd service & the winbind service as well if they are running. It only takes a few seconds.

Sorry, maybe I should be calling them daemons. Plus smbd is technically a server and not a service.

Many of the distros also supply three samba 3 books with either the main samba package or a samba-doc package. Also, you might look into using samba swat. It is a web based interface you can use to set up shares. You could always set up additional shares, trying different options and experiment. It will go a lot easier with experience.

Last edited by jschiwal; 09-09-2007 at 04:38 AM.
 
Old 09-09-2007, 06:00 AM   #17
jimmy512
Member
 
Registered: Oct 2006
Location: London
Distribution: Arch
Posts: 183

Rep: Reputation: 31
Quote:
having to reboot after every change
Sorry I couldnt post back before you had to restart, but running:

Code:
/etc/init.d/samba restart
should restart the service.

Yeah, what ^^ said.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba password protected shared Folder Mrpeepers310 Linux - Networking 5 09-18-2010 11:04 AM
hide SAMBA shared folder in other user sasi.rrkay Linux - Software 0 06-26-2007 07:05 AM
I can see SAMBA shared folder in XP but can't access it vishivishi Linux - Networking 6 08-30-2006 02:13 AM
how do i connect to a windows shared folder using samba? winstone5000 Linux - Networking 1 12-19-2005 11:38 AM
Samba problems: can't write to shared folder Nylex Linux - Networking 4 07-19-2005 05:40 PM


All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration