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

Re: index data loss issue



> Try this: stop openldap, regenerate indices, start openldap. This
> should take no more than 3 minutes max (depending on the number of
> entries and indices you have). My guess is openldap is confused because
> you added an index to it while it was running.


Seems to make no difference.


Btw, I suppose some more details about the setup might help, eh?  v2.0.23,
sample entry ldif:


dn: uid=blah,ou=People,dc=ivy,dc=tec,dc=in,dc=us
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: ivytechnisclass
Campus: Indianapolis
uid: blah
cn: blah
gidNumber: 100
uidNumber: 15770
homeDirectory: /home/smiller
gecos: My Name,,
description: Lead Reading Instructor
loginShell: /dev/null
mainframeId: uin127
maildrop: blah
mailacceptinggeneralid:


Everything about the schema is the same except for that extra objectclass,
laid out here:


attributetype ( 1.1.2.1.1  NAME 'mainframeId'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.1.2.1.2 NAME 'Campus'
          EQUALITY caseIgnoreMatch
          SUBSTR caseIgnoreSubstringsMatch
          SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.1.2.1.3 NAME 'maildrop'
          EQUALITY caseIgnoreMatch
          SUBSTR caseIgnoreSubstringsMatch
          SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.1.2.1.4 NAME 'mailacceptinggeneralid'
          EQUALITY caseIgnoreMatch
          SUBSTR caseIgnoreSubstringsMatch
          SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

objectClass (1.1.2.2.1 NAME 'ivytechnisclass'
          DESC 'nis extras for ivy tech'
          SUP posixAccount AUXILIARY
          MAY (mainframeId $ Campus $ maildrop $ mailacceptinggeneralid))


Does that help at all?

Thanks,
  John




-- 
John Madden
UNIX Systems Engineer
Ivy Tech State College
jmadden@ivytech.edu