diff options
author | mharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2011-02-15 01:14:41 +0000 |
---|---|---|
committer | mharmsen <mharmsen@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2011-02-15 01:14:41 +0000 |
commit | 53440dccba1cc25c0c776699c8b30d3b3d3a49ec (patch) | |
tree | 0e72b0717cc60f7625003b5a61e82ee9cd2b9725 | |
parent | 6f10951c432ab7eb52b1fdcf643a783b171dc39e (diff) | |
download | pki-53440dccba1cc25c0c776699c8b30d3b3d3a49ec.tar.gz pki-53440dccba1cc25c0c776699c8b30d3b3d3a49ec.tar.xz pki-53440dccba1cc25c0c776699c8b30d3b3d3a49ec.zip |
Bugzilla Bug #606944 - Convert TPS to use ldap utilities and API from OpenLDAP
instead of the Mozldap
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@1848 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
-rwxr-xr-x | pki/base/tps/forms/esc/cgi-bin/sow/ajax-list.cgi | 2 | ||||
-rwxr-xr-x | pki/base/tps/forms/esc/cgi-bin/sow/cfg.pl | 4 | ||||
-rwxr-xr-x | pki/base/tps/forms/esc/cgi-bin/sow/enroll.cgi | 2 | ||||
-rwxr-xr-x | pki/base/tps/forms/esc/cgi-bin/sow/enroll_temp.cgi | 2 | ||||
-rwxr-xr-x | pki/base/tps/forms/esc/cgi-bin/sow/read.cgi | 2 | ||||
-rwxr-xr-x | pki/base/tps/forms/esc/cgi-bin/sow/read_temp.cgi | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/pki/base/tps/forms/esc/cgi-bin/sow/ajax-list.cgi b/pki/base/tps/forms/esc/cgi-bin/sow/ajax-list.cgi index 8db2d3e48..a66e3ed57 100755 --- a/pki/base/tps/forms/esc/cgi-bin/sow/ajax-list.cgi +++ b/pki/base/tps/forms/esc/cgi-bin/sow/ajax-list.cgi @@ -50,7 +50,7 @@ sub main() "-h \"" . $ldapHost . "\" " . "-p \"" . $ldapPort ."\" " . "-S \"cn\" " . - "-s sub \"(cn=" . $letters . "*)\" cn uid > " . $tmpfile; + "-LLL -s sub \"(cn=" . $letters . "*)\" cn uid > " . $tmpfile; system($cmd); my $result = ""; diff --git a/pki/base/tps/forms/esc/cgi-bin/sow/cfg.pl b/pki/base/tps/forms/esc/cgi-bin/sow/cfg.pl index 6bced3836..59980b134 100755 --- a/pki/base/tps/forms/esc/cgi-bin/sow/cfg.pl +++ b/pki/base/tps/forms/esc/cgi-bin/sow/cfg.pl @@ -115,7 +115,7 @@ sub is_agent() "-b \"" . "cn=TUS Officers,ou=Groups,".$x_basedn . "\" " . "-h \"" . $x_host . "\" " . "-p \"" . $x_port ."\" " . - "member | grep \"uid=" . $uid . ",\" | wc -l"; + "-LLL member | grep \"uid=" . $uid . ",\" | wc -l"; my $matched = `$cmd`; @@ -155,7 +155,7 @@ sub is_user() "-b \"" . "ou=people,".$x_basedn . "\" " . "-h \"" . $x_host . "\" " . "-p \"" . $x_port ."\" " . - "\"(uid=" . $uid . ")\" uid | grep \"uid:\" | wc -l"; + "-LLL \"(uid=" . $uid . ")\" uid | grep \"uid:\" | wc -l"; my $matched = `$cmd`; diff --git a/pki/base/tps/forms/esc/cgi-bin/sow/enroll.cgi b/pki/base/tps/forms/esc/cgi-bin/sow/enroll.cgi index e7e552d94..b9bc41194 100755 --- a/pki/base/tps/forms/esc/cgi-bin/sow/enroll.cgi +++ b/pki/base/tps/forms/esc/cgi-bin/sow/enroll.cgi @@ -202,7 +202,7 @@ sub GenerateEnrollmentPage "-b \"" . $basedn . "\" " . "-h \"" . $ldapHost . "\" " . "-p \"" . $ldapPort ."\" " . - "\"(uid=" . $uid . ")\" > " . $tmpfile; + "-LLL \"(uid=" . $uid . ")\" > " . $tmpfile; system($cmd); open(F, "<$tmpfile"); diff --git a/pki/base/tps/forms/esc/cgi-bin/sow/enroll_temp.cgi b/pki/base/tps/forms/esc/cgi-bin/sow/enroll_temp.cgi index d11f20ff7..58fba9bae 100755 --- a/pki/base/tps/forms/esc/cgi-bin/sow/enroll_temp.cgi +++ b/pki/base/tps/forms/esc/cgi-bin/sow/enroll_temp.cgi @@ -201,7 +201,7 @@ sub GenerateEnrollmentPage "-b \"" . $basedn . "\" " . "-h \"" . $ldapHost . "\" " . "-p \"" . $ldapPort ."\" " . - "\"(uid=" . $uid . ")\" > " . $tmpfile; + "-LLL \"(uid=" . $uid . ")\" > " . $tmpfile; system($cmd); open(F, "<$tmpfile"); diff --git a/pki/base/tps/forms/esc/cgi-bin/sow/read.cgi b/pki/base/tps/forms/esc/cgi-bin/sow/read.cgi index f95b7c914..bcb94d48e 100755 --- a/pki/base/tps/forms/esc/cgi-bin/sow/read.cgi +++ b/pki/base/tps/forms/esc/cgi-bin/sow/read.cgi @@ -67,7 +67,7 @@ sub DoPage "-b \"" . $basedn . "\" " . "-h \"" . $ldapHost . "\" " . "-p \"" . $ldapPort ."\" " . - "\"(cn=" . $name . ")\" > " . $tmpfile; + "-LLL \"(cn=" . $name . ")\" > " . $tmpfile; system($cmd); open(F, "<$tmpfile"); diff --git a/pki/base/tps/forms/esc/cgi-bin/sow/read_temp.cgi b/pki/base/tps/forms/esc/cgi-bin/sow/read_temp.cgi index 3741d6d1e..c35edcdc4 100755 --- a/pki/base/tps/forms/esc/cgi-bin/sow/read_temp.cgi +++ b/pki/base/tps/forms/esc/cgi-bin/sow/read_temp.cgi @@ -67,7 +67,7 @@ sub DoPage "-b \"" . $basedn . "\" " . "-h \"" . $ldapHost . "\" " . "-p \"" . $ldapPort ."\" " . - "\"(cn=" . $name . ")\" > " . $tmpfile; + "-LLL \"(cn=" . $name . ")\" > " . $tmpfile; system($cmd); open(F, "<$tmpfile"); |