[Samba] Logon Failure connecting to windows share over ppp vpn

Benj Kamm boxfoot at gmail.com
Thu Nov 15 07:17:33 GMT 2007


Apologies if this comes through twice; I sent it yesterday from the wrong
address and I don't think it went through.

Benj

---------- Forwarded message ----------
Date: Nov 14, 2007 3:05 PM
Subject: Logon Failure connecting to windows share over ppp vpn
To: samba at lists.samba.org


Hi,

I'm using Samba 3.0.26a as a client to reach my a share over a vpn
connection ppp0, eventually hoping to mount shared directories.  I'm running
gentoo linux 2.6.22.

As far as I can tell, samba claims to not use the ppp interface (
192.168.1.227) because it's non-broadcast, but is clearly connecting through
it at some level because it successfully resolves the
share IP, which is 192.168.1.22.  I've verified my username and pw, which
are the same ones I use to log into the vpn in the first place, and are
correct. Does anyone see something I'm missing?

Thanks,
Benj


benj at uskglass ~ $ smbclient -L //192.168.1.22/ -U <user> -d 3
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
not adding non-broadcast interface 192.168.1.227
sys_gethostbyname: Unknown host. eth*
can't determine netmask for eth*
added interface ip= 192.168.2.2 bcast=192.168.2.255 nmask=255.255.255.0
Client started (version 3.0.26a).
tdb(unnamed): tdb_open_ex: could not open file
/var/cache/samba/gencache.tdb: Permission denied
Connecting to 192.168.1.22 at port 445
Password:
Doing spnego session setup (blob length=106)
got OID=1 2 840 48018 1 2 2
got OID=1 2 840 113554 1 2 2
got OID=1 2 840 113554 1 2 2 3
got OID=1 3 6 1 4 1 311 2 2 10
got principal=jesnafs$@JESNA.ORG
Got challenge flags:
Got NTLMSSP neg_flags=0x62898215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60088215
SPNEGO login failed: Logon failure
session setup failed: NT_STATUS_LOGON_FAILURE

benj at uskglass ~ $ sudo ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1B:24:45:31:16
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:10 Base address:0x2000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask: 255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:50 errors:0 dropped:0 overruns:0 frame:0
          TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:16140 (15.7 Kb)  TX bytes:16140 (15.7 Kb)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:192.168.1.227   P-t-P:192.168.1.225  Mask:
255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:35 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1063 (1.0 Kb)  TX bytes:1477 (1.4 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:1A:73:5E:44:38
          inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::21a:73ff:fe5e:4438/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24813 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23894 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:19495093 (18.5 Mb)  TX bytes:5716349 (5.4 Mb)
          Interrupt:9 Memory:b6000000-b6004000


More information about the samba mailing list