s3:idmap_tdb: add a idmap_tdb_new_mapping().
authorMichael Adam <obnox@samba.org>
Thu, 17 Jun 2010 06:44:04 +0000 (08:44 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 23 Jun 2010 10:22:15 +0000 (12:22 +0200)
commit88636489cb1873dbd696e5b2e1712f02d440a4a1
tree875afe769cfa7ed5eb2103208b471c688b263d26
parent870d42b4f81d4db672d7162a48c7739d746515a1
s3:idmap_tdb: add a idmap_tdb_new_mapping().

High level function to create a new mapping for an unmapped sid.
This builds logic that used to reside in the top level idmap code
in the backend. To be called inside a transaction to guarantee
atomicity of the operation.
source3/winbindd/idmap_tdb.c