s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
[bbaumbach/samba-autobuild/.git] / source4 / dsdb / samdb / ldb_modules / samldb.c
index b9a97200189ed1b295e91fb14705bfe1de946311..9ae308b9bc855a0f7f1a46038150d8ce9a84d3db 100644 (file)
@@ -950,7 +950,7 @@ static int samldb_fill_object(struct samldb_ctx *ac, const char *type)
        }
 
        if ( ! ac->sid) {
-               sid_generator = lp_sid_generator(lp_ctx);
+               sid_generator = lpcfg_sid_generator(lp_ctx);
                if (sid_generator == SID_GENERATOR_INTERNAL) {
                        ret = samldb_add_step(ac, samldb_allocate_sid);
                        if (ret != LDB_SUCCESS) return ret;