Please support VectorLinux!

Author Topic: Networking printer RESOLVED  (Read 1262 times)

StrayBit

  • Vectorite
  • ***
  • Posts: 392
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 »
Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4076
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.

StrayBit

  • Vectorite
  • ***
  • Posts: 392
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."
Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0

M0E-lnx

  • Administrator
  • Vectorian
  • *****
  • Posts: 3208
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: 392
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
Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0