Bug? in v3-0-test, printing/printing.c:print_job_start(), line2399~ 2403, job's user name will be in lowercase.

Bo Yang boyang at novell.com
Mon Apr 28 05:43:05 GMT 2008


Hi, All:

    patch for v3-0-test and v3-2-test are in attachment.
Please review it.

Thanks!

Best
      regards
Boyang
4.15


>>> "Gerald (Jerry) Carter" <jerry at samba.org> 04/12/08 11:22 PM >>>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bo,

| I have seen several cases that users use mixed cased
| usernames in /etc/password.

I'll take your word for it but in my experience this goes
against common practice.  I've certainly never run into
it in 10 years of of teaching sysadmin courses.

Anyways, changing the behavior of %U is not really any
option due to other issues I pointed out.  Fixing the
printer username parameter to support %u is the better choice.




cheers, jerry
- --
=====================================================================
Samba                                    ------- http://www.samba.org
Likewise Software          ---------  http://www.likewisesoftware.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIALeTIR7qMdg1EfYRAgcOAJ0SaOZ1v5c33JpKR7GTQTNMZgjpcQCg0+Bd
6HwUIFSfkiIQSba8IYDHxF4=
=InXM
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: print_job_username_v3-0-test.diff
Type: application/octet-stream
Size: 1213 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080427/c7cbd414/print_job_username_v3-0-test.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: print_job_username_v3-2-test.diff
Type: application/octet-stream
Size: 1164 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080427/c7cbd414/print_job_username_v3-2-test.obj


More information about the samba-technical mailing list