Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ppp & win NT server

Posted on 1997-05-31
2
Medium Priority
?
286 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
2 Comments
 

Accepted Solution

by:
aho060197 earned 300 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

824 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