That's right.!DualBoot wrote:the real attribute which match the main address is zimbraMailDeliveryAddress
For information using ldapsearch is more efficient because it does not use Java.
Then
Code: Select all
zmprov -l gaa -v domain.com | grep -e "zimbraAuthLdapExternalDn" -e "zimbraMailDeliveryAddress: " | awk '{ ORS = (NR%2 ? FS : RS) } 1'