ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: rami-sergey@rambler.ru
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] Fwd: [LINUX] jabber?
Date: Tue, 04 Sep 2007 09:55:29 +0900
Message-ID: <fbiae2$q2f$1@sea.gmane.org> (raw)
In-Reply-To: <20070823100254.54171605@satellite>

Подскажите в чем может быть проблема. Ситуация такая:
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, []}
]}.



  reply	other threads:[~2007-09-04  0:55 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-15 12:59 Michael Shigorin
2007-08-15 13:27 ` Алексей Шенцев
2007-08-15 13:52   ` Ivan Pesin
2007-08-15 14:25     ` Andrey Rahmatullin
2007-08-16 16:24         ` Andrey Rahmatullin
2007-08-15 13:44 ` Andrii Dobrovol`s`kii
2007-08-16  5:35 ` Alex Gorbachenko
2007-08-16 16:21   ` Michael Shigorin
2007-08-21  9:40     ` Alex Gorbachenko
2007-08-21  9:53       ` Алексей Шенцев
2007-08-21 11:48         ` Victor Zhuravlyov
2007-08-21 12:58       ` Michael Shigorin
2007-08-21 14:00         ` Alex Gorbachenko
2007-08-22 13:33   ` Evgeniy Kozhuhovskiy
2007-08-23  6:02     ` Alex Gorbachenko
2007-09-04  0:55       ` rami-sergey [this message]
2007-09-04  4:36         ` Vladimir V. Kamarzin
2007-09-04  4:58           ` rami-sergey
2007-09-05 14:13         ` Alex Gorbachenko
2007-09-07  5:22           ` rami-sergey
2007-09-11 12:42             ` Alex Gorbachenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='fbiae2$q2f$1@sea.gmane.org' \
    --to=rami-sergey@rambler.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git