Link to home
Start Free TrialLog in
Avatar of skidlid
skidlid

asked on

accessing samba though a redhat 7 box via a vpn?

Hi just wondering and am getting nowhere fast, i have established a vpn between my laptop and my linux server in the office.

I problem i am having is i am not able to find any info on the net to show me how to connect to the samba directory in /home/shared where all my crap is located.

what do i need to do to establish the share or to map the drive from my laptop on a dial up connection.

Remember i have successfully established a conenction with a username and password.

Avatar of ken_330
ken_330

hi skidlid,
       your info isnt enough , what is your OS in the laptop? what is the LINUX server running which os?
      If u didnt install linneighbourhood, I believe u need to use smbclient ....SAMBA native commands...to check n list any available share ...in UNIX...U need to familise with these smbclient commands....etc
 smbclient -L HOSTNAME -U .....for - U ..samba 2.06 n above
no -U for 1.9x...
      then u need to create an account for your client before your client can sees a share appears....in the network neigbourhood if its a win98box.IF it is a linux box, u can only use smbclient to view until u install a linux neighbourhood vpn.Look for smbmount ..to mount shares..refer to samba books...

     HOpe its helps
oh ..i forgot ,
        u need to set your linux server to accept encrypt passwd in the smb.conf file before it allows a win98box to logg into smb.As for Unix, u need not to do anything ,for its using plaintpasswd text by default

bye
Avatar of skidlid

ASKER

ok here is my smb file:

am working on mounting the /home/shared directory...at momnet, but i cant still get access from the outside world, i mean the vpn is working but i cant browse anything. I have a dyn dns working on my box so i telnet into it from outside world and use webmin, i have the 137-139 ports open. I am guessing that i havent mnted the share so its not letting mesee anything, anyhow here ismy smb.conf. Ohh and i am using win2k to access it from the net.

#======================= Global Settings =====================================
[global]
netbios name = Samba
workgroup = Ozxpress
server string = File Storage

bind interfaces only = yes
interfaces = eth1 192.168.3.0/24

printcap name = /etc/printcap
load printers = yes

max log size = 50
security = share

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no

# WINS / VPN
# ----------

preferred master = auto
wins support = yes
wins server =

# Other handy directives
# ----------------------
# domain master = yes
# local master = yes
# os level = 65
# remote announce =
# remote browse sync =


#============================ Share Definitions ==============================

[printers]
printing = cups
print command = lpr -r -P%p -o raw %s
browseable = yes
printable = yes
public = yes
guest ok = yes

[shared]
comment = Shared Folder
path = /home/shared
writable = yes
public = yes
printable = no

[website]
comment = Web Site
path = /var/www
writable = yes
public = yes
printable = no
create mask = 0755
ASKER CERTIFIED SOLUTION
Avatar of ken_330
ken_330

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
skidlid:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.