summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-17 14:48:44 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-17 14:48:44 +0000
commit9a2a6fda17e84fe33d078c21e433147b779179eb (patch)
tree1692fa5f0b1c7003c9f34839ab66d061fb681394
parent01265220ceede40048b87fa2a561073ed8642d3a (diff)
downloadrsyslog-9a2a6fda17e84fe33d078c21e433147b779179eb.tar.gz
rsyslog-9a2a6fda17e84fe33d078c21e433147b779179eb.tar.xz
rsyslog-9a2a6fda17e84fe33d078c21e433147b779179eb.zip
added rsyslog v3 compatibitliy info
-rw-r--r--doc/status.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/status.html b/doc/status.html
index 1f153bb2..285190e9 100644
--- a/doc/status.html
+++ b/doc/status.html
@@ -4,17 +4,16 @@
</head>
<body>
<h2>rsyslog status page</h2>
-<p>This page reflects the status as of 2007-12-12.</p>
+<p>This page reflects the status as of 2007-12-17.</p>
<h2>Current Releases</h2>
-<p><b>development:</b> 1.20.1 -
+<p><b>development:</b> 3.0.0 -
<a href="http://www.rsyslog.com/Article147.phtml">change log</a> -
<a href="http://www.rsyslog.com/Downloads-index-req-getit-lid-66.phtml">download</a></p>
+<p><b><font color="#FF0000"><a href="v3compatibility.html">Be sure to read the
+rsyslog v3 compatibility document!</a></font></b></p>
<p><b>stable:</b> 1.0.5 - <a href="http://www.rsyslog.com/Article85.phtml">change log</a> -
<a href="http://www.rsyslog.com/Downloads-index-req-getit-lid-39.phtml">download</a></p>
<p>&nbsp;(<a href="version_naming.html">How are versions named?</a>)</p>
-<p><b>Do NOT use versions prior to 1.10.1 or 1.0.1,
-because they contain a SQL injection vulnerability</b> (<a href="http://www.rsyslog.com/Article35.phtml">read
-security advisory</a>).</p>
<h2>Platforms</h2>
<p>Thankfully, a number of folks have begin to build packages and help port
rsyslog to other platforms. As such,
ublic_git/pki.git/tree/base/tps-client/apache/cgi-bin/sow'>sow/is_user.cgi
blob: d7a55142177e5291b07f498818e87bf23b911857 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#! /usr/bin/perl -w
#
# --- BEGIN COPYRIGHT BLOCK ---
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation;
# version 2.1 of the License.
# 
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
# 
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA  02110-1301  USA 
# 
# Copyright (C) 2007 Red Hat, Inc.
# All rights reserved.
# --- END COPYRIGHT BLOCK ---
#

use CGI;

use CGI::Carp qw(fatalsToBrowser);

[REQUIRE_CFG_PL]


my $ldapHost = get_ldap_host();
my $ldapPort = get_ldap_port();
my $basedn = get_base_dn();

my $q = new CGI;

sub authorize
{
  my $client_dn = $ENV{'SSL_CLIENT_S_DN'};
  $client_dn =~ tr/A-Z/a-z/; # all lower cases
  $client_dn =~ s/\s+//g;    # remove all spacing

  if (&is_agent($client_dn)) {
    return 1;
  }
  return 0;
}

sub DoIsUser
{

  print "Content-type: text/xml\n\n";
  
  if (!&authorize()) {
    return;
  }

  my $uid = $q->param('uid');

  if(&is_user("uid=$uid"))
  {
      print "<response>yes</response>\n";
  }
  else
  {
      print "<response>no</response>\n";
  }

}

&DoIsUser();