summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ldap/admin/src/ds_newinst.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/admin/src/ds_newinst.pl b/ldap/admin/src/ds_newinst.pl
index 32c8e87e..8df7536a 100644
--- a/ldap/admin/src/ds_newinst.pl
+++ b/ldap/admin/src/ds_newinst.pl
@@ -173,8 +173,8 @@ if ($cgiargs{cfg_sspt} ||
}
#
-if ($table{slapd}->{UserDirectoryLdapURL}) {
- $cgiargs{user_ldap_url} = $table{slapd}->{UserDirectoryLdapURL};
+if ($table{General}->{UserDirectoryLdapURL}) {
+ $cgiargs{user_ldap_url} = $table{General}->{UserDirectoryLdapURL};
} else {
$cgiargs{user_ldap_url} = $cgiargs{ldap_url};
}