Custom fullname attribute settings ignored by ADMA
hie friends,
When I tried to configure the ADMA to create a customized Full Name attribute, the objects unexpectedly use the relative distinguished name of the metaverse object i.e. a relative distinguished name is the metaverse object's common name.
When this problem occured, error messages are not logged in any of the log files to warn that the custom configuration is ignored.
What is the cause of this problem ? Can anyone help me solving this........
thanks
Re: Custom fullname attribute settings ignored by ADMA
This problem may occur if -
- a multiple-component relative distinguished name exists in the metaverse distinguished name ($mv.dn).
- the Active Directory relative distinguished name and the connector space relative distinguished name must match;
(however, Active Directory does not support multiple-component relative distinguished names)
The New Connectors template contains a code that automatically modifies the common name if a plus sign (+) is present in the distinguished name of the object. This functionality ensures that the relative distinguished name that MMS builds for the Active Directory object is compliant with the Active Directory requirements. The relative distinguished names must match to guarantee that the new Active Directory object is successfully discovered by MMS during subsequent discoveries.
Re: Custom fullname attribute settings ignored by ADMA
To resolve this problem:
- Use Compass to log on to MMS as an administrator.
- Click Management Agents on the Bookmarks menu in the left pane.
- Click the appropriate ADMA in the right pane.
- Click Design MA on the Actions menu in the left pane.
- Click the Control Connected Directory tab.
- Click the Output Construction Templates tab.
- Click the New Connectors tab.
- Locate the following section:
Code:
# We need to escape the comma in the RDN
$v_fullName = $replace($v_fullName, ",", "\,")
if $EXISTS($v_fullName) = TRUE
then
if $EMBEDDED(" + ", $mv.dn) = TRUE
then
$v_cdDn = CN= $GET_SUBSTRING($DN_COMPONENT($mv.dn, 1), "", " + ") , $parent("$v_cdDn")
else
$v_cdDn = CN= $v_fullName , $parent("$v_cdDn")
endif
endif
- Replace the code that you located in the previous step with the following code:
Code:
if $EXISTS($v_fullName) = TRUE
then
if $EMBEDDED(" + ", $v_fullname) = TRUE
then
$v_cdDn = CN= $GET_SUBSTRING($DN_COMPONENT($v_fullname, 1), "", " + ") , $parent("$v_cdDn")
else
$v_cdDn = CN= $v_fullName , $parent("$v_cdDn")
endif
endif
- Click OK.