Project

General

Profile

Actions

Feature #4222

open

LDAP, receive_imap, unknown_user=create

Added by Igor Kalashnikov about 15 years ago. Updated about 12 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
LDAP
Target version:
-
Start date:
2009-11-16
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Hi there.

We have a redmine as our main ticket system with AD auth integration. A little time ago we deicide to autocreate users in redmine when we receive a mail from it.
I tried to set a parameter "unknown_user=create", but result is not good.
I look at models/mail_handler.rb - create_user_from_email and not found any LDAP queries, just an automatical creation with random password.

Thank you for any solution and sorry for my bad english.

Actions #1

Updated by Igor Kalashnikov about 15 years ago

Explanation: I want redmine to search on AD server via LDAP for users with a mail address from email and create a redmine user if it is found.

Actions #2

Updated by Felix Schäfer about 15 years ago

Have a look at #1838, there is a patch that might work for you. It effectively works the other way round from what you are describing (every AD user is created in Redmine, as opposed to looking up unknown users in AD), but I think it would effectively solve your problem.

Actions #3

Updated by Igor Kalashnikov about 15 years ago

Thank you.

Actions #4

Updated by Igor Kalashnikov about 15 years ago

But the official solution is more preferred.

Actions #5

Updated by Jean-Philippe Lang about 15 years ago

  • Category changed from Email notifications to LDAP
Actions #6

Updated by Ilya Kisleyko over 14 years ago

Just installed Redmine 9.4 on the Ubuntu 10.04 SRV, Apache2 + Passenger

Successfully adjusted the integration with AD and automatically creation when first log in Redmine, installed automatic reset of mail from mail box (IMAP)

The question is how to achieve the creation of user in Redmine from LDAP when user sends the mail?

when I use "unknown_user=create" - the user in Redmine is created but without running - in LDAP, Authentication mode"= "internal", it is getting the new password and etc.

when using "unknown_user=accept" the tasks are created by anonymus, the adress of the sender is thowed out and as a result thee is no feedback.

Is there is any opportunity to make Redmine automatically take the user from AD not only when enter manually but also through using the mail?

I want to explain why I don't want to do the import by user from AD to Redmine - for now yes ,I'll solve the problem, but in future, when there will be creating new users in domain , you have to think about the need to write them not only in AD but in Redmine as well. I would like this all to be automatically.

Actions #7

Updated by Felix Schäfer over 14 years ago

Ilya Kisleyko wrote:

The question is how to achieve the creation of user in Redmine from LDAP when user sends the mail?

Not possible at the moment.

Actions #8

Updated by Bjarni Thorisson over 12 years ago

How about now?
Has any thought been given to this?
Does the new Advanced LDAP thingy address this?

Thanks,
Bjarni

Felix Schäfer wrote:

Ilya Kisleyko wrote:

The question is how to achieve the creation of user in Redmine from LDAP when user sends the mail?

Not possible at the moment.

Actions #9

Updated by Stanislav German-Evtushenko about 12 years ago

It would be a great feature especially with possibility to prevent creation of non-AD users.

Actions

Also available in: Atom PDF