Searching the connectorSpace during provisioning
During provisioning I'm getting the error that a csentry with a given dn already exists.Can I and Do I search for csentries in a given connectorspace?
October 28th, 2009 6:43pm
You can search the connector space of a certain management agent using WMI, querying the MIIS_CSObject class. Pay attention that you cannot just dump all the contents of the connector space. From the documentation:
The class supports the following, restricted set of queries:
Search for a connector space object with a specified GUID.
Search for a connector space object joined to a metaverse object with a specified metaverse GUID.
Search for a connector space object with a specified domain and account name in Active Directory, a global address list, or a Windows NT domain.
Search for a connector space object with a specified domain and user principal name in Active Directory, a global address list, or a Windows NT domain.
If you want to get a CS object with a certain DN, however, this should be sufficient. Cheers, PaoloPaolo Tedesco - http://espace.cern.ch/idm
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2009 7:08pm
If this is in the context of non-declarative provisioning, you can use "try / catch" to handle a case like this.There is no forward search for the connector space.All, you can do in terms of searching, is to use WMI - as Paolomentions in his response.However, be aware of the fact that WMI queries are sllllllllooooooowwwww.Cheers,MarkusMarkus Vilcinskas, Knowledge Engineer, Microsoft Corporation
October 28th, 2009 8:26pm


