LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-25-2006, 05:25 PM   #1
Jose Rivas
Member
 
Registered: Jul 2006
Posts: 56

Rep: Reputation: 15
Samba restart when add new user?


When add a user to samba and enable into the sharing, the connections are stopped?. I ask this issue because before doing it the smbstatus look several files opened by usb users. Inmediatly after add the smb user and up into a sharing, the smbstatus look clear. Loose connections?
 
Old 10-25-2006, 08:31 PM   #2
reeseslover531
Member
 
Registered: Nov 2005
Distribution: Fedora Core 5
Posts: 64

Rep: Reputation: 15
if you are using the gui samba configuration, I am pretty sure when you change anything and press the apply button, it restarts samba.
 
Old 10-25-2006, 09:33 PM   #3
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 127

Rep: Reputation: 16
On FC5, you can ensure a restart of Samba after a configuration change by executing /etc/rc.d/init.d smb restart in a terminal session. This reference has helped me: http://www.reallylinux.com/docs/sambaserver.shtml

Good luck.
 
Old 10-26-2006, 06:58 PM   #4
Jose Rivas
Member
 
Registered: Jul 2006
Posts: 56

Original Poster
Rep: Reputation: 15
My Linux is FC4 64-bit on a HP dx5150 machine, running Samba. Loading Gnome GUI and the Samba sharing config utility, when enable or disable a user to a sharing, samba restart and the open files by smbusers in this moment are closed. How do it using commands without restart samba?
 
Old 10-27-2006, 03:21 AM   #5
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 127

Rep: Reputation: 16
I don't think you can. If you change your Samba setup, you have to restart Samba (or reboot your server). Configuration changes are saved in files which are only read when Samba starts up - this is why you have to restart Samba after changes.

HTH
Jon
 
Old 10-27-2006, 09:28 AM   #6
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
I've read in the past that Samba refreshes its configuration every 15 minutes. I tried to do a quick search to see if that was true and couldn't find any evidence, so take that with a grain of salt.
 
Old 10-27-2006, 12:18 PM   #7
Jose Rivas
Member
 
Registered: Jul 2006
Posts: 56

Original Poster
Rep: Reputation: 15
I can see when change the samba password to a user, the samba service don't need to restart. For example,
#smbpasswd atlas
The user atlas, already enabled to a sharing, can be changed in password without restart samba; I think is because the smb.conf don't need to be reload for passwd changes.
 
  


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
How to Add a Samba User JonBL Fedora 4 10-25-2006 05:35 PM
add samba user abdbaru Linux - Newbie 1 05-28-2006 11:04 PM
add SAMBA user ashley75 Linux - General 13 07-19-2005 05:53 PM
What add user script you use for Samba 3.0.3-5? subaruwrx Linux - Networking 3 07-19-2004 11:19 AM
Samba user add question phlome Linux - Networking 1 09-10-2003 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:44 PM.

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
Open Source Consulting | Domain Registration