rtrouton / rtrouton_scripts

Scripts to share
MIT License
1.3k stars 492 forks source link

MigrateADMobileAccounttoLocalAccount.command Not all items removed #63

Closed Lotusshaney closed 4 years ago

Lotusshaney commented 5 years ago

It appears not all items that are supposed to be deleted from the Users ddcl record are.

I run this is on 10.12 Macs before upgrading to 10.14.

PrimaryNTDomain AppleMetaRecordName

are both still present in the Record after the script finishes. No errors.

Running /usr/bin/dscl . -delete manually reports not errors but also does not remove the items.