* [Comm] Проблемы с openldap + sasl
@ 2005-12-29 20:50 alex popov
0 siblings, 0 replies; only message in thread
From: alex popov @ 2005-12-29 20:50 UTC (permalink / raw)
To: community
Собственно, сабж. Симптоматика такова:
Есть ALM 2.4, есть openldap-* поставленый с DVD. Запускается в чруте. При
попытке сказать
----
ldapadd -Dcn=admin,dc=alp,dc=loc -W -f /etc/openldap/ldif/base.ldif
----
вываливается ошибка:
----[ msg ]---------
[root@prima ldif]# ldapadd -Dcn=admin,dc=alp,dc=loc -W -f base.ldif
Enter LDAP Password:
ldap_sasl_interactive_bind_s: No such attribute (16)
--------------------
В логах имею:
----[ log ]---------
Dec 28 15:55:30 prima slapd[3678]: conn=0 fd=11 ACCEPT from
IP=127.0.0.1:1042 (IP=127.0.0.1:389)
Dec 28 15:55:30 prima slapd[3680]: conn=0 op=0 SRCH base="" scope=0
filter="(objectClass=*)"
Dec 28 15:55:30 prima slapd[3680]: conn=0 op=0 SRCH
attr=supportedSASLMechanisms
Dec 28 15:55:30 prima slapd[3680]: conn=0 op=0 ENTRY dn=""
Dec 28 15:55:30 prima slapd[3680]: conn=0 op=0 RESULT tag=101 err=0 text=
Dec 28 15:55:30 prima slapd[3680]: conn=0 fd=11 closed
--------------------
В конфиге лдапа указанный CN прописан. Пароль тоже.
Если в каталог чрута (/var/lib/ldap/...) скопировать библиотеки SASL'а
(usr/lib/libsasl2 + /usr/lib/sasl2/*) вывод немного меняется, но результат
тот же:
----[ msg ]---------
[proot@prima ldif]# ldapadd -Dcn=adin,dc=alp,dc=loc -W -f base.ldif
Enter LDAP Password:
SASL/SRP authentication started
ldap_sasl_interactive_bind_s: Internal (implementation specific) error (80)
additional info: SASL(-13): user not found: no secret in database
--------------------
----[ log ]---------
Dec 28 15:49:10 prima slapd[2987]: conn=10 fd=11 ACCEPT from
IP=127.0.0.1:1040 (IP=127.0.0.1:389)
Dec 28 15:49:10 prima slapd[3002]: conn=10 op=0 SRCH base="" scope=0
filter="(objectClass=*)"
Dec 28 15:49:10 prima slapd[3002]: conn=10 op=0 SRCH
attr=supportedSASLMechanisms
Dec 28 15:49:10 prima slapd[3002]: access_allowed: no res from state
(supportedSASLMechanisms)
Dec 28 15:49:10 prima slapd[3002]: conn=10 op=0 ENTRY dn=""
Dec 28 15:49:10 prima slapd[3002]: conn=10 op=0 RESULT tag=101 err=0 text=
Dec 28 15:49:10 prima ldapadd: SRP client step 1
Dec 28 15:49:10 prima ldapadd: SRP client step 1
Dec 28 15:49:10 prima slapd[3002]: conn=10 op=1 BIND
dn="cn=adin,dc=alp,dc=loc" method=163
Dec 28 15:49:10 prima slapd[3002]: SRP server step 1
Dec 28 15:49:10 prima slapd[3002]: >>> dnNormalize:
<uid=root,cn=SRP,cn=auth>
Dec 28 15:49:10 prima slapd[3002]: <<< dnNormalize:
<uid=root,cn=srp,cn=auth>
Dec 28 15:49:10 prima slapd[3002]: conn=10 op=1 RESULT tag=97 err=80
text=SASL(-13): user not found: no secret in database
Dec 28 15:49:10 prima slapd[2987]: conn=10 fd=11 closed
--------------------
Если ставлю cyrus-sasl2, добавляю в БД сасла пароль для admin или
cn=admin,dc=alp,dc=loc, перекидываю базу в каталог чрута, происходит все
то же самое :(
Помогите, пожалуйста, решить эту проблему. Гугль и яндекс на предмет
подобного промолчали.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-12-29 20:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-29 20:50 [Comm] Проблемы с openldap + sasl alex popov
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git