Solved

ppp & win NT server

Posted on 1997-05-31
2
252 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

825 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