LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-05-2006, 12:56 AM   #1
ashintoms
LQ Newbie
 
Registered: Jan 2006
Posts: 19

Rep: Reputation: 0
samba entry


i have added a new share in the smb.conf file ,. Is there any way to update the entry without needing to restart the samba service by

service smb restart or /etc/init.d /smb restart


please assist

ashintoms@yahoo.com


ashish
 
Old 10-05-2006, 04:21 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
most service scripts will have a reload as well as a restart. the reload will hup the smbd process, making it reread config files. you can also hup the proces directly too.
 
Old 10-06-2006, 12:00 PM   #3
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Samba also rereads it's config files every minute or so, so it can pick up the changes that way..
 
Old 10-06-2006, 01:08 PM   #4
chimi
LQ Newbie
 
Registered: Aug 2005
Distribution: debian sarge
Posts: 16

Rep: Reputation: 0
and you can execute /etc/init.d/samba force-reload

I own a four pc samba server in the office and I do this almost every week, never fails
 
  


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 Failed to find entry for user david_wliu Linux - Networking 9 12-14-2013 08:15 AM
grub entry? quaylet Linux - Newbie 2 06-14-2005 01:30 PM
Samba failed to modify passwd entry GUIPenguin Linux - General 1 01-17-2005 10:39 AM
samba: interfaces entry viper1024768 Linux - Networking 2 12-19-2003 08:02 AM
hosts entry for a lan unit with no dns entry linxtc Linux - Networking 1 10-03-2003 08:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:56 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
Open Source Consulting | Domain Registration