On 06/08/2017 03:05 AM, b.kalan@xxxxxxxxxxx wrote: > Hi, yes, I would need a little more help. Now I delete most of records from exported ldif file, that I have simple file for editing and testing. I also deleted {xx}. > > My ldif file is now: > > dn: cn=itnetmanager, cn=schema, cn=config > olcObjectClasses: ( 1.3.6.1.4.1.1332.1000.30.1 NAME 'itPrepaidPinSub' DES > C 'IskratelprepaidPinSub' MUST ( itPrepaidPin $ itDirectoryNumber ) ) > olcObjectClasses: ( 1.3.6.1.4.1.1332.1000.30.2 NAME 'itPrepaidCgPNSub' DE > SC 'IskratelprepaidCgPNSub' MUST ( itCgPN $ itDirectoryNumber ) ) > olcObjectClasses: ( 1.3.6.1.4.1.1332.1000.30.3 NAME 'itPrepaidSubAccount' > DESC 'IskratelprepaidSubAccount' MUST ( itDirectoryNumber $ itAccountStatus > $ itAccountBalance $ itDateOfLastUsed $ itDateOfExpiry $ itLanguageCode $ i > tUnsucRechargeAtt $ itStatGroupId $ itPrepaidSetId)) > olcObjectClasses: ( 1.3.6.1.4.1.1332.1000.30.4 NAME 'itPrepaidSet' DESC ' > IskratelprepaidSet' MUST ( itPrepaidSetId $ itPrepaidSetName $ itWelcomeMsgM > ode $ itLanguageMode $ itCbMode $ itRechargeAuth $ itLockAuth $ itRrReqMode > $ itMaxCallAtt $ itMaxRechargeAtt $ itSimultCallsAuth $ itLowBalanceWarn $ i > tNearExpiryWarn $ itNegAccBalance $ itMaxAccBalance $ itSuspensionDur $ itMi > nCallDur $ itLowBalanceValue1 $ itLowBalanceValue2 $ itCnPNDisplayMode $ itP > repaidSubsType $ itAvailDurMsgAuth $ itAccBalMsgAuth $ itOrgChargeCode $ itV > alidityTime )) > olcObjectClasses: ( 1.3.6.1.4.1.1332.1000.30.5 NAME 'itPrepaidCoupon' DES > C 'IskratelprepaidCoupon' MUST ( itPrepaidCin $ itCouponSerialNr $ itCouponS > tatus $ itAmountChargeUnit $ itDateOfValidity) MAY ( itValidityExtension ) > ) > objectClass: olcSchemaConfig > cn: itnetmanager You need to remove the "olc" from the attribute name. For 389 it must be "objectclasses", and "attributetypes" > > > If I try to import this ldif, I get error: > Entry "cn=itnetmanager,cn=schema,cn=config" has unknown object class "olcSchemaConfig" > > I know that 389 DS doesn't have olcSchemaConfig, but I don't know what to set for ofobjectClass. You would typically use: objectclass: top objectclass: ldapSubentry objectclass: subschema > _______________________________________________ > 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx _______________________________________________ 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx