Environment
Novell Identity Manager 3.6
Active Directory Driver - Exchange 2007
Situation
When configuring the Active Directory driver to create an exchange 2007 mailbox, it throws a error on the Domain Controller value being passed.
<status level="error" text1="Post CDOEXM" type="exchange">Exchange 2007 Exception. code:0x0000011a Error completing exchange 2007 command. ERROR: Cannot bind parameter 'DomainController'. Cannot convert value "" to type "Microsoft.Exchange.Data.Fqdn". Error: "Invalid SMTP domain"</status>
Powershell command being passed has no value for Domain Controller.
DirXML: [05/05/09 09:48:48.32]: ADDriver: Enabling mailbox... Enable-Mailbox -Identity 'CN=User, Joe,OU=Users,OU=Midwest,DC=Mountain Domain,DC=mountain,DC=com' -Alias 'apam' -Database 'CN=DC8,CN=DC8,CN=InformationStore,CN=DC1,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Hatchet,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=gfms,DC=com' -DomainController ''
Resolution
According to Microsoft's documentation, Domain Controller is an optional entry for the creation of a mailbox. However, there is no way to remove the parameter from being passed on the current Active Directory driver.
Workaround:
Add the Domain Controller name in the Authentication Context on the driver configuration.
The Domain Controller value is currently being pulled from the Authentication context.
A request has been made to move where the Domain Controller value is being read from to a global configuration value.