From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Injected-Via-Gmane: http://gmane.org/ To: sysadmins@lists.altlinux.org From: rami-sergey@rambler.ru Date: Tue, 04 Sep 2007 09:55:29 +0900 Message-ID: References: <20070815125958.GR29984@osdn.org.ua> <20070816093527.730665d4@satellite> <46CC3B38.4090009@mgts.by> <20070823100254.54171605@satellite> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 195.206.63.10 User-Agent: KNode/0.10.5 Sender: news Subject: Re: [Sysadmins] Fwd: [LINUX] jabber? X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: rami-sergey@rambler.ru, ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2007 01:00:02 -0000 Archived-At: List-Archive: Подскажите в чем может быть проблема. Ситуация такая: 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, []} ]}.