git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a21cb5a
)
s4-spnego use "not_defined_in_RFC4178@please_ignore" if no principal specified
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 8 Dec 2010 07:52:33 +0000
(18:52 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 8 Dec 2010 07:55:04 +0000
(08:55 +0100)
We need to make this the default, but for now just send it if we have
not been given a target principal.
Andrew Bartlett
source4/auth/gensec/spnego.c
patch
|
blob
|
history
diff --git
a/source4/auth/gensec/spnego.c
b/source4/auth/gensec/spnego.c
index 898dad1e92326b005de36ab645310a3df4a77517..b757e62840d4cc996b7055b2415c75e9140262b1 100644
(file)
--- a/
source4/auth/gensec/spnego.c
+++ b/
source4/auth/gensec/spnego.c
@@
-639,6
+639,8
@@
static NTSTATUS gensec_spnego_create_negTokenInit(struct gensec_security *gensec
struct cli_credentials *creds = gensec_get_credentials(gensec_security);
if (creds) {
principal = cli_credentials_get_principal(creds, out_mem_ctx);
+ } else {
+ principal = ADS_IGNORE_PRINCIPAL;
}
}
if (principal) {