<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Verdana",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif">I previously tried quoting all of them with the same result. I tried again (single quoting each argument) with debug enabled. The values all look correct. However, it still
 runs without any kind of error or output when not using --debug. And yes, I ran the upgrade script after installing the beta Debian package. I’ve also confirmed that sending a request via the web interface as a normal user still works as expected.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif">Thanks again,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif">Brian
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Jules Field <Jules@Jul.es> <br>
<b>Sent:</b> Thursday, June 13, 2019 2:19 AM<br>
<b>To:</b> zend.to@neilzone.co.uk<br>
<b>Cc:</b> Brian Smith <brian@lifetrends.com>; ZendTo Users <zendto@zend.to><br>
<b>Subject:</b> Re: [ZendTo] automationUsers<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Try running the command with —debug and check that all the values shown are actually what you put on the command line. If you have any quoting problems, that will probably show them up. <o:p></o:p></p>
<div id="AppleMailSignature">
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<p class="MsoNormal">Jules<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
On 13 Jun 2019, at 8:14 am, Jules Field <<a href="mailto:Jules@zend.to">Jules@zend.to</a>> wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">The other obvious possibility is that in your example you haven’t quoted any of the arguments. If you’ve got anything non-alphanumeric in auto’s password, definitely put it in single quotes. <o:p></o:p></p>
<div id="AppleMailSignature">
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<p class="MsoNormal">Jules<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
On 12 Jun 2019, at 9:36 pm, <a href="mailto:zend.to@neilzone.co.uk">zend.to@neilzone.co.uk</a> wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 12 Jun 2019, at 21:24, Jules Field via ZendTo <<a href="mailto:zendto@zend.to">zendto@zend.to</a>> wrote:<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt;font-variant-caps: normal;orphans: auto;text-align:start;widows: auto;-webkit-text-size-adjust: auto;-webkit-text-stroke-width: 0px;word-spacing:0px">
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif">Unfortunately it doesn’t seem to work (I could be doing something wrong). I’ve created a local user using adduser called “auto”. I have “Multi” set under authenticator
 and authMultiAuthenticators set to “array(‘Local’, ‘LDAP’)”. I’ve also tried swapping the order to LDAP then Local.  This is the command I’m running (with identifying info changed):</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif">/opt/zendto/bin/autorequest -u auto -p the*passw0rD -n ‘Jane Doe’ -e<span class="apple-converted-space"> </span></span><a href="mailto:jane@email.com"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#954F72">jane@email.com</span></a><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif"> </span></span><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif">-o
 OrgName -s 'Test Automated Email' -t 'Note in test automated email.' -N 'John Doe' -E<span class="apple-converted-space"> </span></span><a href="mailto:john@email.com"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#954F72">john@email.com</span></a><span class="apple-converted-space"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif"> </span></span><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif">'</span><a href="https://zend.orgname.com/"><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif;color:#954F72">https://zend.orgname.com</span></a><span style="font-size:10.0pt;font-family:"Trebuchet MS",sans-serif">'</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif">No system logs are created (that I can find) and no errors.</span><o:p></o:p></p>
</div>
</div>
</blockquote>
</div>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I feel stupid commenting here, since Jules is already on the thread, but have you remembered to add the user to “automationUsers” in preferences.php?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">  // You can list multiple usernames here. So different teams using the<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  // scriptable requests could be done with different "system accounts" to<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  // aid later diagnosis of problems as ZendTo will log the requests<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  // against this username.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">  'automationUsers' => array('auto'),<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:black"><br>
<br>
Neil<br>
<br>
__________<o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
</div>
</blockquote>
</div>
</body>
</html>