Bug? in v3-0-test, printing/printing.c:print_job_start(), line
2399 ~ 2403, job's user name will be in lowercase.
Bo Yang
boyang at novell.com
Thu Apr 10 04:18:30 GMT 2008
Hi, Jeremy, Jim, All:
in printing/printing.c:2399 ~ 2403,
fstrcpy(pjob.user, lp_printjob_username(snum));
standard_sub_basic(vuser->user.smb_name, vuser->user.domain,
pjob.user, sizeof(pjob.user)-1);
/* ensure NULL termination */
pjob.user[sizeof(pjob.user)-1] = '\0';
Which results in job's username in lowercase. (%U is substituted with lowercase username).
Is this intentionally?
This might cause printing fail, take CUPS for example. If allowed user is Blah, but samba will send
requesting-user-name as blah...............
Any suggestions on this?
Thanks!
Best
regards
boyang
4.10
More information about the samba-technical
mailing list