Simple and Easy LDAP Import
Added by Guilherme Mesquita over 12 years ago
Web-based tool written in PHP to import all users from LDAP to Redmine
http://sourceforge.net/projects/ldaptoredmine/
*today only works for mysql database
*who want to improve, It's only post here the code.
Dependencies
- php
- php-ldap
- php-mysql
- apache
- mysql
- redmine
Installation
=============
1. unzip the archive on apache document root
2. edit config.php.new with the variables
3. change the name to config.php
4. run: http://localhost/ldaptoredmine
Replies (4)
RE: Simple and Easy LDAP Import - Added by Jan Niggemann (redmine.org team member) over 12 years ago
Tried it on our Test-Machine, thank you, it's useful!
What does the section "Redmine variables" mean / what is it used for?
I noted that our Lotus Domino Directory doesn't have a uidnumber, I had to comment that out to make it work.
Feature request: Can you perhaps add a function to create an initial password and mail that to the users?
Nice idea!
RE: Simple and Easy LDAP Import - Added by Jan Niggemann (redmine.org team member) over 12 years ago
Looking at the code it became clear, it's the users language and if the users should be active or not.
RE: Simple and Easy LDAP Import - Added by Guilherme Mesquita over 12 years ago
Hi, thks to replay.
I correct the uidnumber, and I created a variable in config file
The redmine variables:
- Admin or not
- Lock or unlock
- And language ( pt-BR, en ,...)
Feature request: Can you perhaps add a function to create an initial password and mail that to the users?
Nice idea!
You need to configure: Administration > LDAP Authentication to use passwords from LDAP.
and the program automatically imports the mail from AD.
If you do not want the LDAP authentication and just import the users. Just create a password generator.
sorry for my bad English.
RE: Simple and Easy LDAP Import - Added by Jan Niggemann (redmine.org team member) over 12 years ago
Guilherme Mesquita wrote:
Very cool, thank you!
You need to configure: Administration > LDAP Authentication to use passwords from LDAP.
I know, but I didn't think about single logon...
If you do not want the LDAP authentication and just import the users. Just create a password generator.
... yeah, I'll do just that :-)