From owner-freebsd-questions Sat Dec 12 11:38:11 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA20699 for freebsd-questions-outgoing; Sat, 12 Dec 1998 11:38:11 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from fir.calcasieu.com (fir.calcasieu.com [209.99.46.67]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA20693 for ; Sat, 12 Dec 1998 11:38:08 -0800 (PST) (envelope-from sysop@austin.calcasieu.com) Received: from oak.austin.calcasieu.com (oak.austin.calcasieu.com [192.168.170.7]) by fir.calcasieu.com (8.8.8/8.8.8-2.0) with SMTP id NAA11094; Sat, 12 Dec 1998 13:38:05 -0600 (CST) Received: by oak.austin.calcasieu.com id AA10302 for questions@freebsd.org; Sat, 12 Dec 1998 13:38:03 -0600 From: Don.Read@calcasieu.com, EDP@calcasieu.com, x1219 Message-Id: <9812121938.AA10302@oak.austin.calcasieu.com> Subject: Re: pap To: marcus@sensation.net.au (Justin) Date: Sat, 12 Dec 1998 13:38:03 -0600 (CST) Cc: questions@FreeBSD.ORG In-Reply-To: <36729903.F36922B5@sensation.net.au> from "Justin" at Dec 13, 98 03:25:40 am X-Mailer: ELM [version 2.4 PL25] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > hello i was wondering > i was looking to setup a dialin server and i was wondering > if i use pap, does it use the /etc/master.passwd for authentication or > wot ???? from usr.sbin/ppp/auth.c static int auth_CheckPasswd(const char *name, const char *data, const char *key) { if (!strcmp(data, "*")) { /* Then look up the real password database */ struct passwd *pw; int result; result = (pw = getpwnam(name)) && !strcmp(crypt(key, pw->pw_passwd), pw->pw_passwd); endpwent(); return result; It *appears* that it uses the pwent data. > also if i dont use pap > does that mean win95 clients > will have to do 'enable terminal screen after dialing' to start ppp ???? > can u please help me with those 2 questions you could use a dialup script: proc main transmit "^M" waitfor "ogin" transmit $USERID transmit "^M" waitfor "assword" transmit $PASSWORD transmit "^M" endproc works for my folks. Regards, -- Don Read sysop@calcasieu.com EDP Manager dread@texas.net Calcasieu Lumber Co. Austin TX -- Will sysadmin for food To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message