Bug 688 - Wrong session username %U when printing from Windows Terminal Server
Wrong session username %U when printing from Windows Terminal Server
Status: RESOLVED WONTFIX
Product: Samba 2.2
Classification: Unclassified
Component: User/Group Accounts
2.2.8a
All Solaris
: P3 normal
: ---
Assigned To: Gerald (Jerry) Carter
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-10-27 06:35 UTC by Dietmar Berg
Modified: 2005-11-14 09:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dietmar Berg 2003-10-27 06:35:01 UTC
Windows user 'a17200' which maps to UNIX user 'scheuer' prints to a Samba 
printer from a Windows 2000 Terminal Server. User 'a15792', who recently logged 
into the same terminal server is also printing to the same queue. Samba calls a 
print script with both %U and %u on the commandline. The username translation 
Windows -> Unix is ok, but the session username is wrong (=that of the user 
last logged into the terminal server instead of the user who prints):

smb.conf:
 print command = /tools/tas/bin/pdfprint "%s" "%u" "%M" "%U"

smb.log:
 Running the Command /tools/tas/bin/pdfprint
 "smbprn.000290.GJaapY" "scheuer" "attwts02" "a15792' gave 0

(instead of "smbprn.000290.GJaapY" "scheuer" "attwts02" "a17200')
Comment 1 Gerald (Jerry) Carter 2004-02-17 08:57:58 UTC
Sorry, but the 2.2 is not under development any longer.
If you can reproduce this bug against the latest 3.0 release, 
please reopen this bug and change the version in the report.
Thanks.
Comment 2 Gerald (Jerry) Carter 2005-11-14 09:29:51 UTC
database cleanup