Проблема работы vcard_ldap после обновления.

Quote:

Доброе. Помогите решить проблему после обновления. Была у нас версия 13.12, пока было 200 аккаунтов, все было нормально.Как мы начали добавлять аватарки и число перевалило за 400. Чат начал вылетать (обрывать соединения) и vcard перестал работать. Мы решили обновить на 15.03. Перекодировали файлы. Но результата нет. Обрывать соединение он перестал, но vcard так и не работает.

Вот мои настройки после конвертирования - начало

[quote] Good. Help solve the problem after the upgrade. We had a version 13.12, while there were 200 accounts, it was noralno.Kak we started adding avatars and the number exceeded 400. Chat began to take off (break off the connection) and vcard stopped working. We decided to upgrade to 15.03. Transcode files. But there is no result. Hang up the he stopped, but vcard and does not work.

Here are my settings after conversion - beginning

auth_method: ldap
ldap_group: "cn=Users,dc=***,dc=local"
ldap_rootdn: "cn=jabber,cn=users,dc=***,dc=local"
ldap_password: "***"
ldap_port: 389
ldap_base: "dc=***,dc=local"
ldap_servers:
   - "192.168.1.9"
   - "192.168.1.21"
ldap_uids:
   - "sAMAccountName"

vcard - настройки

mod_shared_roster_ldap:
    ldap_rfilter: "(objectClass=user)"
    ldap_filter: "(&(objectClass=user)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))"
    ldap_groupattr: "department"
    ldap_memberattr: "sAMAccountName"
    ldap_userdesc: "displayName"
  mod_stats: []
  mod_time: []
  mod_vcard_ldap:
    ldap_servers:
     - "192.168.1.9"
     - "192.168.1.21"
    ldap_rootdn: "sAMAccountName=jabberd,dc=***,dc=local"
    ldap_password: "***"
    ldap_port: 389
    ldap_base: "ou=Users,dc=***,dc=local"
    ldap_uids:
      -"%u@***.local"
#     "sAMAccountName": "%u" и так пробовал не хочет работать

Сам чат работает но не vcard

По логам
<0.417.0>@eldap:report_bind_failure:1050 LDAP bind failed on 192.168.1.21:389
Reason: invalidCredentials
Описания я так и не нашел. Единственное что нашел, нужно было пароль по проще, менял результат тот же
The descriptions I have not found. The only thing that I found it was necessary password easier changed the result is the same

С запуском vcard решил,

С запуском vcard решил, просто закомментировал значение:
-----
# ldap_servers:
# - "192.168.1.9"
# - "192.168.1.21"
# ldap_rootdn: "cn=***,dc=***,dc=local"
# ldap_password: "***"
# ldap_port: 389
ldap_uids:
"sAMAccountName": "%u"
----
Ну когда клиентов свыше 100. То обрыв и vcard не обновляет. Есть у кого нибудь решения. Как то уменьшить запросы к AD. Или внешнию базу держать, данный хранить в mySQL но не знаю как выбирать из AD.

Syndicate content