git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb00981
)
r19042: Fix the non-krb5 build. This needs sooo severe cleanup ... :-)
author
Volker Lendecke
<vlendec@samba.org>
Mon, 2 Oct 2006 13:09:42 +0000
(13:09 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:15:05 +0000
(12:15 -0500)
Volker
(This used to be commit
b601fc42cb289366b7c522f41aa4c66920006890
)
source3/libsmb/cliconnect.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/cliconnect.c
b/source3/libsmb/cliconnect.c
index 983d9012f04c3fabd34dc824b8e7b8f66373eea1..070717caef1261d39333ea411eaf5c3a288a0a4f 100644
(file)
--- a/
source3/libsmb/cliconnect.c
+++ b/
source3/libsmb/cliconnect.c
@@
-765,6
+765,7
@@
ADS_STATUS cli_session_setup_spnego(struct cli_state *cli, const char *user,
DEBUG(3,("got principal=%s\n", principal ? principal : "<null>"));
+#ifdef HAVE_KRB5
if (got_kerberos_mechanism && (principal == NULL)) {
/*
* It is WRONG to depend on the principal sent in the negprot
@@
-776,6
+777,7
@@
ADS_STATUS cli_session_setup_spnego(struct cli_state *cli, const char *user,
DEBUGADD(1, ("Disabling Kerberos\n"));
cli->use_kerberos = False;
}
+#endif
fstrcpy(cli->user_name, user);