Bug 79658 - Fail to print correctly when netbios username hold a space
Fail to print correctly when netbios username hold a space
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: samba (Show other bugs)
7.3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jay Fenlason
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-14 12:34 EST by Christian Lepine
Modified: 2014-08-31 19:24 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-11-16 17:31:17 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Christian Lepine 2002-12-14 12:34:36 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Description of problem:
When the netbios username of the client (Win2000) holds a space it can not 
print correctly when using a samba print server.

I am using the print command "lpr -U%U@%M -r -P%p %s" and the space in the 
netbios username cause an error in th elpr command.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Setup a Windows client with a username that holds a space, "Christian 
Lepine" for example.
2.Setup a samba print server and use the command lpr -U%U@%M -r -P%p %s
3.Try to print
    

Actual Results:  Will not print the job or print it in the default printer.

Expected Results:  Print the job in the right printer without an error

Additional info:
Comment 1 Andrew Bartlett 2002-12-28 19:32:42 EST
I think you just need to add the quotes around the %U bit correctly - it's not
really a bug when you are specifying the config paramater yourself...  

In Samba 3.0 the defaults have been adjusted for similar effect (thanks to the
debian folk for their patches)

Note You need to log in before you can comment on or make changes to this bug.