s4: popt: Global replace of cmdline_credentials -> popt_get_cmdline_credentials().
[vlendec/samba-autobuild/.git] / lib / ldb-samba / samba_extensions.c
index be9f36a5a7d9d8f1af42df1a152e9ba6bd97194d..28c820ecbee34f6e3b5c112ac05cc4d54eb16fb2 100644 (file)
@@ -87,7 +87,8 @@ static int extensions_hook(struct ldb_context *ldb, enum ldb_module_hook_type t)
                if (ldb_set_opaque(ldb, "sessionInfo", system_session(cmdline_lp_ctx))) {
                        return ldb_operr(ldb);
                }
-               if (ldb_set_opaque(ldb, "credentials", cmdline_credentials)) {
+               if (ldb_set_opaque(ldb, "credentials",
+                               popt_get_cmdline_credentials())) {
                        return ldb_operr(ldb);
                }
                if (ldb_set_opaque(ldb, "loadparm", cmdline_lp_ctx)) {