<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/providers/proxy/proxy_child.c, branch simo_ccname</title>
<subtitle>sssd with jhrozek's patches</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/'/>
<entry>
<title>proxy: Alocate auth tokens in struct authtok_conv</title>
<updated>2013-08-19T08:04:09+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2013-08-14T11:21:31+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=545f49b72cdf8453fb0b85c9d87e7d4711da57da'/>
<id>545f49b72cdf8453fb0b85c9d87e7d4711da57da</id>
<content type='text'>
Struct sss_auth_token became opaque in commit
9acfb09f7969a69f58bd45c856b01700541853ca.
All ocasions of "struct sss_auth_token" was replaced with pointer to this
struct, but proper initialization of auth_tokens was missing
in struct authtok_conv.

Resolves:
https://fedorahosted.org/sssd/ticket/2046
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Struct sss_auth_token became opaque in commit
9acfb09f7969a69f58bd45c856b01700541853ca.
All ocasions of "struct sss_auth_token" was replaced with pointer to this
struct, but proper initialization of auth_tokens was missing
in struct authtok_conv.

Resolves:
https://fedorahosted.org/sssd/ticket/2046
</pre>
</div>
</content>
</entry>
<entry>
<title>Making the authtok structure really opaque.</title>
<updated>2013-04-02T15:01:08+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2013-03-14T08:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=9acfb09f7969a69f58bd45c856b01700541853ca'/>
<id>9acfb09f7969a69f58bd45c856b01700541853ca</id>
<content type='text'>
Definition of structure sss_auth_token was removed from header file
authtok.h and there left only declaration of this structure.
Therefore only way how to use this structure is to use accessory function from
same header file.

To creating new empty authotok can only be used newly created function
sss_authtok_new(). TALLOC context was removed from copy and setter functions,
because pointer to stuct sss_auth_token is used as a memory context.

All declaration of struct sss_auth_token variables was replaced with
pointer to this structure and related changes was made in source code.

Function copy_pam_data can copy from argument src which was dynamically
allocated with function create_pam_data() or zero initialized struct pam_data
allocated on stack.

https://fedorahosted.org/sssd/ticket/1830
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Definition of structure sss_auth_token was removed from header file
authtok.h and there left only declaration of this structure.
Therefore only way how to use this structure is to use accessory function from
same header file.

To creating new empty authotok can only be used newly created function
sss_authtok_new(). TALLOC context was removed from copy and setter functions,
because pointer to stuct sss_auth_token is used as a memory context.

All declaration of struct sss_auth_token variables was replaced with
pointer to this structure and related changes was made in source code.

Function copy_pam_data can copy from argument src which was dynamically
allocated with function create_pam_data() or zero initialized struct pam_data
allocated on stack.

https://fedorahosted.org/sssd/ticket/1830
</pre>
</div>
</content>
</entry>
<entry>
<title>Change pam data auth tokens.</title>
<updated>2013-01-10T17:24:59+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>simo@redhat.com</email>
</author>
<published>2012-10-18T22:43:56+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=64af76e2bef2565caa9738f675c108a4b3789237'/>
<id>64af76e2bef2565caa9738f675c108a4b3789237</id>
<content type='text'>
Use the new authtok abstraction and interfaces throught the code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the new authtok abstraction and interfaces throught the code.
</pre>
</div>
</content>
</entry>
<entry>
<title>Include talloc log in our debug facility</title>
<updated>2012-10-29T16:15:37+00:00</updated>
<author>
<name>Michal Zidek</name>
<email>mzidek@redhat.com</email>
</author>
<published>2012-10-15T13:24:15+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=9e2c64c6d4f5560e27207193efea6536a566865e'/>
<id>9e2c64c6d4f5560e27207193efea6536a566865e</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/1495
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/1495
</pre>
</div>
</content>
</entry>
<entry>
<title>New DEBUG facility - SSSDBG_UNRESOLVED changed from -1 to 0</title>
<updated>2011-08-25T19:46:11+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2011-08-03T07:15:52+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=89caf5edcc99f5731e89bd51e6ffaad3ec11c304'/>
<id>89caf5edcc99f5731e89bd51e6ffaad3ec11c304</id>
<content type='text'>
Removed:
    SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED)

Added new macro:
    CONVERT_AND_SET_DEBUG_LEVEL(new_value)

Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0
so DEBUG macro could be reduced by one condition. Anyway, it has a minor
effect, every time you want to load debug_level from command line parameters,
you have to use following pattern:

    /* Set debug level to invalid value so we can deside if -d 0 was used. */
    debug_level = SSSDBG_INVALID;

    pc = poptGetContext(argv[0], argc, argv, long_options, 0);
    while((opt = poptGetNextOpt(pc)) != -1) { ... }

    CONVERT_AND_SET_DEBUG_LEVEL(debug_level);
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removed:
    SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED)

Added new macro:
    CONVERT_AND_SET_DEBUG_LEVEL(new_value)

Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0
so DEBUG macro could be reduced by one condition. Anyway, it has a minor
effect, every time you want to load debug_level from command line parameters,
you have to use following pattern:

    /* Set debug level to invalid value so we can deside if -d 0 was used. */
    debug_level = SSSDBG_INVALID;

    pc = poptGetContext(argv[0], argc, argv, long_options, 0);
    while((opt = poptGetNextOpt(pc)) != -1) { ... }

    CONVERT_AND_SET_DEBUG_LEVEL(debug_level);
</pre>
</div>
</content>
</entry>
<entry>
<title>New DEBUG facility - conversion</title>
<updated>2011-08-25T19:46:11+00:00</updated>
<author>
<name>Pavel Březina</name>
<email>pbrezina@redhat.com</email>
</author>
<published>2011-08-09T11:01:05+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=99dd40a885ed3d42af4bbbde7ee2fc98830544d0'/>
<id>99dd40a885ed3d42af4bbbde7ee2fc98830544d0</id>
<content type='text'>
https://fedorahosted.org/sssd/ticket/925

Conversion of the old debug_level format to the new one.
(only where it was necessary)

Removed:
  SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/sssd/ticket/925

Conversion of the old debug_level format to the new one.
(only where it was necessary)

Removed:
  SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
</pre>
</div>
</content>
</entry>
<entry>
<title>Split proxy.c into smaller files</title>
<updated>2010-06-30T11:28:26+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2010-06-25T15:28:20+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=2dd3faebcd3cfd00efda38ffd2585d675e696b12'/>
<id>2dd3faebcd3cfd00efda38ffd2585d675e696b12</id>
<content type='text'>
proxy.c was growing too large to manage (and some graphical
development tools could no longer open it because of memory
limitations).

This patch splits proxy.c into the following files:
proxy_init.c:   Setup routines for the plugin
proxy_id.c:     Functions to handle user and group lookups
proxy_auth.c:   Functions to handle PAM interactions
proxy_common.c: Common utility routines
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
proxy.c was growing too large to manage (and some graphical
development tools could no longer open it because of memory
limitations).

This patch splits proxy.c into the following files:
proxy_init.c:   Setup routines for the plugin
proxy_id.c:     Functions to handle user and group lookups
proxy_auth.c:   Functions to handle PAM interactions
proxy_common.c: Common utility routines
</pre>
</div>
</content>
</entry>
<entry>
<title>Support password changes in chpass_provider = proxy</title>
<updated>2010-05-27T18:44:13+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2010-05-24T15:43:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=35c70c767d366fc82a50f6f29793ab7f1477f79d'/>
<id>35c70c767d366fc82a50f6f29793ab7f1477f79d</id>
<content type='text'>
We were not passing the old authtok to the pam_chauthtok()
function, causing it to return PAM_AUTH_ERR.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were not passing the old authtok to the pam_chauthtok()
function, causing it to return PAM_AUTH_ERR.
</pre>
</div>
</content>
</entry>
<entry>
<title>Proxy provider PAM handling in child process</title>
<updated>2010-05-27T18:44:13+00:00</updated>
<author>
<name>Stephen Gallagher</name>
<email>sgallagh@redhat.com</email>
</author>
<published>2010-05-26T18:42:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/jhrozek/public_git/sssd.git/commit/?id=10afbe39cb81a1810dba486c4b8e46578bb300bb'/>
<id>10afbe39cb81a1810dba486c4b8e46578bb300bb</id>
<content type='text'>
This patch adds a new tevent_req to the proxy provider, which will
spawn short-lived child processes to handle PAM requests. These
processes then call the proxied PAM stack and return the results
via SBUS method reply. Once it is returned, the parent process
kills the child.

There is a maximum of ten child processes running simultaneously,
after which requests will be queued for sending once a child slot
frees up. The maximum processes will be made configurable at a
later date (as this would violate string freeze).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a new tevent_req to the proxy provider, which will
spawn short-lived child processes to handle PAM requests. These
processes then call the proxied PAM stack and return the results
via SBUS method reply. Once it is returned, the parent process
kills the child.

There is a maximum of ten child processes running simultaneously,
after which requests will be queued for sending once a child slot
frees up. The maximum processes will be made configurable at a
later date (as this would violate string freeze).
</pre>
</div>
</content>
</entry>
</feed>
