From 86c37d2876e1884cb5a0043b295299ade85338e9 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sun, 6 Sep 2015 20:50:05 +0200 Subject: sarg - code style cleanup and fixes sarg_users.xml - Fix copyright header - Nuke unused custom_php_(de)install_command - Code style and indentation fixes - Make descriptions readable and improve English --- config/sarg/sarg_users.xml | 210 ++++++++++++++++++++++++++------------------- 1 file changed, 123 insertions(+), 87 deletions(-) (limited to 'config') diff --git a/config/sarg/sarg_users.xml b/config/sarg/sarg_users.xml index 39387007..92d46dd1 100644 --- a/config/sarg/sarg_users.xml +++ b/config/sarg/sarg_users.xml @@ -1,49 +1,48 @@ - - + + - - Describe your package here - Describe your package requirements here - Currently there are no FAQ items provided. sarguser - 1.0 + 0.6.5 Status: Sarg User Settings /usr/local/pkg/sarg.inc @@ -76,7 +75,7 @@ Help /sarg_about.php - + User Settings @@ -85,134 +84,171 @@ User Sort Field user_sort_field - - select - - + Select the sort field for the User Report. + select + + - + + BYTES - Ntlm User Format + NTLM Users Format ntlm_user_format - + Select NTLM username format. select - - + + + domainname+username - Exclude users + Exclude Users exclude_userlist - - You can use indexonly to have only index.html file.
- Format: one user per line.]]>
+ + + Format: One user per line. + ]]> + textarea 70 10 base64
- Include users + Include Users include_userlist - - Format: user1:user2:...:usern]]> + + + Format: user1:user2:...:userN + ]]> + input 70 - Users association + 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]]>
+ + + If 'Convert IP address to DNS name' 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'

+ Examples:
+ SirIsaac Isaac Newton
+ vinci Leonardo da Vinci
+ 192.168.10.1 Karol Wojtyla + ]]> +
textarea 70 10 base64
- Ldap Settings + LDAP Settings listtopic - Enable LDAP search + Enable LDAP Search ldap_enable - - This option is usefull to show full usernames in sarg reports instead of user logins.]]> + + + This option is useful to show full usernames in Sarg reports instead of user logins. + ]]> + checkbox LDAP Hostname ldap_host - + FQDN or IP address of host with LDAP service or AD DC. input 60 LDAP Port ldap_port - Default is 389]]> + + + Default: 389 + ]]> + input 10 + 389 - LDAP Bind DN + LDAP Bind User DN ldap_bind_dn - - Sample: CN=username,OU=group,DC=mydomain,DC=com
]]>
+ + + Example: CN=username,OU=group,DC=mydomain,DC=com
+ ]]> +
input 60
LDAP Bind Password ldap_bind_pw - + Input the password for 'LDAP Bind User DN' specified above. password - 10 + 20 - LDAP Base Search + LDAP Search Base DN ldap_base_search - - Sample: OU=users,DC=mydomain,DC=com]]> + + + Example: OU=users,DC=mydomain,DC=com + ]]> + input 60 - LDAP filter Search + LDAP Search Filter 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)']]>
+ + + %s - will be changed to user logins from access.log file filter. Search filter string can have up to 5 '%s' tags.
+ Default value: '(uid=%s)' + ]]> +
input 60 + (uid=%s)
- LDAP Target Attribute + LDAP Username DN Attribute ldap_target_attr - - Default value is 'cn']]> + + + Default value is 'cn'. For Active Directory, use 'sAMAccountName'. + ]]> + input 60 + cn
- - - - sarg_validate_input($_POST, $input_errors); - + sync_package_sarg(); -- cgit v1.2.3