Fix dsidm role subtree-status fails with TypeError Fix name cockpit_present is not defined. Fix typo Fix DirSrv has no attribute userid (cherry picked from commit 3cd6c638f27dd1fbb7d76e7cf6fa1383be0561ee)