[Samba] ntlm_auth from pppd help

Juha Pietikäinen juha.pietikainen at connet.net
Thu Nov 24 06:25:54 GMT 2005

I have the same problem. My setup is same except my server is FC1 with
kernel 2.4.32 and samba 3.0.21rc1.

See "Unified logons with winbind and tdbsam backend":
I didn't get any responses to my message which I sent couple times here.

I can't say for sure is this a samba bug or a configuration issue.

Ppp-debug option gives following error messages:
fgets() failed! dying..... errno=1 (Operation not permitted)
Peer DOMAIN\\user failed CHAP authentication

Juha Pietikäinen

>Hello all,

>I am working on a VPN solution using FC3-2.6.12-1.1381 - openswan
>2.4.4-1 - l2tpd 0.69-13 - pppd 2.4.3-5 - samba 3.0.10-1.
>When attempting a connection from an XP-SP2 box pppd dies without
>authenticating the user (see below).
>I have run ntlm_auth from the command line with success.
>What tools can I use to identify the failure?
>Is there an obvious error in the ppp options file?
>Brian Hoover
>Nov 23 09:15:51 fw03 pppd[4862]: Plugin winbind.so loaded.
>Nov 23 09:15:51 fw03 pppd[4862]: WINBIND plugin initialized.
>Nov 23 09:15:51 fw03 pppd[4862]: pppd 2.4.3 started by root, uid 0
>Nov 23 09:15:51 fw03 pppd[4862]: Using interface ppp0
>Nov 23 09:15:51 fw03 pppd[4862]: Connect: ppp0 <--> /dev/pts/2
>Nov 23 09:15:53 fw03 pppd[4862]: Peer VIDAR\\bch failed CHAP
>Nov 23 09:15:53 fw03 pppd[4862]: Connection terminated.
>Nov 23 09:15:54 fw03 pppd[4862]: Exit.
>The ppp options file:
>name l2tpd
>plugin winbind.so
>ntlm_auth-helper "/usr/bin/ntlm_auth --helper-protocol=ntlm-server-1" 

More information about the samba mailing list