s3:client: The smbspool krb5 wrapper needs negotiate for authentication
authorAndreas Schneider <asn@samba.org>
Fri, 7 Jul 2017 12:08:49 +0000 (14:08 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 15 Jul 2017 04:43:47 +0000 (06:43 +0200)
commit4cced4da4ca97f0c6db227e6b2c7e03c2e5c1f28
tree326bbaa401432295ac7230a9023b1c2f37319c16
parent5fe76a5474823ed7602938a07c9c43226a7882a3
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>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Jul 15 06:43:47 CEST 2017 on sn-devel-144
source3/client/smbspool_krb5_wrapper.c