From 7a867717bfc9504b11b3bef2c62893cbe31abf34 Mon Sep 17 00:00:00 2001 From: Nathan Kinder Date: Fri, 27 Feb 2009 21:54:32 +0000 Subject: Resolves: 487765 Summary: Use backend name from inf when importing during setup. --- ldap/admin/src/scripts/DSCreate.pm.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldap') diff --git a/ldap/admin/src/scripts/DSCreate.pm.in b/ldap/admin/src/scripts/DSCreate.pm.in index 471c9dd9..66183e88 100644 --- a/ldap/admin/src/scripts/DSCreate.pm.in +++ b/ldap/admin/src/scripts/DSCreate.pm.in @@ -563,7 +563,7 @@ sub initDatabase { return (); } - my $cmd = "$inf->{slapd}->{inst_dir}/ldif2db -n userRoot -i \'$ldiffile\'"; + my $cmd = "$inf->{slapd}->{inst_dir}/ldif2db -n $inf->{slapd}->{ds_bename} -i \'$ldiffile\'"; $? = 0; # clear error condition my $output = `$cmd 2>&1`; my $result = $?; -- cgit