LDAP commit appears from username at pcname.domain.com

Radi A.'s Avatar

Radi A.

30 Apr, 2015 06:47 AM

Why does a commit from an LDAP user appear as "username at pcname.domain.com" instead of "username at domain.com"?

Thanks!

  1. Support Staff 1 Posted by Anton Gogolev on 01 May, 2015 07:54 PM

    Anton Gogolev's Avatar

    This is likely due to the fact that the commiter's local Mercurial
    configuration is missing an important parameter (
    http://stackoverflow.com/a/1401819 ), which forces Mercurial to use the
    FQDN as the domain part of the committer's email address.

  2. 2 Posted by Radi A. on 17 May, 2015 06:55 AM

    Radi A.'s Avatar

    Interesting.

    I'm not that big in the details of Mercurial so I will ask the question.

    Is it possible to have anything in the mercurial username, like "CodeMonkey", but when you pull/commit to get a login prompt that asks you for AD credentials, and you type "[email blocked]"?

    If not, it sounds like we need to instruct developers to not just use any username on their local Mercurial config, but use their real AD account.

    R.

  3. Support Staff 3 Posted by Anton Gogolev on 26 May, 2015 08:40 PM

    Anton Gogolev's Avatar

    Radi,

    That's exactly what happens when pushing to HgLab. It requires a "pusher"
    to authenticate with whatever credentials are configured for a particular
    HgLab instance. In your case that would be domain login and password.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

03 Aug, 2022 01:49 PM
05 Jul, 2022 07:01 PM
28 Mar, 2022 04:42 PM
21 Jan, 2022 10:43 AM
20 Jan, 2022 10:45 AM

 

18 Jan, 2022 10:15 AM
19 Mar, 2021 06:13 PM
01 Mar, 2021 02:51 PM
01 Jan, 2021 02:19 AM
28 Aug, 2020 08:34 AM
23 Jun, 2020 08:29 AM