summaryrefslogtreecommitdiff
path: root/source3/libsmb/cliconnect.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-10-21 03:25:34 +0000
committerAndrew Tridgell <tridge@samba.org>2001-10-21 03:25:34 +0000
commitbbcd9deb07fe0cfcb2911093e1c99d30b210e7d2 (patch)
tree855359f48d003658dba234f3d9a4297a523d8176 /source3/libsmb/cliconnect.c
parentcbe31055f8deb5844b34e8f1b32e27c830d134ed (diff)
downloadsamba-bbcd9deb07fe0cfcb2911093e1c99d30b210e7d2.tar.gz
samba-bbcd9deb07fe0cfcb2911093e1c99d30b210e7d2.tar.bz2
samba-bbcd9deb07fe0cfcb2911093e1c99d30b210e7d2.zip
made smbclient cope better with arbitrary principle forms
(This used to be commit d1341d74b7aa5f6b3f72e5409b245f87f1ad670b)
Diffstat (limited to 'source3/libsmb/cliconnect.c')
-rw-r--r--source3/libsmb/cliconnect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index e24f081c69..11825ab036 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -387,6 +387,8 @@ static BOOL cli_session_setup_kerberos(struct cli_state *cli, char *principle, c
{
DATA_BLOB blob2, negTokenTarg;
+ d_printf("Doing kerberos session setup\n");
+
/* generate the encapsulated kerberos5 ticket */
negTokenTarg = spnego_gen_negTokenTarg(cli, principle);
@@ -509,6 +511,8 @@ static BOOL cli_session_setup_spnego(struct cli_state *cli, char *user,
int i;
BOOL got_kerberos_mechanism = False;
+ d_printf("Doing spnego session setup\n");
+
/* the server might not even do spnego */
if (cli->secblob.length == 16) {
DEBUG(3,("server didn't supply a full spnego negprot\n"));