Re: [openupload-devel] Active Directory
Status: Beta
Brought to you by:
tsdogs
|
From: Alessandro B. <ts...@br...> - 2009-04-28 22:25:48
|
Andy Hester ha scritto:
> Alessandro Briosi wrote:
>> Well, it uses the AD user account to check for the group info, but I'm
>> quite sure the specific 'login' field is not populated.
>>
>> Try changing the template file.
>> templates/index.tpl
>>
>> insert a new line after line 23 like this: (after {$user.name} ):
>> <br />{$user.login}
>>
>> and see if it prints something after the user name (once you log in).
>> If it does, then there is a bug somewhere, and I'll try AD again tomorrow.
>>
> It does not print anything after making this change. It would seem that
> you are correct about the field not being populated, although I am not
> sure why.
>
>> BTW: is this a 2003 , 2000 , mixed or 2008 AD?
>>
> 2003.
>
>> (I have only tested a 2003 AD domain afair, and it worked with 'cn')
>>
> If I use the 'cn' version, nothing happens after login (not even a
> 'Login Incorrect' error, but it does error if I put something bogus into
> the login). But the 'cn' and the sAMAccountName are the same value.
>
>
Maybe it's a rights issue of the "readonly" user. Can you try with an
Administrator account as the "readonly" user to see if this fixes the
problem?
That's my last guess for tonight. if this is not the case I'll check AD
tomorrow.
Alessandro
|