Hello,

We have an Active Directory driver that creates mailboxes on a Exchange
2007 System. The driver calculates the SMTP email address according to
an algorithm and so it needs to query the destination Active Directory
to see if an email address is available.

The Active Directory driver points to an Active Directory domain "A"
wich is father of another Active Directory domain "B".

The Exchange 2007 system has mailboxes for the Active Directory domains
"A" and "B".

When the algorith mades a query, it not verify if the email address is
ocuppied in the Active Directory "B" domain and then it tries to create
a mailbox with an email address wich is not available.

The query is:

<do-set-local-variable name="qEmail" scope="policy">
<arg-node-set>
<token-query>
<arg-match-attr name="proxyAddresses">
<arg-value type="string">
<token-text xml:space="preserve">smtp:</token-text>
<token-local-variable name="email"/>
</arg-value>
</arg-match-attr>
<arg-string>
<token-text xml:space="preserve">sAMAccountName</token-text>
</arg-string>
<arg-string>
<token-text xml:space="preserve">proxyAddresses</token-text>
</arg-string>
</token-query>
</arg-node-set>
</do-set-local-variable>

I have tried to specify a DN with the root DN of the "B" Active
Directory domain but it doesn't works.

Do you know a solution for this?

The only solution I have thought is to made a call to an "ldapsearch
script" to make a query to the "B" domain.

Thanks,
Josep Lluís.


--
jlmasmit
------------------------------------------------------------------------
jlmasmit's Profile: http://forums.novell.com/member.php?userid=20336
View this thread: http://forums.novell.com/showthread.php?t=421191