summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-server-install
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-08-26 14:09:36 -0400
committerRob Crittenden <rcritten@redhat.com>2009-08-27 13:36:58 -0400
commitcab55250760ad1633ed115564f83750fd91e230d (patch)
tree059651fa5008c50d17c8b01a1521705bee9f2478 /install/tools/ipa-server-install
parent08fc563212faeca9aa4dc9339acedcac3751ca5d (diff)
downloadfreeipa-cab55250760ad1633ed115564f83750fd91e230d.tar.gz
freeipa-cab55250760ad1633ed115564f83750fd91e230d.tar.xz
freeipa-cab55250760ad1633ed115564f83750fd91e230d.zip
Enable ldapi connections in the management framework.
If you don't want to use ldapi then you can remove the ldap_uri setting in /etc/ipa/default.conf. The default for the framework is to use ldap://localhost:389/
Diffstat (limited to 'install/tools/ipa-server-install')
-rwxr-xr-xinstall/tools/ipa-server-install1
1 files changed, 1 insertions, 0 deletions
diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install
index e364db592..c09b24de5 100755
--- a/install/tools/ipa-server-install
+++ b/install/tools/ipa-server-install
@@ -575,6 +575,7 @@ def main():
fd.write("realm=" + realm_name + "\n")
fd.write("domain=" + domain_name + "\n")
fd.write("xmlrpc_uri=https://%s/ipa/xml\n" % host_name)
+ fd.write("ldap_uri=ldapi://%%2fvar%%2frun%%2fslapd-%s.socket\n" % dsinstance.realm_to_serverid(realm_name))
if options.ca:
fd.write("enable_ra=True\n")
fd.close()