Displaying 5 results from an estimated 5 matches for "gssbuf".
Did you mean:
fs_buf
2014 Jul 15
3
GSSAPI
If I am trying to build OpenSSH 6.6 with Kerberos GSSAPI support, do I still need to get Simon Wilkinson's patches?
---
Scott Neugroschl | XYPRO Technology Corporation
4100 Guardian Street | Suite 100 |Simi Valley, CA 93063 | Phone 805 583-2874|Fax 805 583-0124 |
2005 Aug 26
3
[Bug 1066] off-by-one error with GSSAPI names
...nt (id=945)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=945&action=view)
quick fix
Simple fix that decrements the buffer length after the snprintf.
A real fix would not be so hacky. :)
------- Additional Comments From djm at mindrot.org 2005-08-27 01:16 -------
Are you saying that gssbuf.value shouldn't be \0 terminated?
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
2009 Sep 21
2
How to generate additional debug messages for sshd gssapi failures?
...eshoot gssapi_with_mic authentication with OpenSSH
5.2p1 on FreeBSD 8.0.
If I run sshd with maximum debug "sshd -ddd" the most detail I get is:
GSSAPI MIC check failed
That comes from line 282 in auth2-gss.c
279 if (!GSS_ERROR(PRIVSEP(ssh_gssapi_checkmic(gssctxt, &gssbuf, &mic))))
280 authenticated = PRIVSEP(ssh_gssapi_userok(authctxt->user));
281 else
282 logit("GSSAPI MIC check failed");
283
I think that's as much help as I can get from sshd. I'd like to add
some printf's to t...
2003 Aug 10
9
updated gssapi diff
...G | deleg_flag,
+ 0, NULL, recv_tok, NULL, send_tok, flags, NULL);
+
+ if (GSS_ERROR(ctx->major))
+ ssh_gssapi_error(ctx);
+
+ return (ctx->major);
+}
+
+/* Create a service name for the given host */
+OM_uint32
+ssh_gssapi_import_name(Gssctxt *ctx, const char *host)
+{
+ gss_buffer_desc gssbuf;
+
+ gssbuf.length = sizeof("host@") + strlen(host);
+ gssbuf.value = xmalloc(gssbuf.length);
+ snprintf(gssbuf.value, gssbuf.length, "host@%s", host);
+
+ if ((ctx->major = gss_import_name(&ctx->minor,
+ &gssbuf, GSS_C_NT_HOSTBASED_SERVICE, &ctx->name))...
2001 Aug 15
0
[ossh patch] principal name/patterns in authorized_keys2
...uot; ssh2");
authctxt->postponed = 0;
+ auth_log(authctxt, 0, "gssapi", " ssh2");
dispatch_set(SSH2_MSG_USERAUTH_GSSAPI_TOKEN, NULL);
userauth_reply(authctxt, 0);
}
@@ -563,6 +584,8 @@
OM_uint32 maj_status, min_status;
int authenticated;
gss_buffer_desc gssbuf,msg_tok;
+ char *info;
+ int info_len;
if (authctxt == NULL || authctxt->methoddata == NULL)
fatal("No authentication or GSSAPI context");
@@ -598,8 +621,24 @@
packet_write_wait();
}
- auth_log(authctxt, authenticated, "gssapi", " ssh2")...