Also just found this... not sure whether its exactly what you are after but it may save you some programming time.  This tool allows setting permissions across multiple mailboxes in 5.5.
 
Setperm.exe @
http://www.fnds.net/html/downloads.html
 
Cheers,
Matty
 
 


 
On 12/02/06, Matt Holland <[EMAIL PROTECTED]> wrote:
 
The ACL COM object (ACL.DLL) provided in the platform SDK can be used to manipulate 5.5 Mailbox ACLs.  Can be used with VB/_vbscript_ or .NET (via Interop).  These VB examples may help you
 
 
Cheers, Matty
 
On 12/02/06, Tony Murray <[EMAIL PROTECTED] > wrote:
As Al indicates, there may be other methods.  One option could be to look at directory export/import to achieve what you want.
 
Header.exe facilitates the creation of an export CSV template with additional fields, including Primary Windows NT Account and Obj-User (which shows those accounts with "User" role on the mailbox).  You can also find accounts with delegate permissions on a mailbox by including public-delegates and public-delegates-bl in the CSV template.
 
You can download header.exe here:
 
 
Tony


From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Al Mulnick
Sent: Sunday, 12 February 2006 12:26 p.m.
To: [email protected]
Subject: Re: [ActiveDir] OT: ADSI and Exchange 5.5

 
This would be a great time to ask: when you say "update Permissions on Exchange 5.5 mailboxes" what are you trying to accomplish exactly?  It may be possible that what you want to do is possible with some other method.
 
Al

 
On 2/11/06, joe <[EMAIL PROTECTED]> wrote:
I don't think so. Here are the reasons.
 
o Exchange 5.5 ACLing isn't based on SIDs which is what ADSI perm mods work with (including ADsSecurity.dll).
 
o I don't see MS doing ANYTHING to support 5.5, heck it is near impossible to get a change for Exchange Server 2003 at this point.
 
 
--
O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm 
 
 


From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Jacqui Hurst
Sent: Friday, February 10, 2006 6:56 AM
To: [email protected]
Subject: [ActiveDir] OT: ADSI and Exchange 5.5

 
Can anyone advise me if there has been a change in the ADSI that now allows the ACL of an Exchange 5.5 mailbox to be manipulated?   I have some sample VB code from the ADSI 2.0 SDK that appears to offer the ability but as yet I cannot get this to work.  I have found articles on the MS web site that say it is not possible with code other than C or C++ (detailed in the Exchange 5.5 SDK).
 
If  it is possible where am I going wrong?
 
I have an XP client with the ADSI resource kit installed (including ADsSecurity.dll)
 
I have installed ADSI 2.5 on my Exchange 5.5 server (not sure if this was required)
 
I have imported the code into Visual Basic 2005 Express edition and complied it (Build Security)
 
The code builds but when I run it against my environment I get an MS error to be sent to Microsoft.
 
Has anyone any advise on code I can use to update Permissions on Exchange 5.5 mailboxes?    
 
As you can gather I'm not a born coder, I dabble when I have to J
 
Regards,
 
Jacqui



Reply via email to