diff options
author | Rich Megginson <rmeggins@redhat.com> | 2010-06-07 12:50:17 -0600 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2010-08-31 13:35:53 -0600 |
commit | 36101b6491afc0a843ba50b7e506e622271e9177 (patch) | |
tree | 411f97320e11afbeb80e4996b1752bc90fff7e8a /ldap/admin/src/scripts/template-ns-accountstatus.pl.in | |
parent | a6a630da7c86f5d340506c364a1d445542895f9c (diff) | |
download | ds-36101b6491afc0a843ba50b7e506e622271e9177.tar.gz ds-36101b6491afc0a843ba50b7e506e622271e9177.tar.xz ds-36101b6491afc0a843ba50b7e506e622271e9177.zip |
Add -x option to ldap tools when using openldap
We have many scripts that use ldapsearch, ldapmodify, etc. All of these
currently use simple auth. When using the openldap versions of these
scripts, we have to pass the -x argument to use simple auth. A new
configure parameter ldaptool_opts is used to pass this down into the
scripts.
Reviewed by: nkinder (Thanks!)
Platforms tested: Fedora 14 (rawhide)
Diffstat (limited to 'ldap/admin/src/scripts/template-ns-accountstatus.pl.in')
-rw-r--r-- | ldap/admin/src/scripts/template-ns-accountstatus.pl.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ldap/admin/src/scripts/template-ns-accountstatus.pl.in b/ldap/admin/src/scripts/template-ns-accountstatus.pl.in index 258a6027..a0d7f28e 100644 --- a/ldap/admin/src/scripts/template-ns-accountstatus.pl.in +++ b/ldap/admin/src/scripts/template-ns-accountstatus.pl.in @@ -392,12 +392,12 @@ else debug("Running ** $cmd ** $operation\n"); -$ENV{'PATH'} = "$prefix@ldapsdk_bindir@:$prefix/usr/bin:@ldapsdk_bindir@:/usr/bin"; +$ENV{'PATH'} = "$prefix@ldaptool_bindir@:$prefix/usr/bin:@ldaptool_bindir@:/usr/bin"; $ENV{'LD_LIBRARY_PATH'} = "$prefix@nss_libdir@:$prefix/usr/lib:@nss_libdir@:/usr/lib"; $ENV{'SHLIB_PATH'} = "$prefix@nss_libdir@:$prefix/usr/lib:@nss_libdir@:/usr/lib"; -$ldapsearch="ldapsearch -1"; -$ldapmodify="ldapmodify"; +$ldapsearch="ldapsearch @ldaptool_opts@ -1"; +$ldapmodify="ldapmodify @ldaptool_opts@"; # Default values $defrootdn= "{{ROOT-DN}}"; |