r18867: change the group mapping code to use ldb instead of tdb