<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
There's a setting<br>
'requestSenderOrgIsEditable' => TRUE,<br>
which, if set to FALSE, stops users from editing that field when
sending a request for a drop-off.<br>
<br>
Otherwise, on text boxes, adding "readonly" is better than using
"disabled" in my opinion.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 25/02/2020 07:04, Ionescu Gigel
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!3f2ef496fde5a3e1eda96cf6d507fd1481e132aa35cd2c9c0f4580ca42c4e5eadb4c6ffbcda80d6e3cc888e2c31fa9ca!@mx.jul.es">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hello,<br>
<div>Thanks for the answer Jules, I changed auth to AD and now
is better, things are working as expected.</div>
<div>I would not like to let people change this attribute in the
UI, setting the html attribute "disabled" to this field would
work?</div>
<div>Regards,</div>
<div>Bogdan</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">În vin., 21 feb. 2020 la
11:27, Jules <<a href="mailto:Jules@zend.to"
moz-do-not-send="true">Jules@zend.to</a>> a scris:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div> Ionescu,<br>
<br>
If you are using AD, you should be using the AD
authenticator and not the LDAP authenticator. They are not
quite the same thing.<br>
<br>
As for the "organization" versus "company" attributes, if
the organization attribute is empty, the company attribute
is copied into it. That means the rest of ZendTo can
continue to call it 'organization' without worrying about
Microsoft's naming conventions.<br>
<br>
If the LDAP attributes for a user include the "company"
attribute, that will be used as the "organization" in
ZendTo. If there is no "company" attribute, then the
preferences.php setting "authLDAPOrganization1" (for the
first forest searched) is used instead.<br>
<br>
Hopefully that explains things a bit better.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<br>
<div>On 11/02/2020 3:41 pm, Ionescu Gigel via ZendTo wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello,
<div>I want to fill in the organization field
automatically from AD.<br>
<div>I would like to know how the authLDAPOrganization
option really works and if my understanding is
right.</div>
<div>I read some old posts from the time this option
was introduced, but I still don't get it. As far as
I see what I put in that option that will be the
default text for internal authenticated users.</div>
</div>
<div><br>
</div>
<div>From the lib/NSSLDAPAuthenticator.php code in
$attributeNames array I see you are trying to get some
"organization" attribute. Actually, this will be
always empty as AD stores the name of the company in
"company" attribute, so few lines down if
(!@$response['organization']) does not make any sense.</div>
<div><br>
</div>
<div>Can someone enlight me, please?</div>
<div>As I said, my goal would be to have the
organization from AD if authLDAPOrganization is empty
or if I set the AD attribute where I store the name of
the organization.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
ZendTo mailing list
<a href="mailto:ZendTo@zend.to" target="_blank" moz-do-not-send="true">ZendTo@zend.to</a>
<a href="http://jul.es/mailman/listinfo/zendto" target="_blank" moz-do-not-send="true">http://jul.es/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<pre cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
<a href="http://www.Zend.To" target="_blank" moz-do-not-send="true">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</div>
</blockquote>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
The current UK shipping forecast:
Tyne, Dogger: East or southeast, veering west 6 to gale 8, occasionally severe
gale 9 for a time. Moderate or rough, occasionally very rough in Dogger. Rain,
then wintry showers. Moderate or poor, occasionally good later.
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>