Instead of modifying password entries directly, you can map local UNIX users to Active Directory accounts using map files.
To configure a user mapping file
-
Run the following command as root to enable local map files:
vastool configure vas vas_auth user-map-files /etc/user-map
NOTE: This example configures Safeguard Authentication Services to use /etc/user-map for user mappings. You can specify any filename.
-
Add user mappings to the map file.
The format is <local user name>:<sAMAccountName@domain>.
If you want to map a local user named pspencer to the Active Directory account for pspencer@example.com, add the following line to the file:
pspencer:pspencer@example.com
You can only map the root account to an Active Directory account using the mapped-root-user setting in vas.conf.
To map the root user to an Active Directory account
-
Run the following command as root:
vastool configure vas vas_auth mapped-root-user Administrator@example.com
NOTE: If you specify mapped-root-user on AIX you must set VASMU on the system line of the root section in /etc/security/user. For more information, see your AIX system documentation.
Self-enrollment allows users to map their UNIX account to an Active Directory account as they log in to UNIX. This mapping occurs as part of the standard PAM login. Users are first prompted for their UNIX password. Once authenticated to UNIX, they are prompted to authenticate to Active Directory. This process happens on the first log in after you enable self-enrollment. Once the self-enrollment is complete, the user logs in with his UNIX user name and Active Directory password.
To enable self-enrollment
-
Run the following command as root:
vastool configure vas vas_auth enable-self-enrollment true
NOTE: All users mapped by the self-enrollment process are stored in the /etc/opt/quest/vas/automatic_mappings file.
-
Force Safeguard Authentication Services to reload configuration settings by restarting the Safeguard Authentication Services services.
To restart services, enter:
vastool daemon restart vasd