[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: rebuilding the DIT



On Thu, Feb 11, 2016 at 1:26 PM, Timothy Keith
<timothy.g.keith@gmail.com> wrote:
> On Thu, Feb 11, 2016 at 12:55 PM, Albert Braden <abraden@about.com> wrote:
>> Do you use IRC? I've had good luck getting help on FreeNode, in #ldap and #openldap
>>
>> Even there, people will likely ask you to read the documentation so that you can ask intelligent questions. They're helpful, but they don't want to do your work for you. If you haven't already done so, I would read a lot of this site:
>>
>> http://www.openldap.org/doc/admin24/
>>
>> For diagnostic purposes, I recommend using ldapsearch and other command-line tools instead of a GUI client. A question likely to receive a helpful response would look something like this:
>>
>> I'm running OpenLDAP version X on <OS>, and when I run this command:
>>
>> XXX
>>
>> I see this error:
>>
>> YYY
>>
>> And this appears in slapd.log:
>>
>> ZZZ
>>
>> Here's the relevant section of my config:
>>
>> AAA
>>
>> -----Original Message-----
>> From: openldap-technical [mailto:openldap-technical-bounces@openldap.org] On Behalf Of Timothy Keith
>> Sent: Thursday, February 11, 2016 1:35 PM
>> To: openldap-technical@openldap.org
>> Subject: Re: rebuilding the DIT
>>
>> On Tue, Feb 9, 2016 at 7:02 PM, Timothy Keith <timothy.g.keith@gmail.com> wrote:
>>>  I used slapcat followed by slapadd. The Perl Net::LDAP sounds useful.
>>>
>>> Tim
>>
>>
>> Is there a good forum for newbie openlap questions?
>>
>> I saved another  DIT using slapcat, then loaded using slapadd.  But,
>> that is now returning error code 49 : invalid credentials ( in
>> JXplorer ).  I'm using the rootpw password that
>> is defined in /etc/openldap/ldap.conf
>>
>> Tim
>>
>
> I stopped the service, and then restarted slapd with the -d 1 ( debug
> ) and also used the  -f /etc/openldap/ldap.conf.  Now, it is accepting
> the password for rootdn ( which I have never explicitly changed )
>
> Tim

When the slapd service is launched normally the error 49 still occurs.

When the slapadd loaded the backup ldif it prints :

slapadd: dn="uid=tkeith,ou=Group,dc=pubsys,dc=com" (line=55): (65)
unrecognized objectClass 'inetOrgPerson'

Tim