[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
"dn: cn=admin,cn=config" adding problem
- To: openldap-technical@openldap.org
- Subject: "dn: cn=admin,cn=config" adding problem
- From: Oleg <lego12239@yandex.ru>
- Date: Mon, 11 Nov 2013 15:03:36 +0400
- Authentication-results: smtp9.mail.yandex.net; dkim=pass header.i=@yandex.ru
- Content-disposition: inline
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1384167817; bh=080hwfaNNmIxd1zuS1Ih7vwoma0+p9dB5YvjvOZRSXM=; h=Date:From:To:Subject:Message-ID:Reply-To:MIME-Version: Content-Type:Content-Disposition:User-Agent; b=KWEYYD4Mpyy8ZwdCe46m2m5PYFqcQOn1fC9vz9zxRbPzlh1jomQvUPQudSLxYswcm VO5kbqaFs0MYZ//ZfSaSEc+xqEv0C20PV7ZlhB6rre1igKEckNrzPzXfhRFPz9h3TA RxgJ3TB4kfQp5HcNq0PABqUmGP/6sBYoUcoj41oA=
- User-agent: Mutt/1.5.20 (2009-06-14)
Hello.
Our slapd listens on outer interfaces and i want to create an access rule
for rootdn to allow admin access only from 127.0.0.1 ip. So, i try to add
"dn: cn=admin,cn=config" record to config database:
~# cat admin.ldif
dn: cn=admin,cn=config
objectClass: person
cn: admin
sn: admin
userPassword: 1
~# ldapadd -xWD 'cn=admin,cn=config' -f admin.ldif
Enter LDAP Password:
adding new entry "cn=admin,cn=config"
ldap_add: Object class violation (65)
I got no extra info, just this. According to core.schema mandatory fields are
only cn and sn. So, i don't understand why i see this error. Can anybody help
me?
Thanks.