# git-cvsserver pserver username propagation

1 messages from 2011-03-16 to 2011-03-16. Participants: Ilya Furmanov.
Thread: https://gitlist.dev/t/26753

## Ilya Furmanov, 2011-03-16 18:55

Subject: git-cvsserver pserver username propagation
Message-ID: <loom.20110316T194158-206@post.gmane.org>
URL: https://gitlist.dev/e/loom.20110316T194158-206%40post.gmane.org

```
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?

```
