[Sysadmins] Fwd: [LINUX] jabber?
=?iso-8859-1?q?rami-sergey_=CE=C1_rambler=2Eru?=
=?iso-8859-1?q?rami-sergey_=CE=C1_rambler=2Eru?=
Вт Сен 4 04:55:29 MSD 2007
Подскажите в чем может быть проблема. Ситуация такая:
openldap-servers-2.3.37-alt1
openldap-clients-2.3.37-alt1
и прочие пакеты касающиеся лдапа.
ejabberd-1.1.3-alt1
Сам лдап работает нормально, но жаббер ни в какую не хочет брать юзеров с
лдапа. При запуске из консоли пишет следующее:
---- Message:[{'LDAPMessage',
1,
{bindRequest,
{'BindRequest',
3,
"cn=Manager,dc=btp,dc=local",
{simple,"password"}}},
asn1_NOVALUE}]
---- Message:[{'LDAPMessage',
1,
{bindRequest,
{'BindRequest',
3,
"cn=Manager,dc=btp,dc=local",
{simple,"password"}}},
asn1_NOVALUE}]
---- [{'LDAPMessage',
1,
{bindResponse,
{'BindResponse',success,[],[],asn1_NOVALUE,asn1_NOVALUE}},
asn1_NOVALUE}]---- [{'LDAPMessage',
1,
{bindResponse,
{'BindResponse',success,[],[],asn1_NOVALUE,asn1_NOVALUE}},
asn1_NOVALUE}]---- Message:[{'LDAPMessage',1,
{bindRequest,{'BindRequest',3,[],{simple,[]}}},
asn1_NOVALUE}]
и так без остановки...
вот конфиг:
{acl, admin, {user, "master", "rami.btp"}}.
{acl, admin, {user, "rami", "rami.btp"}}.
{acl, local, {user_regexp, "*rami.btp"}}.
{access, pubsub_createnode, [{allow, all}]}.
{access, configure, [{allow, admin}]}.
{access, register, [{allow, all}]}.
{welcome_message, {"Поздравляем!",
"Вы успешно зарегистрировались на Jabber-сервере.",
"За дополнительной информацией о Jabber обращайтесь по адресу
http://jabber.org"}
}.
{registration_watchers, ["master на rami.btp", "rami на rami.btp"]}.
{access, announce, [{allow, admin}]}.
{access, c2s, [{deny, blocked}, {allow, all}]}.
{shaper, normal, {maxrate, 1000}}.
{shaper, fast, {maxrate, 50000}}.
{access, c2s_shaper, [{none, admin},
{normal, all}]}.
{access, s2s_shaper, [{fast, all}]}.
{access, muc_admin, [{allow, admin}]}.
{access, muc, [{allow, all}]}.
{access, local, [{allow, local}]}.
{host, "rami.btp"}.
{host_config, "rami.btp", [{auth_method, ldap}]}.
{ldap_servers, ["Rami.btp"]}.
{ldap_uidattr, "uid"}.
{ldap_base, "dc=btp,dc=local"}.
{ldap_rootdn, "cn=Manager,dc=btp,dc=local"}.
{ldap_password, "password"}.
{max_user_sessions, 10}.
{language, "ru"}.
{listen,
{5222, ejabberd_c2s, [{access, c2s},
zlib,
starttls, {certfile, "/etc/ejabberd/ssl/ejabberd.pem"},
{max_stanza_size, 65536},
{shaper, c2s_shaper}]},
{5223, ejabberd_c2s, [{access, c2s},
zlib,
tls, {certfile, "/etc/ejabberd/ssl/ejabberd.pem"},
{max_stanza_size, 65536},
{shaper, c2s_shaper}]},
{5269, ejabberd_s2s_in, [
starttls, {certfile, "/etc/ejabberd/ssl/ejabberd.pem"},
{max_stanza_size, 131072},
{shaper, s2s_shaper}]},
{5555, ejabberd_service, [
{ip, {127, 0, 0, 1}},
{access, all},
{hosts, ["icq.rami.btp", "sms.icq.rami.btp"],
[{password, "icqpass"}]}]},
{5280, ejabberd_http, [http_poll, web_admin]}
]}.
{s2s_use_starttls, true}.
{s2s_certfile, "/etc/ejabberd/ssl/ejabberd.pem"}.
{outgoing_s2s_port, 5269}.
%
used to communicate with remote server
{modules, [{mod_register, [{access, register}]},
{mod_roster, [{iqdisc, no_queue}]},
{mod_shared_roster, [{iqdisc, no_queue}]},
{mod_logmnesia, []},
{mod_privacy, []},
{mod_configure, []},
{mod_configure2, []},
{mod_disco, [{extra_domains,
["users.jabber.org", "icq.rami.btp", "sms.icq.rami.btp"]}]},
{mod_stats, []},
{mod_vcard, []},
{mod_vcard_ldap, [
{ldap_rootdn, ""},
{ldap_password, ""},
{ldap_base, "ou=Users,dc=btp,dc=ru"},
{ldap_uidattr, "mail"},
{ldap_uidattr_format, "%u на Rami.btp"},
{ldap_filter, ""},
{ldap_vcard_map,
[{"NICKNAME", "%u", []},
{"GIVEN", "%s", ["givenName"]},
{"FAMILY", "%s", ["sn"]},
{"FN", "%s, %s", ["sn", "givenName"]},
{"EMAIL", "%s", ["mail"]},
{"BDAY", "%s", ["birthDay"]}]},
{ldap_search_fields,
[{"User", "%u"},
{"Name", "givenName"},
{"Family Name", "sn"},
{"Email", "mail"},
{"Birthday", "birthDay"}]},
{ldap_search_reported,
[{"Full Name", "FN"},
{"Nickname", "NICKNAME"},
{"Birthday", "BDAY"}]}
]},
{mod_offline, []},
{mod_announce, [{access, announce}]},
{mod_echo,
[{host, "echo.rami.btp"}]},
{mod_private, []},
{mod_irc, []},
{mod_muc,[host: "conference." ++ ?MYNAME
{access, muc},
{access_create, muc},
{access_admin, muc_admin}]},
{mod_pubsub, [{access_createnode, pubsub_createnode},
{served_hosts, ["localhost", "rami.btp"]}]},
{mod_time, []},
{mod_last, []},
{mod_version, []}
]}.
Подробная информация о списке рассылки Sysadmins