Replying to non LDAP users

Deutschsprachiges Forum für Diskussionen und Fragen zu MantisBT

Moderators: Developer, Contributor

Post Reply
peko19
Posts: 1
Joined: 02 Dec 2016, 09:44

Replying to non LDAP users

Post by peko19 »

Hallo zusammen.

Dies ist mein erster Post, ich habe versucht meine Frage zuvor durch suchen zu beantworten, habe aber keine Lösung gefunden.
Version: 2.0.0-rc.1
Schema: 209

Die Anmeldung über LDAP (Active Directory) habe ich hinbekommen. Was mantis aber generell irgendwie nicht zuraffen scheint ist, ob ein User "vom LDAP kommt" oder "lokal" ist.

Wenn mantis über das Email-Plugin Mails vom Postfach abruft und die Adresse noch nicht kennt, wird ein Konto erstellt - so weit so gut. Allerdings kann mit diesem Benutzer nicht mehr kommuniziert werden, weil mantis z.B. beim Antworten in einem Issue die Adresse des Benutzers im LDAP sucht. Die findet er dort natürlich nicht.

Habe ich einen grundlegen Konfigurationsfehler gemacht? Kann mantis lernen, dass der eine Benutzer nur lokal und der andere in LDAP zu finden ist?

Here's the part in the log file where mantis tries to look up the intern user's email address from LDAP instead of using what's in the db:

Code: Select all

2016-12-02 11:37 CET LDAP ldap_api.php:227 ldap_get_field_from_username() Retrieving field 'mail' for 'someone_gmx_de_57218'
2016-12-02 11:37 CET LDAP ldap_api.php:230 ldap_get_field_from_username() Binding to LDAP server
2016-12-02 11:37 CET LDAP ldap_api.php:63 ldap_connect_bind() Attempting connection to LDAP server/URI 'my.domain'.
2016-12-02 11:37 CET LDAP ldap_api.php:66 ldap_connect_bind() Connection accepted by LDAP server
2016-12-02 11:37 CET LDAP ldap_api.php:79 ldap_connect_bind() Setting LDAP protocol version to 3
2016-12-02 11:37 CET LDAP ldap_api.php:101 ldap_connect_bind() Attempting bind to ldap server with username and password
2016-12-02 11:37 CET LDAP ldap_api.php:114 ldap_connect_bind() Bind to ldap server successful
2016-12-02 11:37 CET LDAP ldap_api.php:241 ldap_get_field_from_username() Searching for (&(sAMAccountName=someone_gmx_de_57218))
2016-12-02 11:37 CET LDAP ldap_api.php:259 ldap_get_field_from_username() Unbinding from LDAP server
2016-12-02 11:37 CET LDAP ldap_api.php:265 ldap_get_field_from_username() No matches found.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Replying to non LDAP users

Post by atrol »

Mantis unterstützt derzeit keine gemischte Authentifizierung
https://www.mantisbt.org/bugs/view.php?id=13030
Hier hatte ein User das für eine ältere Version umgesetzt
http://www.mantisbt.org/forums/viewtopic.php?f=4&t=3491
Please use Search before posting and read the Manual
Post Reply