Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 320
  • Last Modified:

Win NT RRAS dialing into Linux running uugetty --> problems

I have a Linux box running RedHat 4.0 with uugetty waiting for a connection via a modem.

When a Portmaster tries to connect, everything works fine.  The modem answers, the Portmaster follows it's script sending a username and password, and then starting pppd.

However, when I try to get a Win NT box running RRAS to establish a connection with the Linux box, it doesn't work.  I've tried various changes and scripts on the NT side, but basically what happens is:

The modem answers and then almost immediately the connection is dropped.  It appears that the login script I've defined for RRAS is never run.

I suspect that the RRAS is expecting something that uugetty is not sending.

Any ideas?
0
egrether
Asked:
egrether
  • 2
1 Solution
 
siouxCommented:
Probably your NT server sends Encrypted passwords.
You can disable this in RAS. Linux does not accept these encrypted passwords.
I believe the option is called 'require encrypted passwords' you should set this to
'any authentication allowed including plain text.

0
 
egretherAuthor Commented:
Thanks for your answer sioux, but we have already tried that option and unfortunately, it did not change the behaviour that we were seeing with RRAS.
0
 
alexbikCommented:
Why are you using uugetty?

Mgetty is much better for this purpose. It also supports loggin in without a script,
using PAP authentication. Just compile it with the Auto_PPP option.

It's much easier to setup at the client side than if you use another getty with a loginscript.
Users are still logged in utmp/wtmp.

If you like, I can mail you a pre compiled mgetty binary.

Alex
0
 
egretherAuthor Commented:
Alex, you got it!  Thanks!

One additional note for anyone interested in doing the same thing in the future:

The mgetty/RRAS combination appear to be using PAP for authentication, so
an /etc/ppp/pap-secrets entry must be set up for RRAS to authenticate against.
The entry which did the trick for us was * * SECRET where SECRET is the password supplied to NT in the Password box of the Set Credentials dialog.  HTH.

Ed
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now