Use this utility to generate a user map after specifying the necessary match type, context and so on.
map-users
map-users -u <specify the user map name> -a <eDirectory Username> -w <eDirectory password> -s <eDirectory Server IP> -p <eDirectory Connection Port> -l -c <eDirectory context> -st -t <specify the match type as user2user, group2group, or container2group> -m <specify the matching attribute as cn2sam> -A <AD username> -W <AD user password> -S <specify the AD server IP> -P <specify the AD server connection port> -L -C <specify the Active Directory context> -ST
Specify the name of the user map. After a successful execution of the map-users command the user map file is saved with the name that you specify here.
Specify the eDirectory username to connect to NURM.
Specify the eDirectory user password.
Specify the name IP of the eDirectory server.
Specify the port number to be used to connect to the eDirectory server.
Specify the eDirectory server context. For example, ou=users,o=novell.
Use this option if you would like to consider all the users in the subtree.
Specify the user match type. For example, user2user, group2group, or container2group.
Specify the match attributes. For example, cn2sam. As of now only cn2sam is supported.
Specify username of the AD user.
Specify the AD user password.
Specify the IP address of the AD server that you would like to connect to.
Specify connection port with which you would like to connect to the AD server.
Use this option if you would like a secure connection to the AD server.
Specify AD server context.
Use this option if you would like to consider all the users in the subtree.
Displays the usage information of the command.
For an interactive user map generation, use the following command and follow the on screen instructions:
map-users
To map users by providing all the arguments:
map-users -u mkt-usr-map -a root -w pa55word -s 192.168.1.1 -p 636 -l -c ou=users,o=mkt -st -t user2user -m cn2sam -A Administrator -W Pa55word@@ -S 192.168.1.2 -P 636 -L -C cn=users,dc=acme,dc=com -ST
This command creates a user map with the following details:
Saves the user map as “mkt-usr-map”
Connects to the eDirectory server (192.168.1.1) with root credentials, context as ou=users,o=mkt, match type as user to user, matching attributes as CN to SAM, and searches the entire subtree while generating the user map. The connection type used is SSL using port 636.
Connects to the AD server (192.168.1.2) using the administrative credentials, context as cn=users,dc=acme,dc=com, and searches the entire subtree while generating the user map. The connection type used is SSL using port 636.