Re: [Samba] Can I reconfigure Samba share without restart smb service?

2004-05-12 Thread Mike Stewart
I read somewhere that Samba re-reads its config file every minute or so.  I
think one of my servers (2.2.0a) does this but the other (2.2.8a) seems to
take longer.

- Original Message - 
From: "Ryan Novosielski" <[EMAIL PROTECTED]>
To: "ww m-pubsyssamba" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 9:23 AM
Subject: Re: [Samba] Can I reconfigure Samba share without restart smb
service?


> AFAIK, Samba will notice a change on its own as well.
>
>  _  _ _  _ ___  _  _  _
> |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
> |$&| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
> \__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630
>
> On Fri, 30 Apr 2004, ww m-pubsyssamba wrote:
>
> > Everytime I add or remove some samba shares, I must restart smb service
to take effect. Is there anyway to reconfig it without restart?
> >
> >
> > >> Yes there is, you must "kill -HUP" your parent smbd process, either
work out which pid it is from running ps -aef (-aux or whatever
> > for your UNIX platform) or cat /sambainstalldir/var/locks/smbd.pid file
which contains the PID, then "kill -HUP YourPID"
> > For already established client connections they may not see the changes
until they disconnect but for new connections your
> > smb.conf/share changes will be visable,
> >
> > cheers Andy.
> >
> > <<
> >
> > BBCi at http://www.bbc.co.uk/
> >
> > This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
> > stated.
> > If you have received it in error, please delete it from your system. Do
not use, copy or disclose the information in any way nor act in
> > reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received.
> > Further communication will signify your consent to this.
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.680 / Virus Database: 442 - Release Date: 10/05/2004


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Can I reconfigure Samba share without restart smb service?

2004-05-12 Thread Ryan Novosielski
AFAIK, Samba will notice a change on its own as well.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
|$&| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Fri, 30 Apr 2004, ww m-pubsyssamba wrote:

> Everytime I add or remove some samba shares, I must restart smb service to take 
> effect. Is there anyway to reconfig it without restart?
>
>
> >> Yes there is, you must "kill -HUP" your parent smbd process, either work out 
> >> which pid it is from running ps -aef (-aux or whatever
> for your UNIX platform) or cat /sambainstalldir/var/locks/smbd.pid file which 
> contains the PID, then "kill -HUP YourPID"
> For already established client connections they may not see the changes until they 
> disconnect but for new connections your
> smb.conf/share changes will be visable,
>
> cheers Andy.
>
> <<
>
> BBCi at http://www.bbc.co.uk/
>
> This e-mail (and any attachments) is confidential and may contain personal views 
> which are not the views of the BBC unless specifically
> stated.
> If you have received it in error, please delete it from your system. Do not use, 
> copy or disclose the information in any way nor act in
> reliance on it and notify the sender immediately. Please note that the BBC monitors 
> e-mails sent or received.
> Further communication will signify your consent to this.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Can I reconfigure Samba share without restart smb service?--NO

2004-04-30 Thread Matthew J. DiBattista
At least you don't have to reboot the system

Matthew J. DiBattista
Information Technology Technicians



-Original Message-
From: maorui [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 30, 2004 5:47 AM
To: [EMAIL PROTECTED]
Subject: [Samba] Can I reconfigure Samba share without restart smb service?

Everytime I add or remove some samba shares, I must restart smb service to
take effect.
Is there anyway to reconfig it without restart?





-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Can I reconfigure Samba share without restart smb service?

2004-04-30 Thread Laurent CARON
maorui wrote:

Everytime I add or remove some samba shares, I must restart smb service to
take effect.
Is there anyway to reconfig it without restart?


 

just reload it
/etc/init.d/samba reload
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Can I reconfigure Samba share without restart smb service?

2004-04-30 Thread ww m-pubsyssamba
Everytime I add or remove some samba shares, I must restart smb service to take 
effect. Is there anyway to reconfig it without restart? 


>> Yes there is, you must "kill -HUP" your parent smbd process, either work out which 
>> pid it is from running ps -aef (-aux or whatever
for your UNIX platform) or cat /sambainstalldir/var/locks/smbd.pid file which contains 
the PID, then "kill -HUP YourPID" 
For already established client connections they may not see the changes until they 
disconnect but for new connections your
smb.conf/share changes will be visable,

cheers Andy.

<<

BBCi at http://www.bbc.co.uk/

This e-mail (and any attachments) is confidential and may contain personal views which 
are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. Do not use, copy 
or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the BBC monitors 
e-mails sent or received.
Further communication will signify your consent to this.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Can I reconfigure Samba share without restart smb service?

2004-04-30 Thread maorui
Everytime I add or remove some samba shares, I must restart smb service to
take effect.
Is there anyway to reconfig it without restart?



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba