Thank you Leon, you're an absolute star That worked a treat!
In reply to Matt Crouch
Re: Cannot edit user profiles set up via LDAP sync [Solved]
by Helen Foster -
Just noting that MDL-66071 is fixed in Moodle 3.6.6 and 3.7.2.