<feed xmlns='http://www.w3.org/2005/Atom'>
<title>swiftkrbauth.git/test, branch master</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/swiftkrbauth.git/'/>
<entry>
<title>Fix unit tests failing in RHEL</title>
<updated>2014-01-21T18:07:52+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2014-01-20T07:26:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/swiftkrbauth.git/commit/?id=1fe843ba94bc73ebcc022a1038d19e8f374d9ea7'/>
<id>1fe843ba94bc73ebcc022a1038d19e8f374d9ea7</id>
<content type='text'>
RHEL 6.4 has Python 2.6 which do not contain certain assert
statements present in python 2.7

Change-Id: Ib3c46e5613c0f8270d280d58b5842ffb0a3ab3e2
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6732
Reviewed-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
RHEL 6.4 has Python 2.6 which do not contain certain assert
statements present in python 2.7

Change-Id: Ib3c46e5613c0f8270d280d58b5842ffb0a3ab3e2
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6732
Reviewed-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Return X-Storage-Url in passive mode</title>
<updated>2014-01-10T15:45:51+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2013-12-26T08:54:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/swiftkrbauth.git/commit/?id=f952c756ad024e100953a43b1f297f82b5c8f3e2'/>
<id>f952c756ad024e100953a43b1f297f82b5c8f3e2</id>
<content type='text'>
When auth_mode is set to 'passive', client can authenticate itself
using account, user and key. This enables swiftkerbauth to return
X-Storage-Url response header to client. X-Storage-Url contains
account name provided in the request.

This required a change in X-Storage-User header format from

X-Storage-User: user
            to
X-Storage-User: account:user

This makes swiftkerbauth(passive mode) handle_get_token APIs to be
more consistent with that of swauth and tempauth.

Change-Id: Ic1d1520bb8afbc80cca443d92d659436f2f7cd0e
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6595
Reviewed-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Tested-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When auth_mode is set to 'passive', client can authenticate itself
using account, user and key. This enables swiftkerbauth to return
X-Storage-Url response header to client. X-Storage-Url contains
account name provided in the request.

This required a change in X-Storage-User header format from

X-Storage-User: user
            to
X-Storage-User: account:user

This makes swiftkerbauth(passive mode) handle_get_token APIs to be
more consistent with that of swauth and tempauth.

Change-Id: Ic1d1520bb8afbc80cca443d92d659436f2f7cd0e
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6595
Reviewed-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Tested-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Feature: Support client outside domain</title>
<updated>2013-11-26T02:40:41+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2013-11-18T10:10:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/swiftkrbauth.git/commit/?id=5405fd7927ef68015c25632951a94bcddb60c33d'/>
<id>5405fd7927ef68015c25632951a94bcddb60c33d</id>
<content type='text'>
Until now, all clients had to be part of Kerberos domain as authentication
was done by mod_auth_kerb module of httpd by using Kerberos Ticket bundled
with the request.

To suport clients residing outside domain, we introduce a configurable option
called "auth_mode". When auth_mode is set to 'passive', a client residing
outside domain can authenticate itself by sending username(X-Auth-User) and
password(X-Auth-Key) as request headers. This information is gleaned from the
request and kinit is run against it. A successful kinit means the username
and password exists on the Kerberos server.

Change-Id: I1a165bd56bc3a425b00bcfdbf32150c14b5d9790
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6296
Reviewed-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Tested-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Until now, all clients had to be part of Kerberos domain as authentication
was done by mod_auth_kerb module of httpd by using Kerberos Ticket bundled
with the request.

To suport clients residing outside domain, we introduce a configurable option
called "auth_mode". When auth_mode is set to 'passive', a client residing
outside domain can authenticate itself by sending username(X-Auth-User) and
password(X-Auth-Key) as request headers. This information is gleaned from the
request and kinit is run against it. A successful kinit means the username
and password exists on the Kerberos server.

Change-Id: I1a165bd56bc3a425b00bcfdbf32150c14b5d9790
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6296
Reviewed-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Tested-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Modularize swift-auth CGI script, add unit tests</title>
<updated>2013-11-18T00:34:11+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2013-11-06T12:00:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/swiftkrbauth.git/commit/?id=991989bc04178442b2a6b766a67f7a26e60c08f0'/>
<id>991989bc04178442b2a6b766a67f7a26e60c08f0</id>
<content type='text'>
- Moved most of swift-auth CGI script to kerbauth_utils.py
- Added unit tests for kerbauth_utils.py
- Made MEMCACHE_SERVERS, DEBUG_HEADERS, TOKEN_LIFE as
  configurable parameters

Change-Id: I2e9e9823e8aa99dc2cf41327c55428350c8768dc
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6248
Tested-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Reviewed-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Moved most of swift-auth CGI script to kerbauth_utils.py
- Added unit tests for kerbauth_utils.py
- Made MEMCACHE_SERVERS, DEBUG_HEADERS, TOKEN_LIFE as
  configurable parameters

Change-Id: I2e9e9823e8aa99dc2cf41327c55428350c8768dc
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6248
Tested-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Reviewed-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to OpenStack Swift Havana</title>
<updated>2013-11-06T15:09:29+00:00</updated>
<author>
<name>Luis Pabon</name>
<email>lpabon@redhat.com</email>
</author>
<published>2013-11-05T22:01:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/swiftkrbauth.git/commit/?id=f64a3354185f32928e2568d9ece4a52fa4746c05'/>
<id>f64a3354185f32928e2568d9ece4a52fa4746c05</id>
<content type='text'>
To update to Havana, we needed to change the
return status of the unit tests to code 303
which means See Other

Change-Id: I068fddae6e3f0f9d77c2eebd54fba1f91dfeb025
Signed-off-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6227
Reviewed-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Tested-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To update to Havana, we needed to change the
return status of the unit tests to code 303
which means See Other

Change-Id: I068fddae6e3f0f9d77c2eebd54fba1f91dfeb025
Signed-off-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6227
Reviewed-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Tested-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add unit tests</title>
<updated>2013-10-15T03:20:24+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2013-10-10T10:17:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/swiftkrbauth.git/commit/?id=9812a4a9e4a30a208d77d3b10828a1c174dccd77'/>
<id>9812a4a9e4a30a208d77d3b10828a1c174dccd77</id>
<content type='text'>
Change-Id: I7bbf74b66c26d0a964fa769bf9c46dd73bd03d73
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6067
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I7bbf74b66c26d0a964fa769bf9c46dd73bd03d73
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6067
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
