[ZendTo] Re: AD settings
Jules
Jules at Zend.To
Tue Apr 19 09:38:36 BST 2011
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
--
Julian Field MEng CITP CEng
www.Zend.To
Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
'All programs have a desire to be useful' - Tron, 1982
More information about the ZendTo
mailing list