This commit make winbindd copy winbindd_idmap.tdb into idmap.tdb on the
commit0ac2b380018bd50eaaf6d6bcfbb6e949b85a6601
authorSimo Sorce <idra@samba.org>
Sun, 6 Apr 2003 09:35:16 +0000 (6 09:35 +0000)
committerSimo Sorce <idra@samba.org>
Sun, 6 Apr 2003 09:35:16 +0000 (6 09:35 +0000)
tree99d701957698c8c4e8f7c99e4c83424b5009e088
parent588b1978a19f8bb468165740dc293ae1a4e28951
This commit make winbindd copy winbindd_idmap.tdb into idmap.tdb on the
first run if idmap.tdb is not found, and then eventually convert it to the
new format.
This is done to unify winbind and idmap databases and to make a backup of
winbindd_idmap.tdb in case you want to downgrade (of course it will not be
updated).
This is needed because idmap.tdb contains also local mappings, not only
foreign domains mappings.

Added some other fixes/improvements

Simo.
(This used to be commit cf17261519fd8775500f9b9d6caa2bc462e04633)
source3/include/idmap.h
source3/nsswitch/winbindd_idmap_tdb.c
source3/sam/idmap_tdb.c
source3/sam/idmap_winbind.c