s4:auth/credentials: pass 'self_service' to cli_credentials_set_impersonate_principal()
commita41efe6802da4e81a4af72aa231daa00f5012ab8
authorStefan Metzmacher <metze@samba.org>
Fri, 22 Apr 2011 09:22:50 +0000 (22 11:22 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 18 May 2011 05:46:39 +0000 (18 07:46 +0200)
tree2f0d6a9bfac436b06eae0bfd22fe76a82d342ed2
parentc6836c8ede90a97a31c208a0057cffe78ed5a3d9
s4:auth/credentials: pass 'self_service' to cli_credentials_set_impersonate_principal()

This also adds a cli_credentials_get_self_service() helper function.

In order to support S4U2Proxy we need to be able to set
the service principal for the S4U2Self step independent of the
target principal.

metze
source4/auth/credentials/credentials.c
source4/auth/credentials/credentials.h
source4/auth/credentials/credentials_krb5.c
source4/auth/kerberos/kerberos_util.c
source4/torture/rpc/remote_pac.c