# GUID order of attributes incorrect? timbeale@timbeale-pc:~/code/samba$ sudo bin/ldbsearch -H /tmp/samba-clone-2012/private/sam.ldb -b '' --extended-dn # record 1 dn: ;CN=Global Resource Property List,CN=Resource Property Lists,CN=Claims Configuration,CN=Services,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC=NZ objectClass: top objectClass: msDS-ResourcePropertyList cn: Global Resource Property List description: This is a global out of box resource property list that contains all resource properties that can be consumed by applications. instanceType: 4 whenCreated: 20180306070821.0Z whenChanged: 20180306070821.0Z uSNCreated: 1805 uSNChanged: 1805 showInAdvancedViewOnly: TRUE name: Global Resource Property List objectGUID: 03c21b08-a06f-4c22-9be4-7a19cd324e1c objectCategory: ;CN=ms-DS-Resource- Property-List,CN=Schema,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WG TN,DC=CAT-IT,DC=CO,DC=NZ msDS-MembersOfResourcePropertyList: ;CN=PII_MS,CN=Resource Properties,CN=Claims Configuration,CN=Services,CN=Con figuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC=NZ msDS-MembersOfResourcePropertyList: ;CN=ProtectedHealthInformation_MS,CN=Resource Properties,CN=Claims Configura tion,CN=Services,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=C AT-IT,DC=CO,DC=NZ msDS-MembersOfResourcePropertyList: ;CN=RequiredClearance_MS,CN=Resource Properties,CN=Claims Configuration,CN=S ervices,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC= CO,DC=NZ msDS-MembersOfResourcePropertyList: ;CN=Confidentiality_MS,CN=Resource Properties,CN=Claims Configuration,CN=Ser vices,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO ,DC=NZ msDS-MembersOfResourcePropertyList: ;CN=Compliancy_MS,CN=Resource Properties,CN=Claims Configuration,CN=Services ,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC=N Z msDS-MembersOfResourcePropertyList: ;CN=Discoverability_MS,CN=Resource Properties,CN=Claims Configuration,CN=Ser vices,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO ,DC=NZ msDS-MembersOfResourcePropertyList: ;CN=Immutable_MS,CN=Resource Properties,CN=Claims Configuration,CN=Services, CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC=NZ msDS-MembersOfResourcePropertyList: ;CN=IntellectualProperty_MS,CN=Resource Properties,CN=Claims Configuration,C N=Services,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT, DC=CO,DC=NZ msDS-MembersOfResourcePropertyList: ;CN=Department_MS,CN=Resource Properties,CN=Claims Configuration,CN=Services ,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC=N Z msDS-MembersOfResourcePropertyList: ;CN=Impact_MS,CN=Resource Properties,CN=Claims Configuration,CN=Services,CN= Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC=NZ msDS-MembersOfResourcePropertyList: ;CN=PersonalUse_MS,CN=Resource Properties,CN=Claims Configuration,CN=Service s,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC= NZ msDS-MembersOfResourcePropertyList: ;CN=Project_MS,CN=Resource Properties,CN=Claims Configuration,CN=Services,CN =Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC=NZ msDS-MembersOfResourcePropertyList: ;CN=RetentionPeriod_MS,CN=Resource Properties,CN=Claims Configuration,CN=Ser vices,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO ,DC=NZ msDS-MembersOfResourcePropertyList: ;CN=RetentionStartDate_MS,CN=Resource Properties,CN=Claims Configuration,CN= Services,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC =CO,DC=NZ msDS-MembersOfResourcePropertyList: ;CN=Company_MS,CN=Resource Properties,CN=Claims Configuration,CN=Services,CN =Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC=NZ msDS-MembersOfResourcePropertyList: ;CN=FolderUsage_MS,CN=Resource Properties,CN=Claims Configuration,CN=Service s,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC= NZ distinguishedName: ;CN=Global Resou rce Property List,CN=Resource Property Lists,CN=Claims Configuration,CN=Servi ces,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,D C=NZ # returned 1 records # 1 entries # 0 referrals timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ timbeale@timbeale-pc:~/code/samba$ bin/ldbmodify -H /tmp/samba-clone-2012/private/sam.ldb ^C timbeale@timbeale-pc:~/code/samba$ sudo bin/ldbmodify -H /tmp/samba-clone-2012/private/sam.ldb dn: ;CN=Global Resource Property List,CN=Resource Property Lists,CN=Claims Configuration,CN=Services,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC=NZ changetype: modify delete: msDS-MembersOfResourcePropertyList msDS-MembersOfResourcePropertyList: ;CN=PII_MS,CN=Resource Properties,CN=Claims Configuration,CN=Services,CN=Con figuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC=NZ - delete: msDS-MembersOfResourcePropertyList msDS-MembersOfResourcePropertyList: ;CN=ProtectedHealthInformation_MS,CN=Resource Properties,CN=Claims Configura tion,CN=Services,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=C AT-IT,DC=CO,DC=NZ - delete: msDS-MembersOfResourcePropertyList msDS-MembersOfResourcePropertyList: ;CN=RequiredClearance_MS,CN=Resource Properties,CN=Claims Configuration,CN=S ervices,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC= CO,DC=NZ - ERR: (No such attribute) "Attribute msDS-MembersOfResourcePropertyList doesn't exist for target GUID cdd76a78-de8f-4bf9-8e16-d59bdaaac023" on DN CN=Global Resource Property List,CN=Resource Property Lists,CN=Claims Configuration,CN=Services,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC=NZ at block before line 19 Modify failed after processing 0 records # however deleting just the problematic attribute works OK timbeale@timbeale-pc:~/code/samba$ sudo bin/ldbmodify -H /tmp/samba-clone-2012/private/sam.ldb dn: ;CN=Global Resource Property List,CN=Resource Property Lists,CN=Claims Configuration,CN=Services,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC=CO,DC=NZ changetype: modify delete: msDS-MembersOfResourcePropertyList msDS-MembersOfResourcePropertyList: ;CN=RequiredClearance_MS,CN=Resource Properties,CN=Claims Configuration,CN=S ervices,CN=Configuration,DC=WINDOWS2012R2,DC=WIN,DC=TIM,DC=WGTN,DC=CAT-IT,DC= CO,DC=NZ - Modified 1 records successfully timbeale@timbeale-pc:~/code/samba$