diff options
Diffstat (limited to 'ldap')
-rw-r--r-- | ldap/admin/src/scripts/DSCreate.pm.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 = $?; |