Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (6) </ 1 2 3 4 5 [6] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to modify Samba extension, use as a unc< Next Oldest | Next Newest >
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Dec. 30 2007,08:45 QUOTE

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!!!!!!
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Dec. 31 2007,10:47 QUOTE

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  :)
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Dec. 31 2007,22:36 QUOTE

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.
Back to top
Profile PM 
27 replies since Aug. 01 2007,11:43 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (6) </ 1 2 3 4 5 [6] >/
reply to topic new topic new poll
Quick Reply: How to modify Samba extension

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code