Fedora This forum is for the discussion of the Fedora Project. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-25-2006, 05:25 PM
|
#1
|
Member
Registered: Jul 2006
Posts: 56
Rep:
|
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?
|
|
|
10-25-2006, 08:31 PM
|
#2
|
Member
Registered: Nov 2005
Distribution: Fedora Core 5
Posts: 64
Rep:
|
if you are using the gui samba configuration, I am pretty sure when you change anything and press the apply button, it restarts samba.
|
|
|
10-25-2006, 09:33 PM
|
#3
|
Member
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 127
Rep:
|
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.
|
|
|
10-26-2006, 06:58 PM
|
#4
|
Member
Registered: Jul 2006
Posts: 56
Original Poster
Rep:
|
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?
|
|
|
10-27-2006, 03:21 AM
|
#5
|
Member
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 127
Rep:
|
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
|
|
|
10-27-2006, 09:28 AM
|
#6
|
Senior Member
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019
Rep:
|
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.
|
|
|
10-27-2006, 12:18 PM
|
#7
|
Member
Registered: Jul 2006
Posts: 56
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:44 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|