Hi Jutras

Thank you for your fast response, I have add some configuration as you said

<Location ~ />
   AuthUserFile %%install_dir%%/conf/admin.conf AuthGroupFile /dev/null   
AuthName "PacketFence Authentication"
   AuthType Basic
   require valid-user
   
    Options Indexes FollowSymLinks ExecCGI
    #AllowOverride None
    #php_value register_globals "On"
    php_value register_long_arrays "On"
    php_value session.save_path "%%install_dir%%/var/session"
    php_value memory_limit "64M"
    #(E_ALL & ~E_NOTICE) = 2047-8
    php_value error_reporting 2039
  </Location>

And after I restart PF service I found an error like bellow

Starting PacketFence...Checking configuration sanity...
service|command
config files|start
named|start
Internet Systems Consortium DHCP Server V3.0.5-RedHat
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 3 leases to leases file.
Listening on LPF/eth2/00:0c:29:21:1b:7f/192.168.5/24
Sending on   LPF/eth2/00:0c:29:21:1b:7f/192.168.5/24
Listening on LPF/eth1/00:0c:29:21:1b:75/192.168.4/24
Sending on   LPF/eth1/00:0c:29:21:1b:75/192.168.4/24

No subnet declaration for eth0 (172.16.1.45).
** Ignoring requests on eth0.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface eth0 is attached. **

Sending on   Socket/fallback/fallback-net
dhcpd|start
Syntax error on line 344 of /usr/local/pf/var/conf/httpd.conf:
AuthUserFile takes 1-2 arguments, text file containing user IDs and passwords
httpd|start
snmptrapd|start
pfsetvlan|start
pfdhcplistener|start
pfmon|start

it seem it need text file containing ID and password :) 

Thanks 

-----Original Message-----
From: Marc-André Jutras [mailto:[email protected]] 
Sent: Thursday, April 28, 2011 10:54 PM
To: [email protected]
Subject: Re: [Packetfence-users] Audit helpdesk user

Hi Adi,

Yes, it's possible but, this will add another login "pop-up" each time a 
new admin user will try to log on ( aka, admin will have to log twice to 
access the admin console)

So, to enable this feature, log on your server as root ( ssh ), go in : 
/usr/local/pf/conf/templates , edit the httpd.conf file

at the end of this config file, under the <Location ~ /> declaration, add :

AuthUserFile %%install_dir%%/conf/admin.conf
AuthGroupFile /dev/null
AuthName "PacketFence Authentication"
AuthType Basic
require valid-user

restart packetfence to apply these settings.

After that, any users activities on the system will be logged in the 
apache admin log file. the admin_access_log file located in: 
/usr/local/pf/logs/admin_access_log

Regards,
M-A

Le 11-04-27 22:53, Adi Ariyanto a écrit :
>
> Hi..
>
> I wonder if it possible to log admin user account that register new 
> node / edit node so that I can differentiate who is edit / add new 
> node between 2 helpdesk user (Mario or Luigi)
>
> Thank you,
>
> Regards,
>
> */Adi Ariyanto/*
>
> IT/IS
>
> Asia Pacific Resources International Holdings Ltd (APRIL)
>
> Office : +62 761 491823
>
> Phone : +62 82172517567
>
> About APRIL (www.aprilasia.com <http://www.aprilasia.com/>)
>
> /"Don't tell your GOD how big is your problem, but tell your problem 
> how BIG is your GOD"/
>
> //
>
> *APRIL is:***
>
> § Member, World Business Council for Sustainable Development (WBCSD)
>
> § Signatory, UN Global Compact
>
> § Strategic Partner, UNEP Champions of the Earth Award 2008
>
> § Founding Member, UN FAO Fire Management Actions Alliance
>
> § Green PROPER Rating Indonesian Ministry of Environment 2006-2007
>
> APRIL, with offices worldwide and operations in Indonesia and China, 
> is a leading producer of fiber, pulp and paper. APRIL operates one of 
> the world's largest pulp mills with an annual production capacity of 
> 2,000,000 tonnes in Indonesia. The company is committed to protecting 
> the natural resources in its care through sustainable management of 
> its mills and plantation operations to benefit our stakeholders, both 
> now and in the future
>
>
> The above message is for the intended recipient only and may contain 
> confidential information and/or may be subject to legal privilege. If 
> you are not the intended recipient, you are hereby notified that any 
> dissemination, distribution, or copying of this message, or any 
> attachment, is strictly prohibited. If it has reached you in error 
> please inform us immediately by reply e-mail or telephone, reversing 
> the charge if necessary. Please delete the message and the reply (if 
> it contains the original message) thereafter. Thank you. ­­
>
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
>
>
> _______________________________________________
> Packetfence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users


-- 
Marc-Andre Jutras, Project manager - Inverse inc.
[email protected] :: +1.514.447.4918 (x110) :: http://www.inverse.ca
Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org)


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

The above message is for the intended recipient only and may contain 
confidential information and/or may be subject to legal privilege. If you are 
not the intended recipient, you are hereby notified that any dissemination, 
distribution, or copying of this message, or any attachment, is strictly 
prohibited. If it has reached you in error please inform us immediately by 
reply e-mail or telephone, reversing the charge if necessary. Please delete the 
message and the reply (if it contains the original message) thereafter. Thank 
you.

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to