<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Brian,<br>
<br>
The simplest way for you to do this is probably a minor tweak to the
code for the AD authenticator.<br>
This is in the file<br>
/opt/zendto/lib/NSSADAuthenticator.php<br>
<br>
If you edit that file, you should find *2* occurrences of a line
that says this:<br>
$response['organization'] = $this->_ldapOrg;<br>
<br>
In both places, you could just add a line immediately below it that
overwrites the 'mail' attribute's value with whatever attribute's
value you want to use instead. So for example, if you wanted to use
the 'electronicmail' attribute instead, the extra line in both cases
would be<br>
$response['mail'] = $response['electronicmail'];<br>
<br>
However, do bear in mind that your change will be overwritten when
you upgrade the rpm/deb of the ZendTo package, so you would need to
add that to your service documentation.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<br>
<div class="moz-cite-prefix">On 03/02/2017 12:59, Brian Novogradac
wrote:<br>
</div>
<blockquote
cite="mid:796146345C18F14E8B9C4C5793409100014917C154@ArborExMBx2P.UTORARBOR.UTORAD.Utoronto.ca"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<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 Light";
        panose-1:2 15 3 2 2 2 4 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 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:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@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]-->
<div class="WordSection1">
<p class="MsoNormal">Hello all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is there anyway to use different AD
attributes to pull information that is displayed in the zendto
app. I am looking primarily at the mail attribute. I would
like to change that attribute to pull info from another.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri
Light",sans-serif;color:black;mso-fareast-language:EN-CA">Brian
Novogradac<br>
<span style="background:white">Intermediate Systems
Administrator</span></span><span
style="font-family:"Calibri
Light",sans-serif;background:white;mso-fareast-language:EN-CA">
(I&ITS)</span><span style="font-family:"Calibri
Light",sans-serif;color:black;mso-fareast-language:EN-CA"><br>
<br>
<br>
</span><o:p></o:p></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;color:#333333;mso-fareast-language:EN-CA">Information
Security Is Everyone’s Responsibility.</span></b><span
style="font-size:10.0pt;color:#333333;mso-fareast-language:EN-CA">
Learn more:
<a moz-do-not-send="true" href="http://uoft.me/cyberaware"><span
style="color:blue">http://uoft.me/cyberaware</span></a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri
Light",sans-serif;color:black;mso-fareast-language:EN-CA"><br>
University of Toronto at Mississauga<br>
3359 Mississauga Road N.<br>
Mississauga, Ontario, L5L 1C6<br>
<br>
(P) 416-435-2543<br>
(F) 905-569-4343<br>
(E) </span><span style="font-family:"Calibri
Light",sans-serif;color:#4472C4;mso-fareast-language:EN-CA"><a
moz-do-not-send="true"
href="mailto:brian.novogradac@utoronto.ca"><span
style="color:#4472C4">brian.novogradac@utoronto.ca</span></a></span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri
Light",sans-serif;color:black;mso-fareast-language:EN-CA">(W)
</span><span style="font-family:"Calibri
Light",sans-serif;color:#4472C4"><a
moz-do-not-send="true"
href="http://www.utm.utoronto.ca/iits"><span
style="color:#4472C4">www.utm.utoronto.ca/iits</span></a></span><span
style="font-family:"Calibri
Light",sans-serif;color:black;mso-fareast-language:EN-CA"><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Calibri
Light",sans-serif;color:black;mso-fareast-language:EN-CA">This
E-mail contains privileged and confidential information
intended only for the individual or entity named in the
message. If the reader of this message is not the intended
recipient, or the agent responsible to deliver it to the
intended recipient, you are hereby notified that any review,
dissemination, distribution or copying of this communication
is prohibited. If this communication was received in error,
please notify the sender by reply E-mail immediately, and
delete and destroy the original message.</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng MBCS CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
</body>
</html>