From: Ilya Furmanov <furious-i@yandex.ru>
To: git@vger.kernel.org
Subject: git-cvsserver pserver username propagation
Date: Wed, 16 Mar 2011 18:55:39 +0000 (UTC) [thread overview]
Message-ID: <loom.20110316T194158-206@post.gmane.org> (raw)
Hello All!
For some specific workflow issues at my company, I need to allow some users work
with CVS, while main repository is under git.
I've chosen git-cvsserver as implementation for this task.
I set up git repository, enabled it for gitcvs and setup a pserver simulation on
xinetd. Everything works fine, I can work with this repository from cvs client,
authenticating against passwd file I created through pserver emulation.
My problem is that commits that I make through CVS are shown under user who runs
xinetd, not under user I authenticate against passwd.
i.e. I commit to CVS as user 'foo', I successfully authenticate through pserver,
but when I look at git history of commits for this repo, i see that commit has
been made by user 'root'.
I looked through source of git-cvsserver (http://git.kernel.org/?
p=git/git.git;a=blob;f=git-cvsserver.perl) and it seems that CVS login is used
only for authentication, not for actual committing.
Records in SQLite database contain 'root' username too, not 'foo'
Do you have any ideas how I can propagate CVS login to git username?
reply other threads:[~2011-03-16 19:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20110316T194158-206@post.gmane.org \
--to=furious-i@yandex.ru \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).