[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldapsearch - Active Directory proxyaddresses:smtp



I am trying to filter proxyaddress:smtp email addresses querying
Active Directory. I need to use this for sendmail address lookup. I
tried the following queries but they give a lot of  extraneous
information I don't need. Any help would be much appreciated. Thanks.

- ldapsearch -x -h 192.168.25.16 -p 3268 -b "DC=company,DC=com"
"(&(proxyAddresses=SMTP:*))"

- ldapsearch -x -h 192.168.25.16 -p 3268 -b "DC=company,DC=com" -P2 -s
sub "objectclass=*" SMTP

- ldapsearch -x -h 192.168.25.16 -p 3268 -b "DC=company,DC=com"  -P2
-s sub "proxyAddresses=*"

Normally the address comes in this exact format while querying Active
Directory: "proxyAddresses: SMTP:firstname.lastname@company.com"

Thanks.