ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: [Comm] Re: LDAP
Date: Fri, 11 Apr 2003 18:24:15 +0400
Message-ID: <20030411182415.2ab5b618.vsu@altlinux.ru> (raw)
In-Reply-To: <200304111815.33269.kosha@kp.ru>

On Fri, 11 Apr 2003 18:15:33 +0400
Korshunov Ilya <kosha@kp.ru>(by way of Korshunov Ilya <kosha@kp.ru>) wrote:

> Начинаю, правлю файлик 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 ) 

Естественно - вы же nis.schema удалили, а эти атрибуты как раз оттуда.

> Ок. пишу в 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 где тут ошибка.

При пустой базе надо подцепляться через rootdn и rootpw - тут как
минимум DN не тот, да и rootpw в slapd.conf не указан.


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

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-11 14:15 [Comm] LDAP Korshunov Ilya
2003-04-11 14:24 ` Sergey Vlasov [this message]
2003-04-11 14:31   ` [Comm] LDAP 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=20030411182415.2ab5b618.vsu@altlinux.ru \
    --to=vsu@altlinux.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