Describe your package here Describe your package requirements here Currently there are no FAQ items provided. sarguser 1.0 Status: Sarg User Settings /usr/local/pkg/sarg.inc General /pkg_edit.php?xml=sarg.xml&id=0 Users /pkg_edit.php?xml=sarg_users.xml&id=0 Schedule /pkg.php?xml=sarg_schedule.xml&id=0 View Report /sarg_reports.php Realtime /sarg_realtime.php XMLRPC Sync /pkg_edit.php?xml=sarg_sync.xml&id=0 Help /sarg_about.php User Settings listtopic User Sort Field user_sort_field select Ntlm User Format ntlm_user_format select Exclude users exclude_userlist You can use indexonly to have only index.html file.
Format: one user per line.]]>
textarea 70 10 base64
Include users include_userlist Format: user1:user2:...:usern]]> input 70 Users association usertab If resolve_ip is active, the ip address is resolved before being looked up into this file.
That is, if you want to map the ip address, be sure to set resolv_ip to no or the resolved name will be looked into the file instead of the ip address.
Note that it can be used to resolve any ip address known to the dns and then map the unresolved ip addresses to a name found in the usertab file.
Table syntax: userid name or ip address name
Eg:
SirIsaac Isaac Newton
vinci Leonardo da Vinci
192.168.10.1 Karol Wojtyla]]>
textarea 70 10 base64
Ldap Settings listtopic Enable LDAP search ldap_enable This option is usefull to show full usernames in sarg reports instead of user logins.]]> checkbox LDAP Hostname ldap_host input 60 LDAP Port ldap_port Default is 389]]> input 10 LDAP Bind DN ldap_bind_dn Sample: CN=username,OU=group,DC=mydomain,DC=com
]]>
input 60
LDAP Bind Password ldap_bind_pw password 10 LDAP Base Search ldap_base_search Sample: OU=users,DC=mydomain,DC=com]]> input 60 LDAP filter Search ldap_filter_search User search filter by user's logins in LDAP. First founded record will be used.
%s - will be changed to userlogins from access.log file filter string can have up to 5 '%s' tags.
Default value is '(uid=%s)']]>
input 60
LDAP Target Attribute ldap_target_attr Default value is 'cn']]> input 60
sarg_validate_input($_POST, $input_errors); sync_package_sarg();