s3:client: The smbspool krb5 wrapper needs negotiate for authentication
commit8559b2e54663cc2f3a2f63c67d78e62af0f4c087
authorAndreas Schneider <asn@samba.org>
Fri, 7 Jul 2017 12:08:49 +0000 (7 14:08 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 24 Jul 2017 20:00:37 +0000 (24 22:00 +0200)
tree1b47cd992ac9d9e40dc3fa16782a4e3b6697728f
parentf6b1a5329b3c4e14aafc8f7f85afbdc0e1f96eb3
s3:client: The smbspool krb5 wrapper needs negotiate for authentication

If you create a new printer it doesn't have AuthInfoRequired set and so
cups calls the backend with:

  AUTH_INFO_REQUIRED=none

In this case we need to return:

  ATTR: auth-info-required=negotiate

and return an error that we require authentication.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12886

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 4cced4da4ca97f0c6db227e6b2c7e03c2e5c1f28)
source3/client/smbspool_krb5_wrapper.c