[cvsnt] User reported as DOMAIN\user also on default domain (2238)

Bo Berglund Bo.Berglund at system3r.se
Mon Feb 13 08:04:49 GMT 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


I made another test:
(Polaris is my home XP-Pro workstation and it runs CVSNT build 2238. It
is connected to the domain AGIUSA)

1. Set CVSROOT as :sspi:POLARIS\bosse at polaris:/Test

2. Did a cvs login

3. Set the default domain to POLARIS in the CVSNT control panel

4. Edited a file and committed it

5. Examined the audit database and found POLARIS\bosse in sessionlog

6. Examined the CVSMailer log and found $USER expanded to POLARIS\bosse

7. Changed CVSROOT to :sspi:bosse at polaris:/Test

8. Did a cvs login again

9. Edited and committed a file

10. Now the audit database shows AGIUSA\bosse in the sessionlog
regardless of the default domain setting to POLARIS

11. The CVSMailer log also shows $USER as AGIUSA\bosse

12. Changed CVSROOT to :sspi:polaris:/Test

13. Edited and committed a file

14. Audit shows AGIUSA\bosse and CVSMailer log shows $USER=AGIUSA\bosse

15. Changed the default domain to AGIUSA

16. Repeated 13 and got the exact same result as 14, so the domain is
still included

Looks like the default domain is not respected by CVSNT when one uses
sspi.

This has the disadvantage that the users file must now have multiple
entries for all users, a PITA....


Best regards,

Bo Berglund


-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org] On Behalf
Of Bo Berglund
Sent: den 13 februari 2006 00:30
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: [cvsnt] User reported as DOMAIN\user also on default domain
(2238)

I have updated my CVSNT server to build 2238 now and I found that I
did not get any emails anymore on my commits.
It turns out that the server does *not* handle the default domain as
was expected.

I have set the default domain as the *computer* name (since there is
no real domain in use, the W2K server is just in a workgroup).

I then use a CVSROOT from another PC like this:
  :sspi:user at server:/repo

When I do a commit the $USER variable on the loginfo line still
expands to SERVER\user and now this cannot be found in the users file
since it is organized as user:email and there is no domain designator.

Last week when I struggled with the pserver authentication after
upgrading the production server to 2151 I used the default domain
setting to make CVSNT supply the user only (without DOMAIN\ in front)
and it worked fine. I did not check sspi for this.

Question:
Is there a difference that makes pserver respond to the default domain
setting but not sspi?

Or is the default domain setting only applicable to *real* domains
such that if the server is in a workgroup the DOMAIN\ part is *always*
tacked on?


/Bo
(Bo Berglund, developer in Sweden)
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook