Net :: How to modify Samba extension



Okay, got it all working. The problem was that the smbpasswd  file got  corrupted. A new one gets created automatically if the old file is deleted or missing (e.g., smbpasswd -a  name).

Thanks to John Martzouco for the kill code. I wonder why there's no 'init.d/smb restart' code with the extention.

note: I don't know how others are handling this, but I'm overwriting the /etc/samba/smb.conf file with a wrapper when loading  the unc.
edit:  also the /usr/bin/smbpasswd.

EDIT: Samba networked HP deskjet worked flawlessly.  The gimp drivers did the trick, although I'll experiment with Juanito's extentions a bit see if there's anything specific to the HPdeskjet940C.  (note: the HP stp/pcl-895 gimp drivers already work very well).



EDIT2...damn...how did I miss juanito's sambi.uci extension, with all the documentation!!!!!!

Quote
I haven't found a way to turn samba off and back on without rebooting.
- you can just do this, no? (works for me):
Code Sample
$ sudo /usr/sbin/smbd restart
$ sudo /usr/sbin/nmbd restart
[or]
$ sudo /opt/samba-3/sbin/smbd restart
$ sudo /opt/samba-3/sbin/nmbd restart


Quote
EDIT2...damn...how did I miss juanito's sambi.uci extension, with all the documentation!!!!!!

- I was just about to mention that, however, it is a bunch larger than the original samba extension and the icon is strange  :)

Quote (Juanito @ Dec. 31 2007,05:47)
Quote
I haven't found a way to turn samba off and back on without rebooting.
- you can just do this, no? (works for me):[code]$ sudo /usr/sbin/smbd restart
$ sudo /usr/sbin/nmbd restart

Thanks for the tip....the only code I found for smbd was "smbd -D" to start. "smbd start" also seems to work.  The code I found for stopping was "killproc smbd", but the 'killproc' command isn't recognized on my setup.

original here.