Userbase attempted to create a mail account for Erwin Garcia Hernandez, and it fails.. I think it fails because of the 3 names.. The last name in his identity is "Garcia Hernandez".. While that may seem at first glance to be a problem, I think it's something our system should be able to handle, no? Is there a way we can change how the script is called, perhaps putting quotes around each text value? Is it smart enough to not put the quotes in the value? In the mean time, I put a hyphen in his last name and re-activated the mail resource, so the script ran.. Here's what the failed output was: /root/bin/zimbra-create.sh alcf.anl.gov erwing Erwin Garcia Hernandez "Erwin Garcia Hernandez" [email protected] /usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount [email protected] givenName "Erwin" /usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount [email protected] sn "Garcia" /usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount [email protected] cn 'erwing' /usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount [email protected] displayName "Hernandez" /usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount [email protected] ZimbraPrefOutOfOfficeDirectAddress 'Erwin Garcia Hernandez' ZimbraPrefOutOfOfficeDirectAddress [email protected] zimbra fail Errors: ERROR: account.INVALID_ATTR_VALUE (must include domain) FAILED: /usr/bin/sudo -u zimbra /opt/zimbra/bin/zmprov modifyAccount [email protected] ZimbraPrefOutOfOfficeDirectAddress 'Erwin Garcia Hernandez' ZimbraPrefOutOfOfficeDirectAddress [email protected] Bad file descriptor at /home/mcsadmin/bin/makeZimbraaccount line 85.
participants (1)
-
Chris Walker