Re: Samba and printer question.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have shared cups printers through samba.
I had to add a user and password
via smbpasswd. After I had added the username
and created a password via smbpasswd, iI looked in
the file /etc/samba/smbusers to be sure the username
was there.
The client is supposed to provide the username
and password when connecting to the printer.
Also I checked /etc/samba/smb.conf for any
permission issues, such as:

hosts allow = 192.168.1.3  10.  172.
security = user
passdb backend = tdbsam

Also, the printer share itself:


[hp deskjet 5600]
  printer = raw
  comment = HP DeskJet 5600
  path = /var/spool/samba
  browseable = yes
  printer name = hpdj-5650w
# Set public = yes IF you want to allow user 'guest' to print
  guest ok = no
  writable = no
  printable = yes
  print command = /usr/bin/lpr -r -Phpdj-5650w %s
  lpq command = lpq -Phpdj-5650w
  lprm command = lprm -Phpdj-5650w %j
  lpstat command = /usr/bin/lpstat -t
#Required for XP?
;   use client driver = yes

All worked as expected.

Cheers,

JD


Veli-Pekka Kestilä wrote:
Hi,

I have a HP4050 printer which is connected trought hp-jetdirect. It works fine with cups, but I couldn't get it shared trough samba. It shows okay to my vista laptop, but it laptop couldn't connect to it. I can use cups so it's not a problem, but I would be interested to find out why it didn't work trough samba as I could end up seeing something similiar when at customer or somewhere else where using cups isn't an option.

Fedora version is 10. Samba and cups are latest available versions. Also I didn't really get any helpful errors in selinux or samba logs which would help solving this problem.

Greerings,
Veli-Pekka


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux