Solved

ppp & win NT server

Posted on 1997-05-31
2
276 Views
Last Modified: 2010-03-18
I can't log into a win NT server from linux. The problem is the different authentication method what Microsoft uses. I'd like to solve the problem. Could anyone help me with this?
0
Comment
Question by:drgo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
aho060197 earned 100 total points
ID: 1584763
Hello All,

If you want connect your Linux box on a NT/win95 RAS server,
you can use PAP protocol (checkbox "Allow any authentication including clear text")
or MSCHAP protocol ("Require Microsoft encrypted authentication").

How to setup Linux MSCHAP :

get libdes-4_00_tar.gz You will obtain libdes.a

get ppp-2.2.0g-7.tar.gz  from ftp.iron.com.br/public/Linux/misc/
 
Also available: ppp-2_3b3_tar.gz at cs.anu.edu.au


Comment ifdef or define USE_MSCHAP in ppp_source_code/pppd/Makefile:

# ifdef USE_MSCHAP
PPPDSRCS += md4.c chap_ms.c
PPPDOBJS += md4.o chap_ms.o
CFLAGS   += -DUSE_MSCHAP
LIBS     += -ldes
# endif

Files examples (not for generic use):

/etc/ppp/chap-secrets:
skynet administrator yourpassword
administrator skynet yourpassword

/etc/ppp/options:
lcp-echo-interval 20
lcp-echo-failure 3
asyncmap 00000000
lock
modem
crtscts
mtu 296  
mru 296

/etc/ppp/dial:
/usr/sbin/pppd /dev/modem 38400 debug proxyarp 45.34.100.64: name administrator remotename skynet connect '/etc/ppp/sdial on'  

/etc/ppp/sdial
#!/bin/sh
#
# This is part 2 of the ppp-on script. It will perform the connection
# protocol for the desired connection.
#
if [ "$1" = "on" ]; then
      # connect          
      exec chat -v                                    \
      TIMEOUT            5                        \
      ABORT            '\nBUSY\r'                  \
      ABORT            '\nNO ANSWER\r'                  \
      ABORT            '\nRING\r'                  \
      ''            AT                        \
      'OK-+++\c-OK-+++\c-OK'      'ATH'                        \
      OK            ATZ255                        \
      OK             'AT W1 E0 F15 M0 Q0 V1 W1 X4 &C1 \N5 %C2 \X0' \
      OK            ATDT123456                    \
      TIMEOUT            60                        \
      CONNECT            ''                        
fi


alain.honorez@is.belgacom.be
0
 

Expert Comment

by:gmich
ID: 1584764
Well, ok, i can connect my Linux box to a WinNT ras server.
What happens if i have callback privileges ?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question