Zimbra OSE Admin Delegation

Berikut Adalah script untuk membuat Admin Delegation

(Pebedaan zimbra OSE dan Zimbra NE adalah adanya fasilitas zimbra admin delegation pada zimbra NE secara default namun pada zimbra OSE menu tersebut tidak ada , Nah salah satu member di forum zimbra membuatkan script untuk delegation admin berikut scripnya )

Langkah Pertama buat scriptnya

#cd /srv/
#vi admin-delegate.sh

 Berikan Hak Akes #chmod +x pada file admin-delegation.sh (eksekusi) 

#!/bin/bash

 # $1 domain
 # $2 email

 zmprov ma $2 zimbraIsDelegatedAdminAccount TRUE
 zmprov ma $2 zimbraAdminConsoleUIComponents cartBlancheUI zimbraAdminConsoleUIComponents domainListView zimbraAdminConsoleUIComponents accountListView zimbraAdminConsoleUIComponents DLListView
 zmprov ma $2 zimbraDomainAdminMaxMailQuota 0
 zmprov grantRight domain $1 usr $2 +createAccount
 zmprov grantRight domain $1 usr $2 +createAlias
 zmprov grantRight domain $1 usr $2 +createCalendarResource
 zmprov grantRight domain $1 usr $2 +createDistributionList
 zmprov grantRight domain $1 usr $2 +deleteAlias
 zmprov grantRight domain $1 usr $2 +listDomain
 zmprov grantRight domain $1 usr $2 +domainAdminRights
 zmprov grantRight domain $1 usr $2 +configureQuota
 zmprov grantRight domain $1 usr $2 set.account.zimbraAccountStatus
 zmprov grantRight domain $1 usr $2 set.account.sn
 zmprov grantRight domain $1 usr $2 set.account.displayName
 zmprov grantRight domain $1 usr $2 set.account.zimbraPasswordMustChange
 zmprov grantRight account $2 usr $2 +deleteAccount
 zmprov grantRight account $2 usr $2 +getAccountInfo
 zmprov grantRight account $2 usr $2 +getAccountMembership
 zmprov grantRight account $2 usr $2 +getMailboxInfo
 zmprov grantRight account $2 usr $2 +listAccount
 zmprov grantRight account $2 usr $2 +removeAccountAlias
 zmprov grantRight account $2 usr $2 +renameAccount
 zmprov grantRight account $2 usr $2 +setAccountPassword
 zmprov grantRight account $2 usr $2 +viewAccountAdminUI
 zmprov grantRight account $2 usr $2 +configureQuota

dari account root silahkan berpindah menjadi account zimbra 

 #su - zimbra 

 jalankan script tersebut 

cd /srv/
./admin-delegate.sh nama-domain account-email
contoh
./admin-delegate.sh dede.co.id dede@dede.co.id

Sumber : http://www.zimbra.com/forums/adminis…a-ose-8-x.html
Sumber : http://www.noxxsan.com/?p=123

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s