ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] проблема со связкой courier-imap+ldap
@ 2007-04-12  8:23 Алексей Данилович
  2007-04-12 10:57 ` Dmitry Lebkov
  0 siblings, 1 reply; 3+ messages in thread
From: Алексей Данилович @ 2007-04-12  8:23 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Доброго времени суток.

Пытаюсь поднять связку OpenXchange (из 3.0) +postfix+courier-imap+ldap.
Система компакт 3.0 + updates+backports, правда не самые новые. Скажу
сразу, курьером и лдапом ранее не приходилось заниматься, посему
вопрос могет быть глупый. Поставил и настроил связку из сабджа
согласно http://unix.nordcomp.ru/articles.html?id=20. Когда клиентом
(Thunderbird) пытаюсь получить почту, в логах про ldap получается
следующее:

Apr 12 14:19:51 gw_bases slapd[18072]: conn=243 fd=9 ACCEPT from
IP=172.23.1.249:57687 (IP=0.0.0.0:389)
Apr 12 14:19:51 gw_bases slapd[18081]: conn=243 op=0 BIND
dn="cn=courier,ou=Daemons,dc=msk,dc=mysite,dc=ru" method=128
Apr 12 14:19:51 gw_bases slapd[18081]: conn=243 op=0 BIND
dn="cn=courier,ou=Daemons,dc=msk,dc=mysite,dc=ru" mech=SIMPLE ssf=0
Apr 12 14:19:51 gw_bases slapd[18081]: conn=243 op=0 RESULT tag=97 err=0 text=
Apr 12 14:19:51 gw_bases slapd[18081]: conn=243 op=1 SRCH
base="ou=Users,ou=OxObjects,dc=msk,dc=mysite,dc=ru" scope=2 deref=0
filter="(mail=tst11)"
Apr 12 14:19:51 gw_bases slapd[18081]: conn=243 op=1 SRCH
attr=homeDirectory cn clearPassword userPassword mail
Apr 12 14:19:51 gw_bases slapd[18081]: conn=243 op=1 SEARCH RESULT
tag=101 err=0 nentries=0 text=
Apr 12 14:19:56 gw_bases slapd[18072]: conn=244 fd=13 ACCEPT from
IP=172.23.1.249:57688 (IP=0.0.0.0:389)
Apr 12 14:19:56 gw_bases slapd[18081]: conn=244 op=0 BIND
dn="cn=courier,ou=Daemons,dc=msk,dc=mysite,dc=ru" method=128
Apr 12 14:19:56 gw_bases slapd[18081]: conn=244 op=0 BIND
dn="cn=courier,ou=Daemons,dc=msk,dc=mysite,dc=ru" mech=SIMPLE ssf=0
Apr 12 14:19:56 gw_bases slapd[18081]: conn=244 op=0 RESULT tag=97 err=0 text=
Apr 12 14:19:56 gw_bases slapd[18081]: conn=244 op=1 SRCH
base="ou=Users,ou=OxObjects,dc=msk,dc=mysite,dc=ru" scope=2 deref=0
filter="(mail=tst11)"
Apr 12 14:19:56 gw_bases slapd[18081]: conn=244 op=1 SRCH
attr=homeDirectory cn clearPassword userPassword mail
Apr 12 14:19:56 gw_bases slapd[18081]: conn=244 op=1 SEARCH RESULT
tag=101 err=0 nentries=0 text=

Подскажите, плз, что означают эти коды в ответах сервера? Понял ли
вообще он, где что искать, или вообще ничего не срослось?
Заранее большое спасибо.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] проблема со связкой courier-imap+ldap
  2007-04-12  8:23 [Sysadmins] проблема со связкой courier-imap+ldap Алексей Данилович
@ 2007-04-12 10:57 ` Dmitry Lebkov
  2007-04-14 19:31   ` Алексей Данилович
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Lebkov @ 2007-04-12 10:57 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

Алексей Данилович wrote:
> Доброго времени суток.
> 
> Пытаюсь поднять связку OpenXchange (из 3.0) +postfix+courier-imap+ldap.
> Система компакт 3.0 + updates+backports, правда не самые новые. Скажу
> сразу, курьером и лдапом ранее не приходилось заниматься, посему
> вопрос могет быть глупый. Поставил и настроил связку из сабджа
> согласно http://unix.nordcomp.ru/articles.html?id=20. Когда клиентом
> (Thunderbird) пытаюсь получить почту, в логах про ldap получается
> следующее:
> 
> Apr 12 14:19:51 gw_bases slapd[18072]: conn=243 fd=9 ACCEPT from
> IP=172.23.1.249:57687 (IP=0.0.0.0:389)
> Apr 12 14:19:51 gw_bases slapd[18081]: conn=243 op=0 BIND
> dn="cn=courier,ou=Daemons,dc=msk,dc=mysite,dc=ru" method=128
> Apr 12 14:19:51 gw_bases slapd[18081]: conn=243 op=0 BIND
> dn="cn=courier,ou=Daemons,dc=msk,dc=mysite,dc=ru" mech=SIMPLE ssf=0
> Apr 12 14:19:51 gw_bases slapd[18081]: conn=243 op=0 RESULT tag=97 err=0 text=
> Apr 12 14:19:51 gw_bases slapd[18081]: conn=243 op=1 SRCH
> base="ou=Users,ou=OxObjects,dc=msk,dc=mysite,dc=ru" scope=2 deref=0
> filter="(mail=tst11)"
> Apr 12 14:19:51 gw_bases slapd[18081]: conn=243 op=1 SRCH
> attr=homeDirectory cn clearPassword userPassword mail
> Apr 12 14:19:51 gw_bases slapd[18081]: conn=243 op=1 SEARCH RESULT
> tag=101 err=0 nentries=0 text=

OpenLDAP успешно принял соедиение, обработал запрос на поиск но ничего не
нашел в ветке "ou=Users,ou=OxObjects,dc=msk,dc=mysite,dc=ru" по условию
"mail=tst11". Либо не то ищет, либо не так, либо у "cn=couritr,..." не
хватает прав в LDAP-каталоге. ;)

А атрибут mail у объектов в LDAP-каталоге "ou=Users,ou=OxObjects,dc=msk,dc=mysite,dc=ru"
точно без доменной части?

-- 
WBR, Dmitry Lebkov


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Sysadmins] проблема со связкой courier-imap+ldap
  2007-04-12 10:57 ` Dmitry Lebkov
@ 2007-04-14 19:31   ` Алексей Данилович
  0 siblings, 0 replies; 3+ messages in thread
From: Алексей Данилович @ 2007-04-14 19:31 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

2007/4/12, Dmitry Lebkov <dima@sakhalin.ru>:
...
> А атрибут mail у объектов в LDAP-каталоге "ou=Users,ou=OxObjects,dc=msk,dc=mysite,dc=ru"
> точно без доменной части?
Да, точно.... Спасибо. Тут заработало, другие баги полезли. Пошел разбираться.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-14 19:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-12  8:23 [Sysadmins] проблема со связкой courier-imap+ldap Алексей Данилович
2007-04-12 10:57 ` Dmitry Lebkov
2007-04-14 19:31   ` Алексей Данилович

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