From 4b49384056874e7999d8338ce5288f3d5c27a7b8 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 6 Jan 2013 01:30:27 -0500 Subject: Make sysdb_domain_dn() require a domain. --- src/db/sysdb_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db/sysdb_ops.c') diff --git a/src/db/sysdb_ops.c b/src/db/sysdb_ops.c index 2364f17b..4b0e1676 100644 --- a/src/db/sysdb_ops.c +++ b/src/db/sysdb_ops.c @@ -663,7 +663,7 @@ int sysdb_get_new_id(struct sysdb_ctx *sysdb, return ENOMEM; } - base_dn = sysdb_domain_dn(sysdb, tmp_ctx); + base_dn = sysdb_domain_dn(sysdb, tmp_ctx, sysdb->domain); if (!base_dn) { talloc_zfree(tmp_ctx); return ENOMEM; -- cgit