diff options
author | Michael Adam <obnox@samba.org> | 2009-07-29 13:43:29 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-07-29 16:26:20 +0200 |
commit | d916e56c4c9dc729dc88418f75ebbbf943597476 (patch) | |
tree | 41c51f61cfc653d06c20a211d075cdd1b576a800 /examples/pcap2nbench | |
parent | a9bea871c963710fe06822dad56aa31029b59a1a (diff) | |
download | samba-d916e56c4c9dc729dc88418f75ebbbf943597476.tar.gz samba-d916e56c4c9dc729dc88418f75ebbbf943597476.tar.bz2 samba-d916e56c4c9dc729dc88418f75ebbbf943597476.zip |
s3:winbind: in idmap_tdb2_sid_to_id(), use transaction wrapped stores.
When a mapping is not found, then the idmap script is called (if defined).
When this gives a reply for the desired sid, this reply is stored in the db.
This patch wraps theses two store operations into a transaction by re-using
the idmap_tdb2_set_mapping_action() function previously defined
for idmap_tdb2_set_mapping().
Michael
Diffstat (limited to 'examples/pcap2nbench')
0 files changed, 0 insertions, 0 deletions