CS 2.0 NNTP license problem

Not Answered This post has 0 verified answers | 9 Replies | 2 Followers

ghein
Not Ranked
13 Posts
Points 215
By: ghein
Posted: Fri, Mar 10 2006 7:46 PM

Hi all,

Two questions:

1. If I have a trial license for Enterprise, do I need to install an NNTP license? I've tried to install the NNTP 2.0 trial license but it's not recognized on the control panel -> system tools -> manage licenses. Note that the Windows/AD Intranet Authentication license does not show as installed, but AD integration is working.

2. Windows authentication works for CS, but I'm getting the following error when I try to use integrated authentication via NNTP:

2006-03-10 17:32:10,088 [488] DEBUG [] - aread.25.: .AUTHINFO USER burtongroup\ghein.
2006-03-10 17:32:10,088 [920] DEBUG [] - write.25.: .381 Send password.
2006-03-10 17:32:10,088 [488] DEBUG [] - aread.25.: .AUTHINFO PASS ******.
2006-03-10 17:32:10,088 [920] ERROR [] - Exception occurred in Server.ThreadPool_WaitCallback
Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Telligent.Registration
   at Telligent.Registration.SecurityModules.?()
   at Telligent.Registration.SecurityModules.get_ExpirationDate()
   at ?.?()
   at ?.?(String , String )
   at CommunityServer.NntpServer.Components.NntpContext.ValidateUser(String password)
   at CommunityServer.NntpServer.Components.CommandProcessor.?(NntpContext , String[] )
   at CommunityServer.NntpServer.Components.CommandProcessor.ProcessCommand(NntpContext context, String command)
   at CommunityServer.NntpServer.Components.Server.?(Object )

 

Is this a license problem or am I chasing a red herring?

Thanks,

Gary

 
  • Post Points: 20 |

All Replies

Ken Robertson
Top 10 Contributor
5,184 Posts
Points 47,485
CS Developers
By: Ken Robertson
Posted: Mon, Mar 13 2006 11:02 AM In reply to

1)  How is it not working?  Does it not let you upload it?  Does it give you an error?  Does it take the license, show it was successful but then not list it?  The Windows/AD is a known issue.  If you look in the cs_Licenses table and see a row with the LicenseType "NntpServer" you are fine.

2) In the communityserver.config for the NNTP Server, did you set the authenticationType in the <NntpServer> section to Windows?  Also, you may need to copy the Telligent.CommunityServer.SecurityModules.dll to the installation path for the NNTP Server.  This was a requirement in the v1.x, and off the top of my head, I think it is the same for v2.0.

 
  • Post Points: 20 |
ghein
Not Ranked
13 Posts
Points 215
By: ghein
Posted: Mon, Mar 13 2006 11:16 AM In reply to

Hi Ken,

Thanks for the quick reply.

1. It allows me to upload the license, no errors, and indicates that the license was successfully added. But if I refresh the page, the "License Installed" column indicates "No" for nntp. We'll check the cs_Licenses table to see if it's there.

2. Authentication is set to Windows. I copied the dll to the NNTP server - that fixed the System.NullReferenceException error. I'm still not authenticating properly, but I don't think it's a license issue at this point, as I'm not receiving any license-related messages.

Thanks,

Gary

 
  • Post Points: 20 |
Ken Robertson
Top 10 Contributor
5,184 Posts
Points 47,485
CS Developers
By: Ken Robertson
Posted: Mon, Mar 13 2006 12:04 PM In reply to
If it still isn't working, then are there any errors on the log files?
 
  • Post Points: 20 |
ghein
Not Ranked
13 Posts
Points 215
By: ghein
Posted: Mon, Mar 13 2006 7:49 PM In reply to

No errors per se, but it doesn't seem to be using the Windows authentication integration. My cs_nntp.log file shows:

2006-03-13 17:43:53,604 [900] DEBUG [] - aread.4.: .AUTHINFO USER (domain\username)

2006-03-13 17:43:53,604 [896] DEBUG [] - write.4.: .381 Send password.
2006-03-13 17:43:53,694 [900] DEBUG [] - aread.4.: .AUTHINFO PASS ******.
2006-03-13 17:43:53,694 [896] DEBUG [] - write.4.: .280 Unknown user or invalid credentials.

In my NNTP directory, I have communictyserver.config setup with Windows authentication:

<NntpServer   allowAnonymousUsers="true   sessionTimeout="20" authenticationType="Windows" >

I seem to recall having a similar problem with CS 1.2 that was resovlved by either cutting/pasting somethign from the main CS config file, or by dropping a DLL into the NNTP directory for Windows authentication to work. I'll double check (RTFM) to make sure we haven't missed anything.

Any other suggestions?

 
  • Post Points: 5 |
ghein
Not Ranked
13 Posts
Points 215
By: ghein
Posted: Wed, Mar 15 2006 10:19 AM In reply to

Still no luck. Windows authentication works for the main CS site. This is what we've done:

1. Installed NNTP per the instructions.

2. Added the NNTP trial license. The control panel interface didn't quite work, but the license is in the database per the earlier post.

3. In the newsgateway\communityserver.config

<NntpServer allowAnonymousUsers="true" sessionTimeout="20" authenticationType="Windows" >

<add name="WindowsAuthentication"

extensionType="Security"

type="Telligent.CommunityServer.Security.WindowsAuthentication, Telligent.CommunityServer.SecurityModules"

allowAutoUserRegistration="true"

adminWindowsGroup="Administrators"

adminWindowsGroupIsSystemAdministrator="true"

stripDomainName="true"

emailDomain="@burtongroup.com"

/>

In the newsgateway\CommunityServer.NntpServer.Service.exe.config

<authentication mode="Windows">

<forms name=".CommunityServer" protection="All" timeout="60" loginUrl="login.aspx" slidingExpiration="true" />

</authentication>

The Service (or console) will start without errors. I can list the newsgroups via anonymous, but any time I try to authentication via domainname\username and password, I get a

208 Unknown user or invalid credentials.

So, it appears that NNTP is working, and can pull newsgroups from CS, but windows authentication with NNTP is not working.

Any suggestions?

Thanks,

Gary

 

 

 
  • Post Points: 20 |
Ken Robertson
Top 10 Contributor
5,184 Posts
Points 47,485
CS Developers
By: Ken Robertson
Posted: Wed, Mar 15 2006 10:34 AM In reply to
It appears to be a bug with the handling of the configuration files within the NNTP Server.  I'll see if I can do a patch and let you know.
 
  • Post Points: 20 |
ghein
Not Ranked
13 Posts
Points 215
By: ghein
Posted: Wed, Mar 15 2006 11:58 AM In reply to

Thanks for the quick response. I'm happy to test when the patch is ready.

Gary

 
  • Post Points: 20 |
Ken Robertson
Top 10 Contributor
5,184 Posts
Points 47,485
CS Developers
By: Ken Robertson
Posted: Wed, Mar 15 2006 2:03 PM In reply to

Ok, I am a little confused... the issue I'd found shouldn't have affected whether or not it would work for you.

The issue I'd found related to reading the config values for things like whether to strip the domain name, the default email domain name (only used for new users), and the administrators groups.  Existing users should have been recognized fine as long as their username was "DOMAIN\username" and their regular Windows password.

When you try to log in, does anything show up in the system's event log?  Often if there is an issue with the API call to authenticate the user, an error won't be returned to the NNTP Server and will instead go to the event log.

 
  • Post Points: 20 |
ghein
Not Ranked
13 Posts
Points 215
By: ghein
Posted: Wed, Mar 15 2006 4:08 PM In reply to

Hi Ken,

We're using the DOMAIN\username and windows password. No luck. I've tried with and without appendign the DOMAIN\, and with/without stripDomainName set to true and false.

I don't see any errors in the event log (Windows event viewer), the nntp log (other than what's listed above), and nothing in CS->Administration->Exceptions report.

Should I set any sort of higher debugging or logging level?

Thanks,

Gary

 
  • Post Points: 5 |
Page 1 of 1 (10 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com