D65 Authentication Configuration Lab
D65 Authentication Configuration Lab
Lab 2
Module 2 — Authentication
Background
The instructions, below, specify the train repository and the dmadmin (installation owner) account
with the password training.
If your instructor assigned you different values for the repository, installation owner account, and
password, use the instructor-provided values instead. (You wrote them down at the beginning of lab
1.)
In addition, you will need access to a user account in the repository. This lab uses studentx for the user
account. If your instructor specifies a different account, use it instead.
Steps
1. Use the sub-steps below, install and configure your repository to use the sample plug-in,
[Link], as described in the sub-steps below:
The sample plug-in [Link] is designed to authenticate three users only, called
user1, user2 and user3 with respective passwords pass1, pass2 and pass3.
Note: In production, developers could write plug-ins to implement a customized authentication
program. They give you, the administrator, the .dll file for this program. These sub-steps
show how you, the administrator, would implement the customized plug-in.
Lab 2-1
© 2008 EMC Corporation. All rights reserved.
System Administration Advanced
Lab 2
1.1.1. Click the icon at the bottom of the Windows Desktop or select Start
Programs Accessories Command Prompt.
1.2. At the command prompt, issue the change directory command:
cd \Documentum\product\6.5\install\external_apps\authplugins\sampleauth
1.3. At the command prompt, issue the dir command. Observe that the [Link]
file is present. This script creates three users, user1, user2 and user3.
1.4. At the command prompt, run [Link] script using the command line utility
iapi32 as shown below:
iapi32 train –Udmadmin –Ptraining –[Link]
This runs the [Link] program in the train repository as user dmadmin.
1.5. Bring up the Windows Explorer file browser by right-clicking the Start button on the
Desktop; select Explore.
1.5.1. Navigate to
C:\Documentum\product\6.5\install\external_apps\authplugins\sampleauth
1.7. Restart the repository, using Documentum Server Manager or Windows Services. If you
need guidance to perform this step, use the sub-steps below:
1.7.1. Launch Documentum Server Manager (Start Programs Documentum
Documentum Server Manager) and select the Docbase tab.
1.7.2. Select your repository, and click Stop.
1.7.3. On the Documentum Server Manager window, with the repository still selected,
click the Start button to start the repository.
1.8. With Documentum Server Manager still loaded, click the View Log button to verify that
the plug-in has running, or look in the main server log file: ( C:\Documentum\dba\log\
[Link]) for an entry starting with:
"[DM_SESSION_I_AUTH_PLUGIN_LOADED]info".
When done, close the Log window.
1.9. Launch Documentum Administrator and log in to the train repository as user1, with
password pass1.
1.10. Click the Logout button.
Lab 2-2
© 2008 EMC Corporation. All rights reserved.
System Administration Advanced
Lab 2
2. Follow the sub-steps below to install the Documentum Netegrity authentication plug-in. (Of
course, in order to fully utilize this plug-in, a Netegrity Policy Server would have to be
installed.)
C:\Documentum\product\6.5\install\external_apps\authplugins\netegrity
2.3. Open dm_netegrity_auth.ini and examine its contents. In this file, you can set all
mandatory Netegrity parameters as necessary.
2.4. Close the file.
2.5. Copy the supporting shared library file [Link] from:
C:\Documentum\product\6.5\install\external_apps\authplugins\netegrity
to:
C:\Documentum\product\6.5\bin
2.6. Using the same procedure that you performed in step 1.7 (and its sub-steps), use
Documentum Server Manager to restart the repository. When you are finished, do not
close the Server Manager window.
2.7. In Documentum Server Manager, in the Docbase tab, with your repository selected, click
the View Log button; verify that the plug-in has been loaded by looking for an entry
starting with
[DM_SESSION_E_AUTH_PLUGIN_LOAD_ERROR] info".
Note: The error message informs you that it failed to load the plug in. If you continue to
scroll to the right, you will see that this is because “Some mandatory parameters are
missing from the initialization file…” If you were going to use the Netegrity plug-in,
you would set the parameters in the dm_netegrity_auth.ini per the Netegrity
configuration at your site.
That since there is no Netegrity Policy Server available in the classrooms, the plug-in
will fail to load as indicated in the log file.
Lab 2-3
© 2008 EMC Corporation. All rights reserved.
System Administration Advanced
Lab 2
2.8. Close the log file and then close Documentum Server Manager.
3. In this part of the lab you will configure and test an authentication threshold:
Log on as the installation owner to configure the repository to limit user authentication
attempts to 2.
Log on as user studentx (password studentx) to test your work. (Your instructor may
indicate a different user account; if so, use it instead.)
Lab 2-4
© 2008 EMC Corporation. All rights reserved.
System Administration Advanced
Lab 2
attempts of entering the correct password will result in an error message and that the
session is closed.
3.10. Navigate to: C:\Documentum\dba\log\[Link]
3.11. Open the file. A message is entered into the server log telling the user that the account
has been de-activated and how many sessions have been disabled.
3.12. Close the file.
3.13. To re-activate this user, using DA, log in to train repository as dmadmin, password
training.
3.14. In the DA left frame, select Administration User Management Users. The Users
page appears.
3.15. In the User Name field, enter studentx and then click Search. The studentx user should
now appear in the main frame of DA.
3.16. Right-click the user studentx, and from the pop-up menu, select Properties. The
properties page for this user appears.
3.17. Note that this user is inactive. From the State choice box, select Active, and click OK.
3.18. Using Webtop, log in as studentx to confirm that this account has been re-activated.
(The correct password for the studentx account is studentx.)
3.19. Logout and then close Webtop.
4. Using the sub-steps below, configure the repository so that all user authentication is recorded in
the repository log.
4.1. In the left frame of DA, select Administration Job Management Administration
Methods.
4.2. Scroll down to the section with the heading, Trace Methods.
4.3. Click the link for the SET_OPTIONS method. The SET_OPTIONS page appears.
4.4. Notice that the contents of the Option textbox is trace_authentication.
4.5. Select the On checkbox and click Run. This configures the repository to log
authentication attempts. The method runs and returns True to confirm that the method
has run successfully.
4.6. Click the Close button. User log on authentication is enabled and will be recorded in the
repository log file.
Lab 2-5
© 2008 EMC Corporation. All rights reserved.
System Administration Advanced
Lab 2
You configured the repository so that all user authentication is recorded in the
repository log!
End of Lab
Lab 2-6
© 2008 EMC Corporation. All rights reserved.