[ZendTo] Re: AD settings
John Cooper
johnpcooper at yahoo.com
Tue Apr 19 11:49:51 BST 2011
On 19/04/11 09:38, Jules wrote:
>
> On 19/04/2011 08:53, John Cooper wrote:
>> On 18/04/11 14:06, Jules wrote:
>>> sAMAccountName isn't already defined in your AD? That's odd...
>>> It should be pretty much the same as the username.
>>>
>>> On 18/04/2011 14:02, John Cooper wrote:
>>>> Hi, I need to set additional attributes for our AD similar to
>>>>
>>>> 'firstnamefield','givenName'
>>>> 'surnamefield','sn'
>>>> 'user_attribute','sAMAccountName'
>>>>
>>>> It looks like I can use
>>>>
>>>> 'authLDAPFullName' => 'givenName sn',
>>>>
>>>> but how can I define sAMAccountName?
>>>>
>>>> Thanks, John.
>> Checked the Moodle settings and it has this override setting that we need.
>>
>> User attribute *sAMAccountName* Optional: Overrides the attribute used to name/search users. Usually 'cn'.
>>
>>
>> Does anyone else use this or is it something that would need coding in
>> to zendto?
>>
> A normal AD system (as far as I know) should have both sAMAccountName
> and cn attributes for every user. It is mentioned in a few files in
> /opt/zendto/lib, so if you want to change it a quick "grep" will show
> you where you need to make changes.
>
> Jules
>
Looking at /opt/zendto/lib really helped. It does use sAMAUserAccount
and that led me to recheck my config. I had a typo in the bind address
in the 1st AD and my test account didn't work on the 2nd AD as in the
wrong tree so would never work.
All working now using the template in preferences.php
Thanks, John.
More information about the ZendTo
mailing list