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>
Sat, 14 Aug 2010 00:10:51 +0000 (02:10 +0200)
commit4f2bb1a2595a23d3bba0d0b3bb7bb38872e47c95
tree28135bec79a2716afcd5e5828115871fcabf9246
parent47387b3ebb0d4d04403d0d65312d29af6bccc95a
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