<feed xmlns='http://www.w3.org/2005/Atom'>
<title>krb5.git/src/appl/gss-sample, branch proxymech</title>
<subtitle>MIT Kerberos patches</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/krb5.git/'/>
<entry>
<title>make depend</title>
<updated>2013-01-10T17:46:26+00:00</updated>
<author>
<name>Greg Hudson</name>
<email>ghudson@mit.edu</email>
</author>
<published>2013-01-10T17:46:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/krb5.git/commit/?id=2807e8e1e1dc89b3d482de7c73d13d19187fdb38'/>
<id>2807e8e1e1dc89b3d482de7c73d13d19187fdb38</id>
<content type='text'>
Mostly this gets rid of the trailing space on line 2 after
bb76891f5386526bdf91bc790c614fc9296cb5fa.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mostly this gets rid of the trailing space on line 2 after
bb76891f5386526bdf91bc790c614fc9296cb5fa.
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify k5test.py environments</title>
<updated>2012-12-20T16:45:20+00:00</updated>
<author>
<name>Greg Hudson</name>
<email>ghudson@mit.edu</email>
</author>
<published>2012-12-16T21:55:29+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/krb5.git/commit/?id=966547dfeb011800d4b78b8e5d494813bc80559c'/>
<id>966547dfeb011800d4b78b8e5d494813bc80559c</id>
<content type='text'>
The initial k5test.py design, copied from the dejagnu suite, is to
create config files and environments for four expected roles: client,
server, master, and slave.  This approach exaggerates the complexity
of the common case, where the configurations don't need to vary, and
limits us to having just one slave for kprop/iprop tests.

Instead, create just one configuration by default, and add a
special_env() method which sets up a differently configured
environment for the few test cases which need one.  The run_as_*()
methods are collapsed into just run(), which accepts an optional
argument for the environment returned by special_env().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The initial k5test.py design, copied from the dejagnu suite, is to
create config files and environments for four expected roles: client,
server, master, and slave.  This approach exaggerates the complexity
of the common case, where the configurations don't need to vary, and
limits us to having just one slave for kprop/iprop tests.

Instead, create just one configuration by default, and add a
special_env() method which sets up a differently configured
environment for the few test cases which need one.  The run_as_*()
methods are collapsed into just run(), which accepts an optional
argument for the environment returned by special_env().
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop misusing gss_release_buffer in test programs</title>
<updated>2012-08-11T04:28:34+00:00</updated>
<author>
<name>Greg Hudson</name>
<email>ghudson@mit.edu</email>
</author>
<published>2012-08-11T04:17:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/krb5.git/commit/?id=64903f771f8ca381013ec49fc2a5e5d69bf4bcff'/>
<id>64903f771f8ca381013ec49fc2a5e5d69bf4bcff</id>
<content type='text'>
Use free() instead of gss_release_buffer() when freeing the locally
allocated context_token in the sample gss-server program.  Use
gssalloc_free() instead of free when freeing buffers in
t_kgss_kernel.c (where we can't use gss_release_buffer).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use free() instead of gss_release_buffer() when freeing the locally
allocated context_token in the sample gss-server program.  Use
gssalloc_free() instead of free when freeing buffers in
t_kgss_kernel.c (where we can't use gss_release_buffer).
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve printf handling of size_t args</title>
<updated>2012-07-02T22:47:16+00:00</updated>
<author>
<name>Ben Kaduk</name>
<email>kaduk@mit.edu</email>
</author>
<published>2012-06-27T19:14:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/krb5.git/commit/?id=e4a3c43c403a24fcf21a2a67eddf831032ab7ec4'/>
<id>e4a3c43c403a24fcf21a2a67eddf831032ab7ec4</id>
<content type='text'>
The %*s format takes two arguments, a precision length/width and
an actual string; the length is specified as a signed integer.
The size_t length field of the gss_buffer_desc type is an unsigned
type, which must be cast or otherwise converted to a signed type
to match the format string expectations.
I do not think that the length will approach SIZE_T_MAX in practice,
due to buffer constraints, so do not include handling for the
edge case.

There is a '%zu' format string for printing size_ts, but it is not
available everywhere (e.g., AIX).  Instead, use the
unsigned long long abomination.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The %*s format takes two arguments, a precision length/width and
an actual string; the length is specified as a signed integer.
The size_t length field of the gss_buffer_desc type is an unsigned
type, which must be cast or otherwise converted to a signed type
to match the format string expectations.
I do not think that the length will approach SIZE_T_MAX in practice,
due to buffer constraints, so do not include handling for the
edge case.

There is a '%zu' format string for printing size_ts, but it is not
available everywhere (e.g., AIX).  Instead, use the
unsigned long long abomination.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add client keytab initiation support</title>
<updated>2012-07-02T06:24:14+00:00</updated>
<author>
<name>Greg Hudson</name>
<email>ghudson@mit.edu</email>
</author>
<published>2012-06-22T16:48:26+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/krb5.git/commit/?id=8651f3339ccc5a623172a8edfb9cf522883acacd'/>
<id>8651f3339ccc5a623172a8edfb9cf522883acacd</id>
<content type='text'>
Support acquiring GSSAPI krb5 credentials by fetching initial
credentials using the client keytab.  Credentials obtained this way
will be stored in the default ccache or collection, and will be
refreshed when they are halfway to expiring.

ticket: 7189 (new)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support acquiring GSSAPI krb5 credentials by fetching initial
credentials using the client keytab.  Credentials obtained this way
will be stored in the default ccache or collection, and will be
refreshed when they are halfway to expiring.

ticket: 7189 (new)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add "-dce" commandline option to gss-client.c to set GSS_C_DCE_STYLE flag</title>
<updated>2011-10-14T14:40:17+00:00</updated>
<author>
<name>Sam Hartman</name>
<email>hartmans@mit.edu</email>
</author>
<published>2011-10-14T14:40:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/krb5.git/commit/?id=22d6047702f23d2a188c4ab9dc42549f48e48049'/>
<id>22d6047702f23d2a188c4ab9dc42549f48e48049</id>
<content type='text'>
Signed-off-by: Kevin Wasserman &lt;kevin.wasserman@painless-security.com&gt;

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25333 dc483132-0cff-0310-8789-dd5450dbe970
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Kevin Wasserman &lt;kevin.wasserman@painless-security.com&gt;

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25333 dc483132-0cff-0310-8789-dd5450dbe970
</pre>
</div>
</content>
</entry>
<entry>
<title>Use gssalloc memory management where appropriate</title>
<updated>2011-10-14T14:40:10+00:00</updated>
<author>
<name>Sam Hartman</name>
<email>hartmans@mit.edu</email>
</author>
<published>2011-10-14T14:40:10+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/krb5.git/commit/?id=800358b1790ef82710af0b6021c6ff2dca2b0de7'/>
<id>800358b1790ef82710af0b6021c6ff2dca2b0de7</id>
<content type='text'>
gss_buffer_t may be freed in a different module from where they
are allocated so it is not safe to use strdup/malloc/calloc/free.
similarly, gss_OID_set need to use gssalloc functions.

Signed-off-by: Kevin Wasserman &lt;kevin.wasserman@painless-security.com&gt;

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25332 dc483132-0cff-0310-8789-dd5450dbe970
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gss_buffer_t may be freed in a different module from where they
are allocated so it is not safe to use strdup/malloc/calloc/free.
similarly, gss_OID_set need to use gssalloc functions.

Signed-off-by: Kevin Wasserman &lt;kevin.wasserman@painless-security.com&gt;

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25332 dc483132-0cff-0310-8789-dd5450dbe970
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace gss_pname_to_uid with gss_localname in gss-server.c</title>
<updated>2011-10-05T21:31:08+00:00</updated>
<author>
<name>Sam Hartman</name>
<email>hartmans@mit.edu</email>
</author>
<published>2011-10-05T21:31:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/krb5.git/commit/?id=bc4dfaa3c88e7b76576f9bc4785f5eb0b2e2b465'/>
<id>bc4dfaa3c88e7b76576f9bc4785f5eb0b2e2b465</id>
<content type='text'>
Signed-off-by: Kevin Wasserman &lt;kevin.wasserman@painless-security.com&gt;

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25313 dc483132-0cff-0310-8789-dd5450dbe970
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Kevin Wasserman &lt;kevin.wasserman@painless-security.com&gt;

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25313 dc483132-0cff-0310-8789-dd5450dbe970
</pre>
</div>
</content>
</entry>
<entry>
<title>Use closesocket() instead of close() for sockets on Windows</title>
<updated>2011-09-19T00:59:24+00:00</updated>
<author>
<name>Sam Hartman</name>
<email>hartmans@mit.edu</email>
</author>
<published>2011-09-19T00:59:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/krb5.git/commit/?id=5e78fcbfbee48aa95d5423b37599e2dfe16ca7d2'/>
<id>5e78fcbfbee48aa95d5423b37599e2dfe16ca7d2</id>
<content type='text'>
Signed-off-by: Alexey Melnikov &lt;aamelnikov@gmail.com&gt;
Signed-off-by: Sam Hartman &lt;hartmans@debian.org&gt;

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25206 dc483132-0cff-0310-8789-dd5450dbe970
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Alexey Melnikov &lt;aamelnikov@gmail.com&gt;
Signed-off-by: Sam Hartman &lt;hartmans@debian.org&gt;

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25206 dc483132-0cff-0310-8789-dd5450dbe970
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed some warnings on Windows</title>
<updated>2011-09-19T00:59:20+00:00</updated>
<author>
<name>Sam Hartman</name>
<email>hartmans@mit.edu</email>
</author>
<published>2011-09-19T00:59:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/simo/public_git/krb5.git/commit/?id=849fdaed46bfcec4374809421f6bb606e0c8d95e'/>
<id>849fdaed46bfcec4374809421f6bb606e0c8d95e</id>
<content type='text'>
Windows VC compiler complains about comparison between signed and unsigned
int types, unused variables

Signed-off-by: Alexey Melnikov &lt;aamelnikov@gmail.com&gt;
Signed-off-by: Sam Hartman &lt;hartmans@debian.org&gt;

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25205 dc483132-0cff-0310-8789-dd5450dbe970
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Windows VC compiler complains about comparison between signed and unsigned
int types, unused variables

Signed-off-by: Alexey Melnikov &lt;aamelnikov@gmail.com&gt;
Signed-off-by: Sam Hartman &lt;hartmans@debian.org&gt;

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25205 dc483132-0cff-0310-8789-dd5450dbe970
</pre>
</div>
</content>
</entry>
</feed>
