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
Sat Apr 12 14:00:01 GMT 2008


>>> "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.


Do you mean that we should set default printjob username to %u, and then use standard_sub_advanced()
instead of standard_sub_basic() to make sure the printjob username in correct case?




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



More information about the samba-technical mailing list