By default, the import type of an import policy is user-group.
You can run the destination-group, destination-security-group, import-type, and server basedn commands to implement the
following functions:
- When the import type is user (import-type user), the users in server basedn and in its subgroups
are imported to the specified destination-group and destination-security-group.
- When the import type is user group (import-type group), you must set parameter destination-group, but
must not set parameter destination-security-group. The system then checks whether the local user group destination-group has the same name as server basedn.
- If they share the same name, the subgroups of the specified server
basedn on the server are imported to the local user group. The users
are not imported.
- If they have different names, the specified server basedn with
its subgroups on the server are imported to the local user group as
a subgroup. The users are not imported.
- When the import type is security-group (import-type security-group), you must set parameter destination-group
but not set parameter destination-security-group. The system then imports the security groups on the server to the
authentication domain of destination-group.
- When the import type is user and user-group (import-type
user-group),
- You must set parameter destination-group, and
the system then checks whether local user group destination-group has the same name as the server basedn specified
on the server.
- If they share the same name, the subgroups and users of the specified
server basedn on the server are imported to the local user group.
- If they have different names, the specified server basedn with
its subgroups and users on the server are imported to the local user
group.
- The destination-security-group parameter is
optional. If you set this parameter, the system will import the users
in server basedn and in its subgroups to the specified destination-security-group.
- When the import type is user and security-group (import-type
user-security-group), you must set parameter destination-group, but must not set parameter destination-security-group. The system then imports the users in server basedn and in its subgroups to the specified destination-group and imports security groups in server basedn to
the authentication domain of destination-group.
- When the import type is user, user-group, and security-group (import-type all), you must set parameter destination-group but must not set parameter destination-security-group.
- The system checks whether local user group destination-group has the same name as the server basedn specified
on the server.
- If they share the same name, the subgroups and users of the specified
server basedn on the server are imported to the local user group.
- If they have different names, the specified server basedn with
its subgroups and users on the server are imported to the local user
group.
- The security groups of server basedn are imported
to the authentication domain of destination-group.