Solved

ppp & win NT server

Posted on 1997-05-31
2
228 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 100 total points
Comment Utility
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
Comment Utility
Well, ok, i can connect my Linux box to a WinNT ras server.
What happens if i have callback privileges ?
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now