]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - sarg.conf
LDAP usertab feature added
[thirdparty/sarg.git] / sarg.conf
index 25312bea1aaadc9dde72da4ee3f01773d3a8f48f..e7be00b08a54aea871de01a666105ad0c5987186 100644 (file)
--- a/sarg.conf
+++ b/sarg.conf
 #              192.168.10.1 Karol Wojtyla
 #      
 #      Each line must be terminated with '\n'
-#
+#      If usertab have value "ldap" (case ignoring), user names
+#      will be taken from LDAP server. This method as approaches for reception
+#      of usernames from Active Didectory
+#      
 #usertab none
+# TAG: LDAPHost hostname
+#      FQDN or IP address of host with LDAP service or AD DC
+#      default is '127.0.0.1'
+#LDAPHost 127.0.0.1
+
+# TAG: LDAPPort port
+#       LDAP service port number
+#      default is '389'
+#LDAPPort 389
+
+# TAG: LDAPBindDN CN=username,OU=group,DC=mydomain,DC=com
+#      DN of LDAP user, who is authorized to read user's names from LDAP base
+#      default is empty line
+#LDAPBindDN cn=proxy,dc=mydomain,dc=local
+
+# TAG: LDAPBindPW secret
+#      Password of DN, who is authorized to read user's names from LDAP base
+#      default is empty line
+#LDAPBindPW secret
+
+# TAG: LDAPBaseSearch OU=users,DC=mydomain,DC=com
+#      LDAP search base
+#      default is empty line
+#LDAPBaseSearch ou=users,dc=mydomain,dc=local
+
+# TAG: LDAPFilterSearch uid=%s
+#      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 some tags '%s'
+#      default value is 'uid=%s'
+#LDAPFilterSearch uid=%s
+
+# TAG: LDAPTargetAttr attributename
+#      Name of the attribute containing a name of the user
+#      default value is 'cn'
+#LDAPTargetAttr cn
 
 # TAG: long_url yes|no
 #      If yes, the full url is showed in report.