Video Screencast Help

Permissions with EVPM - Enterprise Vault 9

Created: 28 Aug 2012 • Updated: 09 Oct 2012 | 7 comments
lukassc's picture
This issue has been solved. See solution.

Hi!

I need to assign permissions to severals Groups (AD) to severals Vaults. And I need to do it with one single script.

Enterprise\Group1 --> Read permissions to Vault1

Enterprise\Group2 --> Read permissions to Vault2

Any ideas? I think it only allow you to run the script for a single user or all user. This is not the case.

Thx

Comments 7 CommentsJump to latest comment

JesusWept3's picture

http://www.symantec.com/business/support/index?page=content&id=TECH69114

 

[Directory] 
DirectoryComputerName=evserver01
SiteName=mySite

[ArchivePermissions]
ArchiveName = user1
GrantAccess = read, MYDOMAIN\userGroup1

[ArchivePermissions]
ArchiveName = user2
GrantAccess = read, MYDOMAIN\UserGroup2
JesusWept3's picture

and just as a matter of interest, even if you did have to split it out in to multiple EVPM scripts, why is that an issue?

lukassc's picture

Not working, only give permissions to the first Vault. The rest remain the same.

JesusWept3's picture

then split it out in to different EVPM's and have a batch file run them
also remember they only need to be run once and not daily, only to be reapplied if someone has manually removed them from the VAC or zapped the archive permissions

lukassc's picture

So, one .ini for each permission... Ok, an example of the batch?

JesusWept3's picture

really?
errr well i guess it'd be something like "myFile,bat" with the followingc

c:\Program files (x86)\Enterprise Vault\evpm.exe -e myExchServer -m mailbox@domain.com -f myEVPMFile1.ini
c:\Program files (x86)\Enterprise Vault\evpm.exe -e myExchServer -m mailbox@domain.com -f myEVPMFile2.ini

SOLUTION
Rob.Wilcox's picture

So, the original script *does* work...

 

My script is this:

 

 

[Directory]
directorycomputername = evsql.ev.local
sitename = ev01
 
[ArchivePermissions]
ArchiveName = adele.reinhardt
GrantAccess = read, ev\vaultadmin
 
[ArchivePermissions]
ArchiveName = andrea.mathis
GrantAccess = read, ev\ann.sneed
 
And I see it processing as follows:
 
C:\Program Files\Enterprise Vault>evpm -e
 
Please enter an Exchange Server name: dc
 
Please enter the service mailbox alias: ev-sysmbx
 
Please enter the ini file name and location: c:\program files\enterprise vault\pstin_1.ini
c:\program files\enterprise vault\teste.ini
 
 
Creating privileged MAPI session ...
 
Parsing input file: c:\program files\enterprise vault\teste.ini
Processing input file
 
Processing permissions for the archive: adele.reinhardt
 
Processing permissions for the archive: andrea.mathis
 
The *trick* is that if you are then checking permissions in the VAC, either :
 
a/ right click 'Exchange Mailbox' (under Archives) and choose Refresh
or
b/ close and re-open the VAC.
 
Then when you check permissions on the archive, they show correctly for each of the archives that I touched.
 
Hope that helps,