Extracting the slot ID using Terminal

1. Log into the server using a local administrator user account, and open Terminal.
2. Execute this command:sudo mkpassdb -dump

3. Enter your administrator password when prompted.
4. A list of user shortnames with corresponding slot ID’s will be listed.
5. Find the <slot ID> which will be located to the left of the directory administrators shortname. The ID starts with 0x and ends before the user’s shortname example:“slot 002: 0x479e48fe68b4567000000002000000002 diradmin 03/11/2008 02:12:30 PM“
6. Copy the value for later use.

Resetting the Open Directory administrator password

1. Log into the server using a local administrator user account, and open the Terminal.
2. Enter this command:
sudo su

3. Enter your administrator password when prompted.
4. Enter the following command:
mkpassdb -setpassword slot-ID
5. Replace <slot ID> with the value obtained in part 1.
You will be prompted for the new directory administrator password. If you are unable to obtain the <slot ID> using  Workgroup Manager you can use the extracting the slot ID using Terminal directions.
IMPORTANT: At this point, you have root privileges in this session. To avoid potential damages to the system in case of a mistake, be sure to quit the Terminal application now.

Verwandte Projekte
Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.

Nicht lesbar? Text ändern. captcha txt