Hi Wadud,

How have you setup you authentication to use certs? 

Typically nagios uses .htaccess files in the examples to authenticate
users. This is documented in the docs.

You can use htpasswd, htdigest or dbmanage to create your user file.
Just make sure you set the AuthType to the correct value.

ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin

<Directory "/usr/local/nagios/sbin">
    Options ExecCGI
    AllowOverride None
    Order allow,deny
    Allow from all
    AuthName "Nagios Access"
    AuthType Basic
    AuthUserFile /usr/local/nagios/etc/htpasswd.users
    Require valid-user
</Directory>

Alias /nagios /usr/local/nagios/share

<Directory "/usr/local/nagios/share">
    Options None
    AllowOverride None
    Order allow,deny
    Allow from all
    AuthName "Nagios Access"
    AuthType Basic
    AuthUserFile /usr/local/nagios/etc/htpasswd.users
    Require valid-user
</Directory>

Have you setup authentication another way? If so can you post part off
your config so we can help you?

Regards

Tom

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Miah, W
(Wadud)
Sent: 04 December 2007 17:12
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Mapping DNs to username

Nagios CGI authentication is carried out using certificates, which sets
the username to the certificate DN. Is there a way to map it to a unique
username? For example, 

DN1 -> user1
DN2 -> user2

I can't seem to find a solution to this problem in the archives. 

Many thanks.

------------
Wadud Miah
Scientific Computing Systems Support
High Performance Computing Services Group, e-Science, RAL
01235 446 794
------------


------------------------------------------------------------------------
-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to