<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sssd.git/src/responder/nss, branch token2</title>
<subtitle>System Security Services Daemon [okos' clone]</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd.git/'/>
<entry>
<title>NSS: Descend into subdomains if enumerate=true</title>
<updated>2013-08-28T16:08:42+00:00</updated>
<author>
<name>Jakub Hrozek</name>
<email>jhrozek@redhat.com</email>
</author>
<published>2013-08-21T14:27:50+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd.git/commit/?id=8b9fc71516a3da83b6e0e551ec0ad9aaa19bc7bc'/>
<id>8b9fc71516a3da83b6e0e551ec0ad9aaa19bc7bc</id>
<content type='text'>
Since we now store the enumerate flag in sysdb for subdomains, we can
always descend to all available subdomains and if they do not allow
enumeration, simply skip them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since we now store the enumerate flag in sysdb for subdomains, we can
always descend to all available subdomains and if they do not allow
enumeration, simply skip them.
</pre>
</div>
</content>
</entry>
<entry>
<title>mmap_cache: Use stricter check for hash keys.</title>
<updated>2013-08-28T14:47:41+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2013-08-19T05:24:46+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd.git/commit/?id=b8d0374cd23db90fce203292ff547641f62e338a'/>
<id>b8d0374cd23db90fce203292ff547641f62e338a</id>
<content type='text'>
ht_size is size of hash_table in bytes, but hash keys have type uint32_t
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ht_size is size of hash_table in bytes, but hash keys have type uint32_t
</pre>
</div>
</content>
</entry>
<entry>
<title>mmap_cache: Skip records which doesn't have same hash</title>
<updated>2013-08-28T14:43:50+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2013-08-19T03:39:28+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd.git/commit/?id=4662725ffef62b3b2502481438effa7c8fef9f80'/>
<id>4662725ffef62b3b2502481438effa7c8fef9f80</id>
<content type='text'>
The code uses 2 hashes for each record, but only one hash table to
index them both, furthermore each record has only one single 'next'
pointer.

This means that in certain conditions a record main end up being on a
hash chain even though its hashes do not match the hash chain. This can
happen when another record 'drags' it in from another hash chain where
they both belong.

If the record without matching hashes happens to be the second of the
chain and the first record is removed, then the non matching record is
left on the wrong chain. On removal of the non-matching record the hash
chain will not be updated and the hash chain will end up pointing to an
invalid slot.
This slot may be later reused for another record and may not be the
first slot of this new record. In this case the hash chain will point to
arbitrary data and may cause issues if the slot is interpreted as the
head of a record.

By skipping any block that has no matching hashes upon removing the
first record in a chain we insure that dangling references cannot be
left in the hash table

Resolves:
https://fedorahosted.org/sssd/ticket/2049
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The code uses 2 hashes for each record, but only one hash table to
index them both, furthermore each record has only one single 'next'
pointer.

This means that in certain conditions a record main end up being on a
hash chain even though its hashes do not match the hash chain. This can
happen when another record 'drags' it in from another hash chain where
they both belong.

If the record without matching hashes happens to be the second of the
chain and the first record is removed, then the non matching record is
left on the wrong chain. On removal of the non-matching record the hash
chain will not be updated and the hash chain will end up pointing to an
invalid slot.
This slot may be later reused for another record and may not be the
first slot of this new record. In this case the hash chain will point to
arbitrary data and may cause issues if the slot is interpreted as the
head of a record.

By skipping any block that has no matching hashes upon removing the
first record in a chain we insure that dangling references cannot be
left in the hash table

Resolves:
https://fedorahosted.org/sssd/ticket/2049
</pre>
</div>
</content>
</entry>
<entry>
<title>mmap_cache: Use sss_atomic_write_s instead of write.</title>
<updated>2013-08-22T17:42:31+00:00</updated>
<author>
<name>Michal Zidek</name>
<email>mzidek@redhat.com</email>
</author>
<published>2013-08-21T13:26:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd.git/commit/?id=1f7fb30cc25765e54841e5d5f4192c12e3b29a16'/>
<id>1f7fb30cc25765e54841e5d5f4192c12e3b29a16</id>
<content type='text'>
Use sss_atomic_write_s() instead of write() in
sss_mc_save_corrupted(). Also unlink() the file if no data
were written.

It is better to use sss_atomic_write_s instead of write
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use sss_atomic_write_s() instead of write() in
sss_mc_save_corrupted(). Also unlink() the file if no data
were written.

It is better to use sss_atomic_write_s instead of write
</pre>
</div>
</content>
</entry>
<entry>
<title>mmap_cache: Store corrupted mmap cache before reset</title>
<updated>2013-08-19T20:24:41+00:00</updated>
<author>
<name>Michal Zidek</name>
<email>mzidek@redhat.com</email>
</author>
<published>2013-08-12T14:23:59+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd.git/commit/?id=f9091077bfbb09f052d08e25ac5e00af0baa6dfb'/>
<id>f9091077bfbb09f052d08e25ac5e00af0baa6dfb</id>
<content type='text'>
This patch adds function to store corrupted mmap cache file to
disk for further analysis.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds function to store corrupted mmap cache file to
disk for further analysis.
</pre>
</div>
</content>
</entry>
<entry>
<title>mmap_cache: Use better checks for corrupted mc in responder</title>
<updated>2013-08-19T18:51:03+00:00</updated>
<author>
<name>Michal Zidek</name>
<email>mzidek@redhat.com</email>
</author>
<published>2013-08-15T14:08:17+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd.git/commit/?id=441e6050f4b67134d15862e401b4c4e8546d7387'/>
<id>441e6050f4b67134d15862e401b4c4e8546d7387</id>
<content type='text'>
We introduced new way to check integrity of memcache in the
client code. We should use similiar checks in the responder.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We introduced new way to check integrity of memcache in the
client code. We should use similiar checks in the responder.
</pre>
</div>
</content>
</entry>
<entry>
<title>mmap_cache: Off by one error.</title>
<updated>2013-08-19T18:51:03+00:00</updated>
<author>
<name>Michal Zidek</name>
<email>mzidek@redhat.com</email>
</author>
<published>2013-08-14T16:22:06+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd.git/commit/?id=13df7b9e400211c717284fb841c849ba034ed348'/>
<id>13df7b9e400211c717284fb841c849ba034ed348</id>
<content type='text'>
Removes off by one error when using macro MC_SIZE_TO_SLOTS
and adds new macro MC_SLOT_WITHIN_BOUNDS.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removes off by one error when using macro MC_SIZE_TO_SLOTS
and adds new macro MC_SLOT_WITHIN_BOUNDS.
</pre>
</div>
</content>
</entry>
<entry>
<title>fill_initgr: add original primary GID if available</title>
<updated>2013-08-19T10:53:49+00:00</updated>
<author>
<name>Sumit Bose</name>
<email>sbose@redhat.com</email>
</author>
<published>2013-08-14T15:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd.git/commit/?id=39f13b3bf5b3cf79f5f16575403f03b539300dc7'/>
<id>39f13b3bf5b3cf79f5f16575403f03b539300dc7</id>
<content type='text'>
In some cases when MPG domains are used the information about the
original primary group of a user cannot be determined by looking at
the explicit group memberships. In those cases the GID related to the
original primary group is stored in a special attribute of the user
object.

This patch adds the GID of the original primary group when available and
needed.

Fixes https://fedorahosted.org/sssd/ticket/2027
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some cases when MPG domains are used the information about the
original primary group of a user cannot be determined by looking at
the explicit group memberships. In those cases the GID related to the
original primary group is stored in a special attribute of the user
object.

This patch adds the GID of the original primary group when available and
needed.

Fixes https://fedorahosted.org/sssd/ticket/2027
</pre>
</div>
</content>
</entry>
<entry>
<title>mmap_cache: Check if slot and name_ptr are not invalid.</title>
<updated>2013-08-11T18:36:21+00:00</updated>
<author>
<name>Michal Zidek</name>
<email>mzidek@redhat.com</email>
</author>
<published>2013-08-05T18:59:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd.git/commit/?id=9028706a00da1bc48547e74aa872c825ac15adb2'/>
<id>9028706a00da1bc48547e74aa872c825ac15adb2</id>
<content type='text'>
This patch prevents jumping outside of allocated memory in
case of corrupted slot or name_ptr values. It is not proper
solution, just hotfix until we find out what is the root cause
of ticket https://fedorahosted.org/sssd/ticket/2018
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch prevents jumping outside of allocated memory in
case of corrupted slot or name_ptr values. It is not proper
solution, just hotfix until we find out what is the root cause
of ticket https://fedorahosted.org/sssd/ticket/2018
</pre>
</div>
</content>
</entry>
<entry>
<title>NSS: Clear cached netgroups if a request comes in from the sss_cache</title>
<updated>2013-08-07T22:38:31+00:00</updated>
<author>
<name>Lukas Slebodnik</name>
<email>lslebodn@redhat.com</email>
</author>
<published>2013-07-29T13:24:34+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/okos/public_git/sssd.git/commit/?id=db440b3ba6b848010cf2a1fe9f76db394ce860da'/>
<id>db440b3ba6b848010cf2a1fe9f76db394ce860da</id>
<content type='text'>
In order for sss_cache to work correctly, we must also signal the nss
responder to invalidate the hash table requests.

https://fedorahosted.org/sssd/ticket/1759
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order for sss_cache to work correctly, we must also signal the nss
responder to invalidate the hash table requests.

https://fedorahosted.org/sssd/ticket/1759
</pre>
</div>
</content>
</entry>
</feed>
