ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Korshunov Ilya <kosha@kp.ru>(by way of Korshunov Ilya <kosha@kp.ru>)
To: community@altlinux.ru
Subject: [Comm] LDAP
Date: Fri, 11 Apr 2003 18:15:33 +0400
Message-ID: <200304111815.33269.kosha@kp.ru> (raw)

Вот тут в сизифе на вопли о Mozilla adress book посоветовали использовать LDAP
ладно, LDAP так LDAP.....тут спецы есть кто поможет ? (первый раз в глаза вижу 
эту штуку :--)))


Начинаю, правлю файлик slapd.conf  как мне надо, пытаюсь
запустить
[root@kosha openldap]# service ldap start
Starting slapd:/etc/openldap/slapd.conf: line 148: index attribute
 "uidNumber" undefined

Удаляю uidNumber

запускаю

[FAILED]
[root@kosha openldap]# service ldap start
Starting slapd:/etc/openldap/slapd.conf: line 148: index attribute
 "gidNumber" undefined

удаляю gidNumber -  запустились (эти параметры были в оригинальном конфиге от
ALT ) 

Ок. пишу в slapd.conf
database    ldbm
suffix          "dc=kosha,dc=kp"
rootdn          "cn=Manager,dc=kosha,dc=kp"
Перезапускаю ldap


Делаю простейший ldif файл  (исходя из http://www.onlamp.com/lpt/a/3310)

dn:     dc=kosha,dc=kp
objectClass:    top
objectClass:    dcObject
objectClass:    Organization
dc:     ex
o:      KP

[root@kosha openldap]# ldapadd -D 'dc=kosha, dc=kp' -f dir.ldif -W
Enter LDAP Password:
ldap_bind: Invalid credentials
[root@kosha openldap]#

Что дальше делать не знаю, подскажите pls где тут ошибка.

--
Best Regards
Korshunov Ilya


             reply	other threads:[~2003-04-11 14:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-11 14:15 Korshunov Ilya [this message]
2003-04-11 14:24 ` [Comm] LDAP Sergey Vlasov
2003-04-11 14:31   ` Korshunov Ilya
2003-04-11 15:15     ` Korshunov Ilya
2003-04-11 23:07       ` Ablamsky Taras
2003-04-13  6:12         ` Korshunov Ilya
2003-04-15  6:10           ` Igor Muratov
2003-04-15  6:15             ` Korshunov Ilya
2003-04-15  7:36               ` Andriy Dobrovol's'kii
2003-04-15  7:40                 ` Korshunov Ilya
2003-04-15  7:49                   ` Andriy Dobrovol's'kii
2003-04-15  7:57                     ` Korshunov Ilya
2003-04-15  9:41                     ` Re[2]: " Sergey Krivulja

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=200304111815.33269.kosha@kp.ru \
    --to=kosha@kp.ru \
    --cc=community@altlinux.ru \
    /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 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