<feed xmlns='http://www.w3.org/2005/Atom'>
<title>swiftkrbauth.git/swiftkerbauth, branch master</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/swiftkrbauth.git/'/>
<entry>
<title>Handle case in passive mode where Kerberos password has expired</title>
<updated>2014-01-17T09:28:11+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2014-01-15T10:01:07+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/swiftkrbauth.git/commit/?id=d5fe1795d40db8c61c0c84d29a8131600e0986bb'/>
<id>d5fe1795d40db8c61c0c84d29a8131600e0986bb</id>
<content type='text'>
In RHEL IdM or Windows AD server, the administrator can expire user passwords
after certain period of time. On password expiry, running kinit will present
a prompt to enter the new passwod. This used to result in kinit subprocess
waiting indefinitely for user input and request never reaching completion.

This fix will kill kinit child process if it is taking too long to finish.

Change-Id: I129a420663c67debe3345448a172b54abc8179bc
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6713
Tested-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Reviewed-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In RHEL IdM or Windows AD server, the administrator can expire user passwords
after certain period of time. On password expiry, running kinit will present
a prompt to enter the new passwod. This used to result in kinit subprocess
waiting indefinitely for user input and request never reaching completion.

This fix will kill kinit child process if it is taking too long to finish.

Change-Id: I129a420663c67debe3345448a172b54abc8179bc
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6713
Tested-by: Chetan Risbud &lt;crisbud@redhat.com&gt;
Reviewed-by: Chetan Risbud &lt;crisbud@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://dev.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://dev.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://dev.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>Add documentation</title>
<updated>2013-10-16T22:49:12+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2013-09-24T06:17:50+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/swiftkrbauth.git/commit/?id=373032fc97d27c79895e6114670760aa717f9f61'/>
<id>373032fc97d27c79895e6114670760aa717f9f61</id>
<content type='text'>
The following guides were added:
* Setting up a RHEL 6.x IdM server with a Fedora 18 client
* Setting up and configuring swiftkerbauth
* Architecture of Swiftkerbauth

Change-Id: I50665e584ff9513b5a20d1eda546c73c93f14638
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6040
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>
The following guides were added:
* Setting up a RHEL 6.x IdM server with a Fedora 18 client
* Setting up and configuring swiftkerbauth
* Architecture of Swiftkerbauth

Change-Id: I50665e584ff9513b5a20d1eda546c73c93f14638
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6040
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use HTTPFound if HTTPSeeOther doesn't exist in swob</title>
<updated>2013-10-09T11:25:21+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2013-10-08T06:27:36+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/swiftkrbauth.git/commit/?id=be359eabbbbf8269a5fa3aebaef17cec48c44176'/>
<id>be359eabbbbf8269a5fa3aebaef17cec48c44176</id>
<content type='text'>
This is a temporary fix to run unit tests. HTTPSeeOther has been
added to swift codebase but is not present in swift 1.9.1

Change-Id: I38207a76c38aa091e790ad0b5e1253505fbc8fb8
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6051
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>
This is a temporary fix to run unit tests. HTTPSeeOther has been
added to swift codebase but is not present in swift 1.9.1

Change-Id: I38207a76c38aa091e790ad0b5e1253505fbc8fb8
Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
Reviewed-on: http://review.gluster.org/6051
Reviewed-by: Luis Pabon &lt;lpabon@redhat.com&gt;
Tested-by: Luis Pabon &lt;lpabon@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor swiftkerbauth changes</title>
<updated>2013-09-23T06:27:31+00:00</updated>
<author>
<name>Prashanth Pai</name>
<email>ppai@redhat.com</email>
</author>
<published>2013-09-23T06:17:21+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/swiftkrbauth.git/commit/?id=af2cbe8a5bec2b7971de137416d6e62ac1b96498'/>
<id>af2cbe8a5bec2b7971de137416d6e62ac1b96498</id>
<content type='text'>
* Replaced python-webob with swift.common.swob
* Use swift memcached instead of python memcached
* Added optional debugging headers to swift-auth script
* Swiftkerbauth and Apachekerbauth are now a single RPM
* Updates to httpd conf file to specify Kerberos principal
* Added setupy.py, makerpm.sh, .gitignore and MANIFEST.in
* RPM is now generated by bdist_rpm using setup.py and not from spec files

TODO
-&gt; Documentation changes in doc/
   * Steps to setup kerberos environment
   * Swiftkerbauth usage and examples
-&gt; Testing swiftkerbauth
   * Investigate borrowing tests from tempauth.py and its dependencies
   * Write a python client script to test swiftkerbauth

Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Replaced python-webob with swift.common.swob
* Use swift memcached instead of python memcached
* Added optional debugging headers to swift-auth script
* Swiftkerbauth and Apachekerbauth are now a single RPM
* Updates to httpd conf file to specify Kerberos principal
* Added setupy.py, makerpm.sh, .gitignore and MANIFEST.in
* RPM is now generated by bdist_rpm using setup.py and not from spec files

TODO
-&gt; Documentation changes in doc/
   * Steps to setup kerberos environment
   * Swiftkerbauth usage and examples
-&gt; Testing swiftkerbauth
   * Investigate borrowing tests from tempauth.py and its dependencies
   * Write a python client script to test swiftkerbauth

Signed-off-by: Prashanth Pai &lt;ppai@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>changed license to Apache License, Version 2.0</title>
<updated>2013-06-25T16:56:24+00:00</updated>
<author>
<name>Carsten Clasohm</name>
<email>clasohm@redhat.com</email>
</author>
<published>2013-06-25T16:56:24+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/swiftkrbauth.git/commit/?id=728157e52fe3212d50edfc17fcd72e1aaf9a6e76'/>
<id>728157e52fe3212d50edfc17fcd72e1aaf9a6e76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>initial commit</title>
<updated>2013-06-25T16:42:16+00:00</updated>
<author>
<name>Carsten Clasohm</name>
<email>clasohm@redhat.com</email>
</author>
<published>2013-06-25T16:42:16+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/swiftkrbauth.git/commit/?id=a300d512843999241d122ce36f4d076844b8f2c5'/>
<id>a300d512843999241d122ce36f4d076844b8f2c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
