LINUX.ORG.RU
решено ФорумAdmin

sarg+ldap


0

1

делал по статье http://www.sergeysl.ru/freebsd-insert-information-about-users-of-active-direc...

пользователь pav находится в users, логин пароль проверял, если сталкивались подскажите в чем может быть проблема

/sarg.conf

usertab ldap
LDAPHost dc.domain.ru
LDAPBindDN cn=pav,dc=dc,dc=domain,dc=ru
LDAPBindPW password
LDAPBaseSearch ou=users,dc=dc,dc=domain,dc=ru
LDAPFilterSearch (sAMAccountName=%s)
LDAPTargetAttr displayName

# sarg -x
SARG: Init
SARG: Loading configuration from /usr/local/etc/sarg.conf
SARG: Deleting temporary directory «/tmp/sarg»
SARG: Parameters:
SARG: Hostname or IP address (-a) =
SARG: Useragent log (-b) =
SARG: Exclude file (-c) =
SARG: Date from-until (-d) =
SARG: Email address to send reports (-e) =
SARG: Config file (-f) = /usr/local
/etc/sarg.conf
SARG: Date format (-g) = USA (mm/dd/yyyy)
SARG: IP report (-i) = No
SARG: Keep temporary files (-k) = No
SARG: Input log (-l) = /var/log/squid
/access.log
SARG: Resolve IP Address (-n) = No
SARG: Output dir (-o) = /var/www/
SARG: Use Ip Address instead of userid (-p) = No
SARG: Accessed site (-s) =
SARG: Time (-t) =
SARG: User (-u) =
SARG: Temporary dir (-w) = /tmp/sarg
SARG: Debug messages (-x) = Yes
SARG: Process messages (-z) = No
SARG: Previous reports to keep (--lastlog) = 0
SARG:
SARG: sarg version: 2.3.7 May-30-2013
SARG: Loading User table: ldap
SARG: Cannot bind to LDAP server: Invalid credentials

Попробуй передать учетные данные в формате имя@домен.com

LDAPBindDN имя@домен.com

LDAPBindPW пасворд

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.