Patch client installer to use correct LDAP conf path.

The installer script is hardcoded to use /etc/openldap/ldap.conf. On Ubuntu,
 the appropriate path is /etc/ldap/ldap.conf

Conflicts:
	debian/patches/series
This commit is contained in:
Nick Hatch 2013-02-20 17:20:47 -08:00 committed by Timo Aaltonen
parent 662b048455
commit 039fdda690
2 changed files with 15 additions and 1 deletions

13
debian/patches/fix-ldap-conf-path.diff vendored Normal file
View File

@ -0,0 +1,13 @@
Index: freeipa/ipa-client/ipa-install/ipa-client-install
===================================================================
--- freeipa.orig/ipa-client/ipa-install/ipa-client-install 2013-02-12 23:09:34.000000000 +0000
+++ freeipa/ipa-client/ipa-install/ipa-client-install 2013-02-21 01:19:38.000000000 +0000
@@ -770,7 +770,7 @@
{'name':'TLS_CACERT', 'type':'option', 'value':CACERT},
{'name':'empty', 'type':'empty'}]
- target_fname = '/etc/openldap/ldap.conf'
+ target_fname = '/etc/ldap/ldap.conf'
fstore.backup_file(target_fname)
ldapconf.newConf(target_fname, opts)
os.chmod(target_fname, 0644)

View File

@ -8,4 +8,5 @@ correct-python-path.diff
dont-search-platform-path.diff
fix-install-layout.diff
fix-ntpdate-opts.diff
fix-symlink-exclusion.diff
fix-symlink-exclusion.diff
fix-ldap-conf-path.diff