ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Korshunov Ilya <kosha@kp.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] LDAP
Date: Fri, 11 Apr 2003 18:10:50 +0400
Message-ID: <200304111810.50621.kosha@kp.ru> (raw)

LDAP так LDAP.....
Начинаю, правлю файлик slapd.conf  как мне надо (удаляю nis схему), пытаюсь 
запустить 
[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"


Делаю простейший 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:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-11 14:10 Korshunov Ilya [this message]
2003-04-11 14:13 ` Korshunov Ilya
2003-04-11 14:19 ` Maxim Tyurin
2003-04-11 14:26   ` Korshunov Ilya

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=200304111810.50621.kosha@kp.ru \
    --to=kosha@kp.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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