?
Solved

accessing samba though a redhat 7 box via a vpn?

Posted on 2003-02-26
7
Medium Priority
?
310 Views
Last Modified: 2010-03-17
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.

0
Comment
Question by:skidlid
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
7 Comments
 

Expert Comment

by:ken_330
ID: 8051327
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
0
 

Expert Comment

by:ken_330
ID: 8051336
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
0
 

Author Comment

by:skidlid
ID: 8053532
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
0
 

Accepted Solution

by:
ken_330 earned 200 total points
ID: 8059236
hi Skidlid,
       i advice u read again my first comment carefully,n u get a samba book ready at hand for reference.
       You had to try to access it locally first which u didnt mention whether u sucessfully did it ? u dont have to mount a share to be access thru samba ,when u use swat
to configure a (create) share ,its is automatically allow to be browse if its set browseable to yes.Also,try to goto
the XGUI file manager to check the share's properties whether it is set to 777 mode.IF not , set it by clicking with the mouse which is easier then the command line.
      Being done that, then go to command line,use smbclient -L HOSTNAME -U to see a list of share being configured.At the commandline : testparm to see if any errors occure? No errors, then it is correctly setup.
Obviously , u need to create an account in LINUX or UNIX
by loggin in as ROOT ,superuserlevel like :
try this :             adduser Trial
                       passwd Trial    

then                   smbadduser Trial:Trial
u would be prompt:     smbpasswd.


account created.
then u try to exit n loggin in with the account name n passwd , u would be able to access into the homeshare.


IF u still have doubts,it best to refer to samba book.
0
 

Expert Comment

by:CleanupPing
ID: 9077765
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.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question