FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

NetBeans 6.5 and CVSNT via SSPI

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
sunnyman



Joined: 24 Sep 2009
Posts: 2

PostPosted: Thu Sep 24, 2009 9:04 pm    Post subject: NetBeans 6.5 and CVSNT via SSPI Reply with quote

Hi,
I am trying to connect my NetBeans IDE 6.5 to CVSNT via SSPI, and need help in setting it up.

I have the following questions
1) Do I need to install CVSNT client only on every user that connects to the CVSNT server via NetBeans 6.5?

2) I saw one of the douments that described on the steps to configure CVSNT with SSPI, but, it is not working for me. Here is what I have done so far:

a) Installed the current stable CVSNT 2.5.x build on a Win2003 server that is a standalone server, and created a CVSROOT folder by adding in the CVSNT control panel. I have installed only SSH and SSPI protocol plugins and did not install pserver plugin as it is not secure. Rest of the config is default

b) The CVSNT service and lockman service is running fine.
c) I setup the following system variables on the server:
CVSROOT=:sspi:serverName:/cvsrepos
CVS_EXE=D:\CVSNT\cvs.exe
CVS_RSH=D:\CVSNT\extnt.exe

d) I setup the extnt.ini file as follows:
[serverName]
protocol=sspi
hostname=serverName
directory=cvsrepos

e) SystemAuth=No in config file on the CVSROOT.

f) I have added a user called administrator (current logged on user) on the server box to the "admin' file in the CVSROOT. I have also aliased this user to a real user with account on the server.

When I try to check by typing "cvs version", it complains that
"connect to serverName :2401 failed: No connection could be made as the server machine actively refused it.

This basic command was working when I had the SystemAuth=No entry in the config was not there. However, I understand that in order to use SSPI, this needs to be set.

Pls let me know what I am doing wrong, thanks.

Also, to get this working with NB 6.5 IDE clients connecting across the Internet, do I need to install CVSNT client on all these clients?
What is the connect string they will use, and how will the CVSNT server know who is trying to connect (authentication, etc)

Thanks,
Sunny
Back to top
View user's profile Send private message
Davinod



Joined: 06 Nov 2009
Posts: 2

PostPosted: Fri Nov 06, 2009 12:33 pm    Post subject: Reply with quote

Hello Sunny,

All steps which you have done are right, except change the "SystemAuth=no". Just leave its default value.

If you want to check if the repository is working, just get in the cmd.exe:

cvs.exe -d :sspi:servername:/repositoryname ls

If this does not work, then you missed something.


I need a solution in Eclipse/NetBeans X sspi protocol as well, so wether you get that, let me know please.

[]s

Davinod
Back to top
View user's profile Send private message
sunnyman



Joined: 24 Sep 2009
Posts: 2

PostPosted: Fri Nov 06, 2009 4:14 pm    Post subject: Netbeans 6.5 and CVSNT config Reply with quote

Hi,
After few hours on this, I gave up, and am still using the old Linux based CVS. The documenation was not detailed enough to configure CVSNT, and setup SSPI, migrating from a old linux based CVS repository, and get NetBeans 6.5 clients securely connected to CVSNT.

Thanks,
Sunny
Back to top
View user's profile Send private message
Davinod



Joined: 06 Nov 2009
Posts: 2

PostPosted: Mon Nov 09, 2009 12:46 pm    Post subject: Reply with quote

Exactly what is your problem? You can“t run CVS at all? or just one specific protocol is not working properly?

If you problem is only configure the SSPI on Netbeans, perhaps the solution I got on Eclipse can help you:



    1 - On Eclipse, go to menu "Window" -> "Prefferences" -> "Team" -> "CVS" -> "Ext Connection Method" ;


    2 - Choose the "Use an external program to connect";


    3 - Fill the fields with the following information:

    CVS_RSH: c:\cvsnt\extnt.exe
    Parameters: cvsroot_eclipse {host} {user}
    CVS_SERVER: cvsroot_eclipse


    4 - Apply the configurations;


    5 - On CVS Server, modify the \cvsnt\extnt.ini file to:

    [cvsroot_eclipse]
    protocol=sspi
    hostname=cvsserver
    directory=/cvsroot


    6 - Configure the cvs repository connection on Eclipse with the following information:

    Connection Type: ext
    User: .
    Password:
    Host: cvsserver
    Repository Path: /cvsroot
    Use Default Port: Yes

    Ps: Note that the user field contains a '.' (dot) and the Password is blank.


    7 - Save the connection and enjoy the sspi protocol working on Eclipse;



The Eclipse version is 3.2.0 and CVSNT: 2.5.03

Sunny, I don't have the NetBeans installed here at moment, but Im pretty sure It will work on it as well.

[]s

Davinod
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB