diff options
author | Simo Sorce <idra@samba.org> | 2009-02-16 17:01:08 -0500 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-02-16 17:01:08 -0500 |
commit | 8ce804c66b2a6f24662d1568976c430777be2cd0 (patch) | |
tree | 1b74e5ff56d297454acedf1f4677897679f06838 /server/nss/nsssrv.h | |
parent | 9b8e4c72933306216507ea869081632fa83a902d (diff) | |
download | sssd-8ce804c66b2a6f24662d1568976c430777be2cd0.tar.gz sssd-8ce804c66b2a6f24662d1568976c430777be2cd0.tar.bz2 sssd-8ce804c66b2a6f24662d1568976c430777be2cd0.zip |
ldb_msg_* functions do not reliably set errno on error, do not realy on that.
This was causing some functions to not cancel a transaction as they should
have, leaving it pending indefintely. It in turn meant that no other process
could see what was "stored" in the db as transactions are not fluched to the
db until "committed".
Took me quite a while and a lot of confusion to catch why I was seeing
"ghost entries" in some processes and not seeing the entry in others ..
As a defensive programming measure make sure we commit OR cancel in the same
spot and that we always go thorugh it.
Diffstat (limited to 'server/nss/nsssrv.h')
0 files changed, 0 insertions, 0 deletions