Jump to content
Sign in to follow this  
billydv

Samba Printing to a Windows Printer Mandriva 2006

Recommended Posts

Hoping someone can tell me if they have figured out a way around the windows printing problem

 

each time I print to a smb printer here is the error in the cups log

 

E [13/Sep/2006:09:28:17 -0400] [Job 3] Can not get the ticket cache for root

E [13/Sep/2006:09:28:17 -0400] [Job 3] Tree connect failed

E [13/Sep/2006:09:29:17 -0400] [Job 3] Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: No ticket cache found for userid=0

 

billydv1@verizon.net

Share this post


Link to post
Share on other sites
Are you providing the correct username and password for the remote windows machine?

 

yes, but I believe the problem is a little more complicated, after running testparm on the config file here is what it says:

 

[root@localhost samba]# testparm smb.conf

Load smb config files from smb.conf

Processing section "[homes]"

NOTE: Service homes is flagged unavailable.

Processing section "[printers]"

Processing section "[print$]"

Processing section "[pdf-gen]"

Processing section "[billydv]"

Processing section "[My Documents]"

Loaded services file OK.

Warning: Service printers defines a print command, but print command parameter is ignored when using CUPS libraries.

Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

 

[global]

workgroup = MSHOME

netbios name = LINUX2

server string =

security = SHARE

map to guest = Bad User

log file = /var/log/samba/%m.log

max log size = 50

server signing = auto

socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192

printcap cache time = 60

printcap name = cups

preferred master = No

domain master = No

dns proxy = No

ldap ssl = no

 

[homes]

comment = Home Directories

read only = No

case sensitive = No

browseable = No

available = No

msdfs proxy = no

 

[printers]

comment = All Printers

path = /var/spool/samba

create mask = 0700

guest ok = Yes

printable = Yes

print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.

use client driver = Yes

browseable = No

 

[print$]

path = /var/lib/samba/printers

write list = @adm, root

inherit permissions = Yes

guest ok = Yes

 

[pdf-gen]

comment = PDF Generator (only valid users)

path = /var/tmp

printable = Yes

printing = bsd

print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" &

lpq command = /bin/true

lprm command = lprm -P'%p' %j

 

[billydv]

path = /home/billydv

read only = No

guest ok = Yes

case sensitive = No

msdfs proxy = no

 

[My Documents]

path = /MyDocuments/My Documents

read only = No

guest ok = Yes

case sensitive = No

msdfs proxy = no

[root@localhost samba]#

 

 

Notice how it indicates some kind of problem in the printer configuration about ignoring print command when cups libraries are use, this part has not been modified from the original file from the install.

Share this post


Link to post
Share on other sites

Did you configure via mcc or directly via cups? If you want to try directly via cups then point a browser at localhost:631

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...