s3:libsmb: remove target_principal argument from cli_session_setup_gensec_send()
authorStefan Metzmacher <metze@samba.org>
Thu, 27 Oct 2016 13:03:07 +0000 (15:03 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 15 Nov 2016 10:00:27 +0000 (11:00 +0100)
commit7512eb5dfb34162b9663a88a54494d643e8096da
treed907e1afa935d6eef25e8a706d610e222fefe2b3
parent721b823762b2e27f9d200ee8da0c602d9cf684b5
s3:libsmb: remove target_principal argument from cli_session_setup_gensec_send()

It's enough to pass down target_service and target_hostname, that's all we
have at the smb layer. The kerberos layer should figure out what
the final target_principals is based on the users realm.

The gse_krb5 backend doesn't use it currently, so it's also unused.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/cliconnect.c