Archived - Mac OS X Server 10.0, 10.1: "5015 error" Alert Message When Saving Newly Created Users
While editing or creating users in the Users and Groups module of Server Admin, an alert box with a "5015 error" message appears. This document explains how to resolve this issue.
Symptom
In the Server Admin application, an alert box with a "5015 error", "error of type 5015", or similar message appears.
Solution
This may occur if the "tim" value is out of synchronization with the "tim" database. Mac OS X Server uses the "tim" value during the authentication process when Windows file sharing users connect.
Warning: Resolution of this issue includes editing the NetInfo database. Be sure to follow the directions precisely. Incorrectly editing the NetInfo database may render the server software unusable, requiring that you reinstall or restore from backup.
Follow these steps to resolve this issue:
- 1. Open NetInfo Manager at the server (/Applications/Utilities).
2. Click the padlock to make changes, then authenticate using your Admin user name and password.
3. From the second Directory Browser column, select Users.
4. From the third Directory Browser column, select root.
5. Note that the root user's properties then become visible in the pane below.
6. Locate the property "tim_password", then double-click its value. This inserts the cursor into the value's text field.
7. Highlight the value text, then press the Delete key.
8. Press the Tab key.
9. Choose Save from the Domain menu.
10. When prompted to Confirm Modification, click "Update this copy".
11. Quit NetInfo Manager.
12. Open Server Admin.
13. Choose Show Users & Groups list from the Users & Groups module.
14. Select the checkbox for Show System Users & Groups.
15. Select the user named System Administrator.
16. Click Edit.
17. Enter a password for this user (see Note, below).
18. Click Save.
Note: These steps change the root password of the server. If the password you enter in Step 17 is different from the original password entered in Setup Assistant, the result is that the original Admin user and the root user have different passwords, which by default are the same on Mac OS X server. For more on the default behavior of the root and Admin passwords, and how it differs from Mac OS X client, see technical document 106361, "Mac OS X 10.0, 10.1: Password Does Not Work As Expected After a Change".
When hosting a NetInfo domain
If you are hosting a network domain, You may need to repeat these steps for the network domain. To access the network domain in NetInfo Manager, you would click Open Parent Domain at the beginning of Step 3. This button's icon is a blue globe with an arrow. In step 13, you would choose the desired domain from the Show Users and Groups List submenu.