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):
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
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)