From: Webb, J. <jas...@lm...> - 2004-12-22 22:22:42
|
I have tried to edit the .user.cfg files manually with the same result as before(the \ is still removed). -----Original Message----- From: Robert Helmer [mailto:ro...@ro...] Sent: Wednesday, December 22, 2004 2:53 PM To: Webb, Jason Cc: san...@li... Subject: Re: [Sandweb-users] cvs repository username problem Ah that's interesting.. ok. Using pserver with SandWeb has some drawbacks, having to do with the way pserver works: 1) all passwords are stored in ~www-user/.cvspass 2) all checkins appear to come from www-user Substitute "www-user" for your Apache user's name. Anyway, SSH overcomes these problems, but your core problem will be the same, that SandWeb isn't taking the \ character. One workaround you can try is to edit the .user.cfg file directly; I think that should work. The default location is /usr/local/share/sandweb/users/${username}/.user.cfg Let me know if that works. -- Rob On Wed, Dec 22, 2004 at 02:28:21PM -0700, Webb, Jason wrote: > I am using pserver. The cvs username for this user to access the cvs > repository has to be passed as a domain followed by a "\" followed by > his username. We have to do it this way because of the way his user > account is set up. Any suggestions? > > -----Original Message----- > From: Robert Helmer [mailto:ro...@ro...] > Sent: Wednesday, December 22, 2004 1:48 PM > To: Webb, Jason > Subject: Re: [Sandweb-users] cvs repository username problem > > This needs to be done within SandWeb (workaround would be for > the user to change their name :) ). > > I just confirmed that backslashes in usernames work for SandWeb > users but not for CVS over SSH users.. this is what you are seeing > right? > > I'll see if I can put out a patch for the 1.0 branch that addresses > this.. however we need to be very careful with funny characters since > this is part of a call to the shell. > > > Thanks, > Rob > > On Wed, Dec 22, 2004 at 12:00:01PM -0700, Webb, Jason wrote: > > I am having another problem. I have Sandweb up and working now, > however > > there is one user that needs to access our CVS repository and can't, > > while everybody else can. The problem seems to be that the username > that > > he needs to access the repository with, contains a backslash(\). From > > the debugging info it seems that the "\" is being stripped out of the > > username before it is ever passed to the repository for > authentication. > > Is there a way to get around this problem? > > > > > > > > Thanks > > > > -Jason > > > > > > > > > |