Is there a way that I can dynamically add a share point to the smb.conf file and not be forced to kill the smbd daemon and restart in order for it to be visible? Or is this such a simple thing I'm blind and can't see it in any FAQ I read? :-) Thanks! Ryan
You don't have to restart smbd if you make a change to smb.conf "Hulslander, Ryan" wrote:> Is there a way that I can dynamically add a share point to the smb.conf file > and not be forced to kill the smbd daemon and restart in order for it to be > visible? Or is this such a simple thing I'm blind and can't see it in any > FAQ I read? :-) > > Thanks! > > Ryan > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba-- ---- Corey Hart Systems/Security Analyst St. Edward's University coreyh@admin.stedwards.edu 512/428-1038 - voice 512/448-8492 - fax 512/470-8462 - cell
Apparently I was blind. The man page for smbd indicated that the smb.conf file is reloaded every minute to pickup changes, and a SIGHUP sent to the process will force it reload immediately. Sorry for my confusion. I kept thinking I had to stop the process to get it to reload the conf file. Thanks! Ryan> -----Original Message----- > From: Hulslander, Ryan [mailto:Ryan.Hulslander@ps.net] > Sent: Wednesday, July 30, 2003 1:43 PM > To: samba@lists.samba.org > Subject: [Samba] Add directory share without killing samba? > > > Is there a way that I can dynamically add a share point to > the smb.conf file and not be forced to kill the smbd daemon > and restart in order for it to be visible? Or is this such a > simple thing I'm blind and can't see it in any FAQ I read? :-) > > Thanks! > > Ryan > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
> Is there a way that I can dynamically add a share point to the > smb.conf file and not be forced to kill the smbd daemon and restart > in order for it to be visible? Or is this such a simple thing I'm > blind and can't see it in any FAQ I read? :-)You're not googling far enough. I believe smbd re-reads smb.conf from time to time, but if you're in a hurry, a "kill -HUP <smbd-PID>" over all smbd processes won't be a massacre - it'll just prompt them to re-read smb.conf immediately.
Hulslander, Ryan
2003-Aug-01 14:35 UTC
[Samba] RE: Add directory share without killing samba?
You're quite right... I found it mentioned after I had asked the question. I swear I looked for it before but it was eluding me something fierce. I've been adding "favorites" now to by browser list like a fiend and it's helping :-) Now - if I can only get a real grip on permissions I'll be set. :-) Thanks to All! Ryan -----Original Message----- From: Dragan Krnic To: Ryan.Hulslander@ps.net Cc: samba@lists.samba.org Sent: 7/31/2003 7:03 AM Subject: Re:Add directory share without killing samba?> Is there a way that I can dynamically add a share point to the > smb.conf file and not be forced to kill the smbd daemon and restart > in order for it to be visible? Or is this such a simple thing I'm > blind and can't see it in any FAQ I read? :-)You're not googling far enough. I believe smbd re-reads smb.conf from time to time, but if you're in a hurry, a "kill -HUP <smbd-PID>" over all smbd processes won't be a massacre - it'll just prompt them to re-read smb.conf immediately.