44
NOTE
Itisrecommendedthattheserverbepermittedtogeneratethisname.However,
incertaincircumstances,forexample,inreplicarolechanges(mastertohub
etc.),thisvalueneedstobespecified.Otherwise,theserverwillnotusethe
correctchangelogdatabase,andreplicationfails.
Thisattributeisdestinedforinternaluseonly.
Parameter
Description
EntryDN
cn=replica,cn=suffixDN,cn=mappingtree,
cn=config
ValidValues
DefaultValue
Syntax
DirectoryString(aUIDidentifiesthereplica)
Example
nsDS5ReplicaName:
66a2b699-1dd211b2-807fa9c3-a58714648
3.7.7.nsDS5ReplicaPurgeDelay
Thisattributecontrolsthemaximumageofupdateoperationsandstateinformation.
TheDirectoryServerstoresupdates—operationslikeadds,modifies,anddeletes—sothatit
canreplaythoseupdatestootherreplicas.Itkeepsthoseupdatesinthechangelogandas
stateinformationinthemaindatabaseaschangesequencenumbers(CSN)andtombstone
entriesforsomeperiodoftimeaftertheyhavebeenreplayed,incaseareplicaneedstobe
broughtuptodatewithouthavingtodoafullreinitialization.AninternalDirectoryServer
housekeepingoperationperiodicallyremovesupdatesandstateinformationolderthanthe
valueofthisattribute(inseconds).Noteveryupdatemayberemoved.Theservermayneedto
keepasmallnumberofthelatestupdatestoprimereplication,eveniftheyareolderthanthe
valueoftheattribute.Thisattributespecifiestheperiodoftimeinsecondsafterwhichinternal
purgeoperationsareperformedonthechangelog.Whensettingthisattribute,ensurethatthe
purgedelayislongerthanthelongestreplicationcycleinthereplicationpolicytoavoidincurring
conflictresolutionproblemsandserverdivergence.
Parameter
Description
EntryDN
cn=replica,cn=suffixDN,cn=mappingtree,
cn=config
ValidRange
0(keepforever)tomaximum32-bitinteger
(2147483647)
DefaultValue
604800[1week(60x60x24x7)]
Chapter2.CoreServerConfigurationReference
82
47
Parameter
Description
Syntax
Integer
Example
nsDS5ReplicaPurgeDelay:604800
3.7.8.nsDS5ReplicaReferral
Thismulti-valuedattributespecifiestheuser-definedreferrals.Thisshouldonlybedefinedona
consumer.Userreferralsareonlyreturnedwhenaclientattemptstomodifydataonaread-only
consumer.Thisoptionalreferraloverridesthereferralthatisautomaticallyconfiguredbythe
consumerbythereplicationprotocol.
Parameter
Description
EntryDN
cn=replica,cn=suffixDN,cn=mappingtree,
cn=config
ValidValues
AnyvalidLDAPURL
DefaultValue
Syntax
DirectoryString
Example
nsDS5ReplicaReferral:
ldap://ldap.example.com
3.7.9.nsDS5ReplicaRoot
ThisattributesetstheDNattherootofareplicatedarea.Thisattributemusthavethesame
valueasthesuffixofthedatabasebeingreplicatedandcannotbemodified.
Parameter
Description
EntryDN
cn=replica,cn=suffixDN,cn=mappingtree,
cn=config
ValidValues
Suffixofthedatabasebeingreplicated,which
isthesuffixDN
DefaultValue
Syntax
DirectoryString
Example
nsDS5ReplicaRoot:"dc=example,dc=com"
3.7.10.nsDS5ReplicaTombstonePurgeInterval
Thisattributespecifiesthetimeintervalinsecondsbetweenpurgeoperationcycles.
Periodically,theserverrunsaninternalhousekeepingoperationtopurgeoldupdateandstate
informationfromthechangelogandthemaindatabase.SeeSection3.7.7,
“nsDS5ReplicaPurgeDelay” .
ReplicationAttributesundercn=replica,
83
VB.NET PDF: Basic SDK Concept of XDoc.PDF features can be integrated into your VB.NET project, such as annotation creating, deleting, modifying This class describes bookmarks in a PDF document.
how to bookmark a page in pdf document; how to bookmark a pdf file in acrobat
53
Whensettingthisattribute,rememberthatthepurgeoperationistime-consuming,especiallyif
theserverhandlesmanydeleteoperationsfromclientsandsuppliers.
Parameter
Description
EntryDN
cn=replica,cn=suffixDN,cn=mappingtree,
cn=config
ValidRange
0tomaximum32-bitinteger(2147483647)in
seconds
DefaultValue
86400(1day)
Syntax
Integer
Example
nsDS5ReplicaTombstonePurgeInterval:
86400
3.7.11.nsDS5ReplicaType
Definesthetypeofreplicationrelationshipthatexistsbetweenthisreplicaandtheothers.
Parameter
Description
EntryDN
cn=replica,cn=suffixDN,cn=mappingtree,
cn=config
ValidValues
0|1|2|3
0meansunknown
1meansprimary(notyetused)
2meansconsumer(read-only)
3consumer/supplier(updateable)
DefaultValue
Syntax
Integer
Example
nsDS5ReplicaType:2
3.7.12.nsDS5ReplicaReapActive
Thisread-onlyattributespecifieswhetherthebackgroundtaskthatremovesoldtombstones
(deletedentries)fromthedatabaseisactive.SeeSection3.7.10,
“nsDS5ReplicaTombstonePurgeInterval” formoreinformationaboutthistask.Avalueof
0
meansthatthetaskisinactive,andavalueof
1
meansthatthetaskisactive.Theserver
ignoresthemodifyrequestifthisvalueissetmanually.
Parameter
Description
EntryDN
cn=replica,cn="suffixDN”,cn=mapping
tree,cn=config
ValidValues
0|1
Chapter2.CoreServerConfigurationReference
84
How to C#: Basic SDK Concept of XDoc.PDF for .NET annotation features can be integrated into your C# project, such as annotation creating, deleting, modifying This class describes bookmarks in a PDF document
pdf export bookmarks; export pdf bookmarks to excel How to C#: Basic SDK Concept of XDoc.PowerPoint Conversely, conversion from PDF to PowerPoint (.PPTX C# project, such as annotation creating, deleting, modifying This class describes bookmarks in a PowerPoint
add bookmarks to pdf preview; adding bookmarks to pdf document
59
Parameter
Description
DefaultValue
Syntax
Integer
Example
nsDS5ReplicaReapActive:0
3.7.13.nsState
Thisattributestoresinformationonthestateoftheclock.Itisdesignedonlyforinternaluseto
ensurethattheservercannotgenerateachangesequencenumber(
csn
)inferiortoexisting
onesrequiredfordetectingbackwardclockerrors.
3.7.14.nsDS5ReplConflict
Althoughthisattributeisnotinthe
cn=replica
entry,itisusedinconjunctionwithreplication.
Thismulti-valuedattributeisincludedonentriesthathaveachangeconflictthatcannotbe
resolvedautomaticallybythesynchronizationprocess.Tocheckforreplicationconflicts
requiringadministratorintervention,performanLDAPsearchfor(
nsDS5ReplConflict=*
).For
example:
ldapsearch -D D cn=directory y manager r -w password d -s s sub -b b dc=example,dc=com
"(|(objectclass=nsTombstone)(nsDS5ReplConflict=*))" dn
nsDS5ReplConflict nsUniqueID
Usingthesearchfilter
"(objectclass=nsTombstone)"
alsoshowtombstone(deleted)entries.
Thevalueofthe
nsDS5ReplConflict
containsmoreinformationaboutwhichentriesarein
conflict,usuallybyreferringtothembytheir
nsUniqueID
.Itispossibletosearchfora
tombstoneentrybyits
nsUniqueID
.Forexample:
ldapsearch -D D cn=directory y manager r -w password d -s s sub -b b dc=example,dc=com
"(|(objectclass=nsTombstone)(nsUniqueID=66a2b699-1dd211b2-807fa9c3-a58714648))"
3.8.ReplicationAttributesunder
cn=ReplicationAgreementName,cn=replica,cn="suffixName",
cn=mappingtree,cn=config
Thereplicationattributesthatconcernthereplicationagreementarestoredunder
cn=
ReplicationAgreementName,
cn=replica, cn=
suffixDN,
cn=mapping tree, cn=config
.
The
cn=
ReplicationAgreementNameentryisaninstanceofthe
nsDS5ReplicationAgreement
objectclass.Replicationagreementsareconfiguredonlyonsupplierreplicas.
3.8.1.cn
Thisattributeisusedfornaming.Oncethisattributehasbeenset,itcannotbemodified.This
cn="suffixDN",cn=mappingtree,cn=config
85
How to C#: Basic SDK Concept of XDoc.Word Conversely, conversion from PDF to Word (.docx) is C# project, such as annotation creating, deleting, modifying This class describes bookmarks in a Word document
excel hyperlink to pdf bookmark; excel pdf bookmarks How to C#: Basic SDK Concept of XDoc.Excel Conversely, conversion from PDF to Excel (.XLSX) is also C# project, such as annotation creating, deleting, modifying This class describes bookmarks in a Excel
copy pdf bookmarks to another pdf; create bookmark pdf
53
attributeisrequiredforsettingupareplicationagreement.
Parameter
Description
EntryDN
cn=ReplicationAgreementName,cn=replica,
cn=suffixDN,cn=mappingtree,cn=config
ValidValues
Anyvalid
cn
DefaultValue
Syntax
DirectoryString
Example
cn:MasterAtoMasterB
3.8.2.description
Freeformtextdescriptionofthereplicationagreement.Thisattributecanbemodified.
Parameter
Description
EntryDN
cn=ReplicationAgreementName,cn=replica,
cn=suffixDN,cn=mappingtree,cn=config
ValidValues
Anystring
DefaultValue
Syntax
DirectoryString
Example
description:ReplicationAgreementbetween
ServerAandServerB.
3.8.3.nsDS5ReplicaBindDN
ThisattributesetstheDNtousewhenbindingtotheconsumerduringreplication.Thevalueof
thisattributemustbethesameastheonein
cn=replica
ontheconsumerreplica.Thismaybe
emptyifcertificate-basedauthenticationisused,inwhichcasetheDNusedisthesubjectDNof
thecertificate,andtheconsumermusthaveappropriateclientcertificatemappingenabled.This
canalsobemodified.
Parameter
Description
EntryDN
cn=ReplicationAgreementName,cn=replica,
cn=suffixDN,cn=mappingtree,cn=config
ValidValues
AnyvalidDN(canbeemptyifclient
certificatesareused)
DefaultValue
Syntax
DirectoryString
Example
nsDS5ReplicaBindDN:cn=replication
manager,cn=config
Chapter2.CoreServerConfigurationReference
86
62
3.8.4.nsDS5ReplicaBindMethod
Thisattributesetsthemethodtouseforbinding.Thisattributecanbemodified.
Parameter
Description
EntryDN
cn=ReplicationAgreementName,cn=replica,
cn=suffixDN,cn=mappingtree,cn=config
ValidValues
SIMPLE|SSLCLIENTAUTH
The
SIMPLE
bindmethodrequiresaDNand
password.
DefaultValue
SIMPLE
Syntax
DirectoryString
Example
nsDS5ReplicaBindMethod:SIMPLE
3.8.5.nsDS5ReplicaBusyWaitTime
Thisattributesetstheamountoftimeinsecondsasuppliershouldwaitafteraconsumersends
backabusyresponsebeforemakinganotherattempttoacquireaccess.Thedefaultvalueis
three(3)seconds.Iftheattributeissettoanegativevalue,DirectoryServersendstheclienta
messageandan
LDAP_UNWILLING_TO_PERFORM
errorcode.
The
nsDS5ReplicaBusyWaitTime
attributeworksinconjunctionwiththe
nsDS5ReplicaSessionPauseTime
attribute.Thetwoattributesaredesignedsothatthe
nsDS5ReplicaSessionPauseTime
intervalisalwaysatleastonesecondlongerthantheinterval
specifiedfor
nsDS5ReplicaBusyWaitTime
.Thelongerintervalgiveswaitingsuppliersabetter
chancetogainconsumeraccessbeforetheprevioussuppliercanre-accesstheconsumer.
Setthe
nsDS5ReplicaBusyWaitTime
attributeatanytimebyusing
changetype:modify
with
the
replace
operation.Thechangetakeseffectforthenextupdatesessionifoneisalreadyin
progress.
Parameter
Description
EntryDN
cn=ReplicationAgreementName,cn=replica,
cn=suffixDN,cn=mappingtree,cn=config
ValidValues
Anyvalidinteger
DefaultValue
3
Syntax
Integer
Example
nsDS5ReplicaBusyWaitTime:3
3.8.6.nsDS5ReplicaChangesSentSinceStartup
ReplicationAttributesunder
87
53
Thisread-onlyattributeshowsthenumberofchangessenttothisreplicasincetheserver
started.
Parameter
Description
EntryDN
cn=ReplicationAgreementName,cn=replica,
cn=suffixDN,cn=mappingtree,cn=config
ValidRange
0tomaximum32-bitinteger(2147483647)
DefaultValue
Syntax
Integer
Example
nsDS5ReplicaChangesSentSinceStartup:647
3.8.7.nsDS5ReplicaCredentials
ThisattributesetsthecredentialsforthebindDN(specifiedinthe
nsDS5ReplicaBindDN
attribute)ontheremoteservercontainingtheconsumerreplica.Thevalueforthisattributecan
bemodified.Whencertificate-basedauthenticationisused,thisattributemaynothaveavalue.
Theexampleshowsthe
dse.ldif
entry,nottheactualpassword.IfthisvalueoverLDAPor
usingtheConsole,setittothecleartextcredentials,andlettheserverencryptthevalue.
Parameter
Description
EntryDN
cn=ReplicationAgreementName,cn=replica,
cn=suffixDN,cn=mappingtree,cn=config
ValidValues
Anyvalidpassword,whichisthenencrypted
usingtheDESreversiblepasswordencryption
schema.
DefaultValue
Syntax
DirectoryString{DES}encrypted_password
Example
nsDS5ReplicaCredentials:{DES}
9Eko69APCJfF08A0aD0C
3.8.8.nsDS5ReplicaHost
Thisattributesetsthehostnamefortheremoteservercontainingtheconsumerreplica.Once
thisattributehasbeenset,itcannotbemodified.
Parameter
Description
EntryDN
cn=ReplicationAgreementName,cn=replica,
cn=suffixDN,cn=mappingtree,cn=config
ValidValues
Anyvalidhostservername
DefaultValue
Syntax
DirectoryString
Chapter2.CoreServerConfigurationReference
88
51
Parameter
Description
Example
nsDS5ReplicaHost:ldap2.example.com
3.8.9.nsDS5ReplicaLastInitEnd
Thisoptional,read-onlyattributestateswhentheinitializationoftheconsumerreplicaended.
Parameter
Description
EntryDN
cn=ReplicationAgreementName,cn=replica,
cn=suffixDN,cn=mappingtree,cn=config
ValidValues
YYYYMMDDhhmmssZisthedate/timein
GeneralizedTimeformatwhichthe
connectionwasopened.Thisvaluegivesthe
timeinrelationtoGreenwichMeanTime.The
hoursaresetwitha24-hourclock.The
Z
at
theendindicatesthatthetimeisrelativeto
GreenwichMeanTime.
DefaultValue
Syntax
GeneralizedTime
Example
nsDS5ReplicaLastInitEnd:20070504121603Z
3.8.10.nsDS5ReplicaLastInitStart
Thisoptional,read-onlyattributestateswhentheinitializationoftheconsumerreplicastarted.
Parameter
Description
EntryDN
cn=ReplicationAgreementName,cn=replica,
cn=suffixDN,cn=mappingtree,cn=config
ValidValues
YYYYMMDDhhmmssZisthedate/timein
GeneralizedTimeformatwhichthe
connectionwasopened.Thisvaluegivesthe
timeinrelationtoGreenwichMeanTime.The
hoursaresetwitha24-hourclock.The
Z
at
theendindicatesthatthetimeisrelativeto
GreenwichMeanTime.
DefaultValue
Syntax
GeneralizedTime
Example
nsDS5ReplicaLastInitStart:20070503030405
3.8.11.nsDS5ReplicaLastInitStatus
cn=ReplicationAgreementName,cn=replica,
89
54
Thisoptional,read-onlyattributeprovidesstatusfortheinitializationoftheconsumer.Thereis
typicallyanumericcodefollowedbyashortstringexplainingthestatus.Zero(
0
)means
success.
Parameter
Description
EntryDN
cn=ReplicationAgreementName,cn=replica,
cn=suffixDN,cn=mappingtree,cn=config
ValidValues
0(ConsumerInitializationSucceeded),
followedbyanyotherstatusmessage.
DefaultValue
Syntax
String
Example
nsDS5ReplicaLastUpdateStatus:0Total
updatesucceeded
3.8.12.nsDS5ReplicaLastUpdateEnd
Thisread-onlyattributestateswhenthemostrecentreplicationscheduleupdateended.
Parameter
Description
EntryDN
cn=ReplicationAgreementName,cn=replica,
cn=suffixDN,cn=mappingtree,cn=config
ValidValues
YYYYMMDDhhmmssZisthedate/timein
GeneralizedTimeformatwhichthe
connectionwasopened.Thisvaluegivesthe
timeinrelationtoGreenwichMeanTime.The
hoursaresetwitha24-hourclock.The
Z
at
theendindicatesthatthetimeisrelativeto
GreenwichMeanTime.
DefaultValue
Syntax
GeneralizedTime
Example
nsDS5ReplicaLastUpdateEnd:
20070502175801Z
3.8.13.nsDS5ReplicaLastUpdateStart
Thisread-onlyattributestateswhenthemostrecentreplicationscheduleupdatestarted.
Parameter
Description
EntryDN
cn=ReplicationAgreementName,cn=replica,
cn=suffixDN,cn=mappingtree,cn=config
ValidValues
YYYYMMDDhhmmssZisthedate/timein
GeneralizedTimeformatwhichthe
Chapter2.CoreServerConfigurationReference
90
Documents you may be interested
Documents you may be interested