プロジェクト

全般

プロフィール

Vote #66015

未完了

LDAP, receive_imap, unknown_user=create

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
LDAP_28
対象バージョン:
-
開始日:
2009/11/16
期日:
進捗率:

0%

予定工数:
category_id:
28
version_id:
0
issue_org_id:
4222
author_id:
9621
assigned_to_id:
0
comments:
9
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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.


journals

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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
Thank you.
--------------------------------------------------------------------------------
But the official solution is more preferred.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

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.

--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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.

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

Admin Redmine さんが約4年前に更新

  • カテゴリLDAP_28 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0