[ZendTo] Fill in organization from AD attribute
Ionescu Gigel
downloadmalware at gmail.com
Tue Feb 11 15:41:48 GMT 2020
Hello,
I want to fill in the organization field automatically from AD.
I would like to know how the authLDAPOrganization option really works and
if my understanding is right.
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.
>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.
Can someone enlight me, please?
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.
Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20200211/847e3aa2/attachment.html>
More information about the ZendTo
mailing list