views:

85

answers:

1

Hello,

Is there a field or anyway to retreave the smtp server of a user in the Active Directory?

Edit1: Using Exchange of course thanks vinny ;)

+2  A: 

I think you're looking for the 'homeMTA' attribute. It'll give you a DN like this:

CN=Microsoft MTA,CN=SERVERNAME,...<snip>...,DC=com

EDIT: I'm assuming you're using Exchange(?)

vinny
Yes using Exchange, important Edit there ^^
Polo
the stmp serveur is "CN=SERVERNAME" of the 'homeMTA' attribute?
Polo
Sorry, yes. It'll be the short name, though (at least it is here). You'll have to grab the domain elsewhere.
vinny