I looked at the zmsetup.log to know how it's done.
So, for domain pwait.com, here's what I did :
This is supposed to create a zimbraDomainAdmins Distribution List in which I'll be able to put my domain admins for this domain.
/opt/zimbra/bin/zmprov -m -l cdl zimbraDomainAdmins@pwait.com zimbraIsAdminGroup TRUE zimbraMailStatus disabled zimbraAdminConsoleUIComponents accountListView zimbraAdminConsoleUIComponents aliasListView zimbraAdminConsoleUIComponents DLListViewzimbraAdminConsoleUIComponents resourceListView zimbraAdminConsoleUIComponents saveSearch
/opt/zimbra/bin/zmprov -m -l grr domain pwait.com grp zimbraDomainAdmins@pwait.com +domainAdminConsoleRights
/opt/zimbra/bin/zmprov -m -l grr global grp zimbraDomainAdmins@pwait.com +domainAdminZimletRights
When I do so (checking the user as "administrator" and giving him the "Administrator Role" zimbraDomainAdmins@pwait.com), the user is able to log in the admin UI.
Everything is empty.
Exactly like this bug that is supposed to be fixed/verified: Bug 38588 : zimbradomainadmins group isn't assigning any views to an admin