Cannot modify directory entry with custom attribute