[MacTUG] Open Directory replication and failover?

Ian Turner iturner at uwaterloo.ca
Thu Jun 23 12:52:40 EDT 2011


well, thanks to a sharp-eyed co-worker (thanks Lawrence)

it turns out my mental syntax checker had the bug

<array/> is really short-hand for <array>   </array>

So this is not a bug report, it's just the missing content, I'm worried 
about!!!

too long a day, already

Ian

On 2011/06/23 10:36 , Ian Turner wrote:
> followup
> I may have found a bug, which I tried to report to Apple
>
> it looks like the client is getting missing/malformed info
>
> dscl localhost etc gets us to a list of Replicas; the key is there; but
> it is followed by a </array>
>
> there is NO preceeding <array>, nor any content
>
>
> edited to remove site specific "stuff"
>
> /Search/Config > read ldapreplicas/
> dsAttrTypeNative:apple-ldap-replica: ldap://removed
> dsAttrTypeNative:apple-ldap-writable-replica: ldap://removed
> dsAttrTypeNative:apple-xmlplist:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>IPaddresses</key>
> <array>
> <string>removed</string>
> </array>
> <key>ReplicaName</key>
> <string>Master</string>
> <key>Replicas</key>
> <array/> ************** <---------------
> </dict>
> </plist>
>
> dsAttrTypeNative:cn: ldapreplicas
> dsAttrTypeNative:objectClass: apple-configuration top
> AppleMetaNodeLocation: /LDAPv3/removed
> LDAPReadReplicas: ldap://removed
> LDAPWriteReplicas: ldap://removed
> RecordName: ldapreplicas
> RecordType: dsRecTypeStandard:Config
> XMLPlist:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
> <key>IPaddresses</key>
> <array>
> <string>removed</string>
> </array>
> <key>ReplicaName</key>
> <string>Master</string>
> <key>Replicas</key>
> <array/> *************** <--------------------
> </dict>
> </plist>
>
> /Search/Config >
>
>
> On 2011/06/23 09:31 , Ian Turner wrote:
>> of course we are running the full golden triangle
> --- snip ----
> _______________________________________________
> MacTUG mailing list
> MacTUG at lists.uwaterloo.ca
> https://lists.uwaterloo.ca/mailman/listinfo/mactug


More information about the MacTUG mailing list