LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 07-11-2006, 02:39 AM   #1
dsimic
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Rep: Reputation: 0
Vpn & Samba Shares


Hello,

I have been trying to solve this for several days and no success. I have windows 2003 small business server (Primary Domain Controller) and several Linux Servers. I have few users using windows based VPN to remotely connect to our network. The problem is that when they connect remotely using VPN they can not connect to samba 3.0.11 shares, if they connect locally everything is OK.

Thanks!
 
Old 07-11-2006, 09:58 AM   #2
redhat143
LQ Newbie
 
Registered: Jul 2006
Location: Kerala,India
Distribution: RHEL,SUSE
Posts: 8

Rep: Reputation: 0
Recheck the permissions of the samba share.I am not sure this is a solution.
 
Old 07-11-2006, 12:33 PM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 70
Are you sure that WINS servers are correctly specified to the VPN clients (probably through DHCP). AFAIK, the `normal' SMB protocol uses broadcasts which don't traverse through forwarded interfaces (unless you use clever bridging), so you need to make sure the windows clients have the correct WINS info.

Other than that, we need more details to fix the problem.
 
Old 07-12-2006, 01:27 AM   #4
dsimic
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Dear Redhat143 & Osor thanks a lot for your quick response.
I may not have given enough details in my first post. I do not get to connect to the samba computer, so “can not see samba shares” in my post may imply that I’m able to connect. When I VPN into my SBS 2003 server all assigned ip addresses are ok the only thing that is incorrect is subnet for VPN network adapter and it is 255.255.255.255 where subnet for all network adapters on the network are 255.255.255.0. I do not know does this matter and I could not force different subnet mask.

When I try to map the share the following message appears.
“The network path to \\sbm_box.domain_name.local\smb_share can not be found”

I have tried to connect to the smb_share using different user option from windows. Connect as: domain_name/domain_user, pwd:domain_password and this produced different error.
“The mapped network drive could not be created because the following error has occurred. The parameter is incorrect.”

Neither of the above produces any samba log entries.

The specs for the sustems involved in the problem:
- The samba version is 3.0.11 on suse 8.2 pro. (use a file to map Win users to Lin users)
- VPN server is Small Business Server 2003
- Clients are win xp sp2

Strangely enough I have one suse8.2 box working but with samba3.0.2a and unfortunately I could not find this version of samba to install.

Could you please give me some ideas where to start with troubleshooting.
 
Old 07-12-2006, 08:14 AM   #5
Skip-DMP
Member
 
Registered: Jan 2006
Distribution: RHEL3
Posts: 97

Rep: Reputation: 15
I assume you mean that the subnet mask is 255.255.255.255. That is definitely a problem. That would mean that the entire visible network to that interface would be itself. Your samba share is running on an IP address that you can't see. How is it possible not to change the subnet mask?
 
Old 07-14-2006, 01:22 AM   #6
dsimic
LQ Newbie
 
Registered: Jan 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Dear Redhat141 Osor and Skip-DMP, thank you very much for your responses I have finally solved the problem. It was my network configuration. The problem was then DNS and WINS entries for my linux box did not exist on my Win 2003 server. So, after I added the entries using server Administrative Tools everything worked fine.
 
  


Reply

Tags
samba, vpn


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN Connected. Question about accessing shares via smbclient tstein Linux - Networking 4 03-27-2006 06:58 AM
vpn, samba & printing dgermann Linux - Networking 3 07-13-2005 05:26 PM
Samba Shares & Users Raggit Linux - Software 4 02-14-2005 04:36 AM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 05:28 PM
Mounting Samba shares and Samba Share Login time112852 Linux - Software 1 09-14-2003 02:23 PM


All times are GMT -5. The time now is 06:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration