VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Networking printer RESOLVED  (Read 1302 times)

StrayBit

  • Vectorite
  • ***
  • Posts: 420
Networking printer RESOLVED
« on: October 23, 2009, 06: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, 12:49:25 pm 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: 4130
Re: Networking printer
« Reply #1 on: October 23, 2009, 07: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: 420
Re: Networking printer
« Reply #2 on: October 23, 2009, 09: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: 3249
Re: Networking printer
« Reply #3 on: October 23, 2009, 10: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.

StrayBit

  • Vectorite
  • ***
  • Posts: 420
Re: Networking printer
« Reply #4 on: October 23, 2009, 12:48:51 pm »

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  ;D
Logged
Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0