summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-05-14 12:57:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:01 -0500
commitcb47bb6d8f987febfc7b70b2de2d8d32b2ce8229 (patch)
tree55e8829a2c66a86caea3bcbae558e2158a1393b9 /source3/smbd/trans2.c
parentb4a7b7a8889737e2891fc1176feabd4ce47f2737 (diff)
downloadsamba-cb47bb6d8f987febfc7b70b2de2d8d32b2ce8229.tar.gz
samba-cb47bb6d8f987febfc7b70b2de2d8d32b2ce8229.tar.bz2
samba-cb47bb6d8f987febfc7b70b2de2d8d32b2ce8229.zip
r22845: Modified and extended the winbindd cache validation code:
* Replaced signal catching/longjmp magic by a fork: Let the child do the actual validation of the entries. Exit code and signals are intercepted by waitpid. * Fix logic so that also encounter of an unknown key in the tdb leads to an error. * Extended status of validation is kept in a (as yet simple) stuct and communicated over a pipe from child to parent. * Added two validation_ functions for two new keys. The call of winbindd_validate_cache is still commented out in the winbindd main loop. But I am currently testing it and so far it seems to work fine. The next step in my plan is to generalize the validation mechanism to a tdb_open_log_validate function in lib/util_tdb.c. There ist nothing very special about the cache tdb here, and this might be useful elsewhere... Michael (This used to be commit 417325b9e6f9ac0afe1f2f3b552527788f6a7cee)
Diffstat (limited to 'source3/smbd/trans2.c')
0 files changed, 0 insertions, 0 deletions