• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

LDAP entry for a public folder?

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2003] >> Public Folders >> LDAP entry for a public folder? Page: [1]
Login
Message << Older Topic   Newer Topic >>
LDAP entry for a public folder? - 13.Jul.2007 2:09:34 PM   
RobertPBham

 

Posts: 5
Joined: 25.Jun.2007
Status: offline
Hi folks,

This may be a really odd question, but when you mail enable a public folder, does it create an ldap email address entry within Active Directory?

The reason I ask is quite important. Our email filter is set to reject any emails originating from the internet that are sent to our domain if they do not exist on the LDAP address list - this address list is compiled through Active Directory and works brilliantly.

However, I have just had to mail enable a public folder in Exchange so that externals users can email it - the problem is, the public folder is not in the LDAP list and is rejected by our mail server. I've found a listing for the public folder under Microsoft Exchange System Objects in Active Directory Users and Computers, but it doesn't seem right!?

Do public folders make a listing with Active Directory Users and computers that can be used to obtain the email address or is what I'm trying to do even possible with LDAP lists and our spam mail server configuration?

Thanks for your help
Rob
Post #: 1
RE: LDAP entry for a public folder? - 7.Aug.2007 2:23:08 PM   
StevePearson

 

Posts: 2
Joined: 7.Aug.2007
Status: offline
I'm having the same problem, but with an additional headache of multiple email aliases. How have you got round this? (My LDAP query only returns the primary address at the moment)
The public folders appear to have the same attributes but there must be something that stops LDAP accessing their information directly (just like you need to enable advanced features in ADUC before you can see them.)

Any help or pointers would be appreciated.
Steve

(in reply to RobertPBham)
Post #: 2
RE: LDAP entry for a public folder? - 8.Aug.2007 8:58:02 AM   
jchong

 

Posts: 2516
Joined: 1.Dec.2005
From: Centreville, Virginia
Status: offline
Mail enabled pfs are in the Microsoft Exchange System Objects in ADUC. Use the attribute proxyaddresses instead of mail which only gets the primary smtp address.


You can view your system objects "pf" objects in adsiedit.msc.

Go to start run type adsiedit.msc (part of windows server support tools on cd)
Expand Domain, and find microsoft exchange system objects, right click your pf and find attribute proxyaddresses.


Components of Public Folders in Exchange Server
http://technet.microsoft.com/en-us/library/aa996045.aspx




James Chong (MVP)
MCSE | M+, S+, MCTS, Security+
msexchangetips.blogspot.com


(in reply to StevePearson)
Post #: 3
RE: LDAP entry for a public folder? - 8.Aug.2007 10:11:37 AM   
StevePearson

 

Posts: 2
Joined: 7.Aug.2007
Status: offline
Thanks for the reply.
I am using the "proxyaddress" because this allows you to get the primary and any secondary addresses.
The public folders seem to have their class attribute set to "publicFolder".
I'm using a script that reads through the objects returned by a simple LDAP query (that looks at the root of AD), but this doesn't find anything with this class. It works fine if I change the query to look at the "Microsoft Exchange System Objects" level directly.

Am I missing something obvious in LDAP? (something that tell it to include 'special' or 'system' objects maybe?)

It must be possible to create a simple LDAP query the returns all email addressed from within AD (users, groups/distribution lists and public folders).

Steve

(in reply to jchong)
Post #: 4
RE: LDAP entry for a public folder? - 29.Aug.2007 2:54:27 PM   
DanArseneau

 

Posts: 120
Joined: 31.Jul.2007
Status: offline
Your query should look something like the following:

(&(&(proxyaddresses=*)(|(objectclass=user)(objectclass=publicFolder)(objectclass=group)(objectclass=Contact))))

(in reply to StevePearson)
Post #: 5

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2003] >> Public Folders >> LDAP entry for a public folder? Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter