Active Directory authentication provider
Page: 1, 2
Hi all,
In case you haven't read the other post, I've released a new authentication provider.
* Uses the very good adLDAP library by Scott Barnett - easy setup
* Automatically creates unknown but authenticated users from AD
* Working code, in a zip, so you can easily copy and create your own
! Works and tested on aC 1.1+ only
http://fatty.dk/acadauthprovider.zip
Be sure to read the README and INSTALL files.
In case you haven't read the other post, I've released a new authentication provider.
* Uses the very good adLDAP library by Scott Barnett - easy setup
* Automatically creates unknown but authenticated users from AD
* Working code, in a zip, so you can easily copy and create your own
! Works and tested on aC 1.1+ only
http://fatty.dk/acadauthprovider.zip
Be sure to read the README and INSTALL files.
Casper Valdemar
Separate post talks about what I needed to install/configure to get this working on a lean debian etch.
http://www.activecollab.com/forums/post/11807/#post11807
Now it looks like it's working like a charm. Thanks!
http://www.activecollab.com/forums/post/11807/#post11807
Now it looks like it's working like a charm. Thanks!
I've launched this module successfully with activeCollab 1.1.1, but auto-adding new users function is broken in this version. Problem is that User object in activeCollab protects "company_id" field which is attempted to be set by auth provider. I'm not sure how this can be worked around without hacking aC, but maybe aС developers should somehow allow a way of valid users creation (maybe through newly available API?)
Ilija Studen
on Jun 16. 2008. 5:40 am
Thing with protected fields is that they cannot be set using setAttributes() method. Instead, you need to call setCompanyId() method directly from your code.
This restriction was introduced so people cannot change their companies through API. That operation is not supported.
This restriction was introduced so people cannot change their companies through API. That operation is not supported.
activeCollab team member
Updated the AD auth provider. Now for aC 1.1+ only.
* Fixed: Correctly adds new users
* Added: First and last name to new user accounts from AD
(sorry for not being more active here, also in regards to the charts module, but I'm really busy).
* Fixed: Correctly adds new users
* Added: First and last name to new user accounts from AD
(sorry for not being more active here, also in regards to the charts module, but I'm really busy).
Casper Valdemar
Ilija Studen
on Jul 8. 2008. 6:25 am
Hi Casper,
Package is approved and available here (in Downloads section). Thank you for this nice contribution!
Package is approved and available here (in Downloads section). Thank you for this nice contribution!
activeCollab team member
Being new to LDAP authentication, I am left wondering how this is supposed to work.
If I already have an account, am authenticated on the network, should I just be logged in automatically?
Does the login screen change when this is enabled (it appears to still ask for email/password, when we use username password)
I have it installed, and if I put a wrong password in the config file, it errors, so I know that it is binding to the LDAP server, but functionality seems to not have changed at all?
If I already have an account, am authenticated on the network, should I just be logged in automatically?
Does the login screen change when this is enabled (it appears to still ask for email/password, when we use username password)
I have it installed, and if I put a wrong password in the config file, it errors, so I know that it is binding to the LDAP server, but functionality seems to not have changed at all?
Ilija Studen
on Jul 22. 2008. 11:47 pm
Appearance is not changed in any way - only think that changes is how activeCollab handles authentication internally.
activeCollab team member



