diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-09-20 21:29:29 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:38:31 -0500 |
commit | 65d4da0ff330740788c4386a71526b6ed3e10162 (patch) | |
tree | c9e4cdd692637af5128325b32ae9e57b7e839309 /source4/auth/kerberos/kerberos_util.c | |
parent | 9a1ceab6d60549f3c983dd1cf1f9a9ea2ba5dc79 (diff) | |
download | samba-65d4da0ff330740788c4386a71526b6ed3e10162.tar.gz samba-65d4da0ff330740788c4386a71526b6ed3e10162.tar.bz2 samba-65d4da0ff330740788c4386a71526b6ed3e10162.zip |
r10364: Turn gensec:gssapi on by default, except for a login of the form
-Udomain\\user.
This will probably break in a few configurations, so please let me
know. I'll also work to have a way to inhibit kerberos/ntlmssp, as
this removes -k.
Andrew Bartlett
(This used to be commit 3c0dc570b86e79aea5446d7c3bb9750a11bf8ca4)
Diffstat (limited to 'source4/auth/kerberos/kerberos_util.c')
-rw-r--r-- | source4/auth/kerberos/kerberos_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/kerberos/kerberos_util.c b/source4/auth/kerberos/kerberos_util.c index 922869af5c..d0bb2f4f52 100644 --- a/source4/auth/kerberos/kerberos_util.c +++ b/source4/auth/kerberos/kerberos_util.c @@ -111,7 +111,7 @@ krb5_error_code principal_from_credentials(TALLOC_CTX *parent_ctx, if (!princ_string) { talloc_free(mem_ctx); - return ENOMEM; + return EINVAL; } ret = krb5_parse_name(smb_krb5_context->krb5_context, |