My work runs a Windows 2k3 server that provides VPN access. I'm having trouble accessing data on the server once I'm connected. In windows, I have NO problem accessing the data so I know that all my network paths are correct. NOTE that I am fully connected to the VPN...no problem. It's accessing stuff that I'm struggling with. I'll give my example using these generic examples:
VPN Server:
Server: vpn.work.com
User: domain\\myname
Pass: mypass
Note, all my examples will use masked data (fake IP's)
I connect just fine and when I run "tail /var/log/messages" I see this:
Code:
Feb 23 21:11:06 NETCFG pppd[6477]: CHAP authentication succeeded
Feb 23 21:11:06 NETCFG kernel: PPP MPPE Compression module registered
Feb 23 21:11:06 NETCFG pppd[6477]: MPPE 128-bit stateless compression enabled
Feb 23 21:11:07 NETCFG pppd[6477]: local IP address 111.16.8.105
Feb 23 21:11:07 NETCFG pppd[6477]: remote IP address 111.16.8.100
ifconfig ppp0 looks like
Code:
ppp0 Link encap:Point-to-Point Protocol
inet addr:111.16.8.105 P-t-P:111.16.8.100 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1396 Metric:1
RX packets:85 errors:0 dropped:0 overruns:0 frame:0
TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:11920 (11.6 Kb) TX bytes:13069 (12.7 Kb)
"route" looks like:
Code:
root@NETCFG:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
111.16.8.100 * 255.255.255.255 UH 0 0 0 ppp0
localnet * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 1 0 0 eth0
root@NETCFG:~#
Now, in windows (after connecting to the VPN), I can access shares by typing the following directly into the my computer address line:
\\Computer1\folder1\
\\Computer2\folder2\
Usually, when I first access them, they ask for my user and password. Which is:
User: domain\\myname
Pass: mypass
So now, I try to basically do this in linux, so I type:
smbclient -L 111.16.8.100 -U domain\\myname%password
The output fromt this is:
Code:
Domain=[domain] OS=[Windows Server 2003 3790 Service Pack 1] Server=[Windows Server 2003 5.2]
Sharename Type Comment
--------- ---- -------
C$ Disk Default share
D$ Disk Default share
mspclnt Disk
session request to 111.16.8.100 failed (Called name not present)
session request to 111 failed (Called name not present)
Domain=[domain] OS=[Windows Server 2003 3790 Service Pack 1] Server=[Windows Server 2003 5.2]
Server Comment
--------- -------
RSDLAP1 RSD's Laptop
RSDLAP34
Workgroup Master
--------- -------
root@NETCFG:~#
So what am I doing wrong here?
Thanks in advance for the help
Tomas