VectorLinux
September 30, 2014, 01:58:23 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Networking printer RESOLVED  (Read 1093 times)
StrayBit
Vectorite
***
Posts: 373



« on: October 23, 2009, 05:49:57 am »

Hopefully this is an easy question.  I have an HP LJ5 installed with CUPS on VL6 Std and it is working well.  Also, I can read and write files to and from VL from Win98.  I attempted to install the LJ5 on Win98.  The printer was found but then it asked me for a password.  I tried both blank and the only password
I use on VL to no avail.  No passwords are set in Samba.

What am I missing?
« Last Edit: October 23, 2009, 11:49:25 am by StrayBit » Logged

Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
nightflier
Administrator
Vectorian
*****
Posts: 4024



« Reply #1 on: October 23, 2009, 06:45:11 am »

Quote
No passwords are set in Samba.

That may be your problem. Add a samba user with a password (smbpasswd -a) and see if it helps.
Logged
StrayBit
Vectorite
***
Posts: 373



« Reply #2 on: October 23, 2009, 08:08:18 am »

su
smbpasswd -L -a (the L was required)
SMB password:
(repeated)
root has been added

retried from Win: "The password is incorrect. Try again."
Logged

Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
M0E-lnx
Administrator
Vectorian
*****
Posts: 3180



« Reply #3 on: October 23, 2009, 09:38:22 am »

You need to add users other than root.
See smbpasswd --help for info on how to add a new user

then try smbclient -L localhost
it should ask you for a username or pass

if it works, it should list your shares, otherwise, well... it'll reject it.
Logged

StrayBit
Vectorite
***
Posts: 373



« Reply #4 on: October 23, 2009, 11:48:51 am »

Added both users to smbpasswd.  Then for good measure went to cups and added root bruce cleo pcguest guest as allowed users.  Now the password works from Win98  Grin
Logged

Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!