Networking Forums

Networking Forums > Computer Networking > Linux Networking > Help getting Samba to work!!!

Reply
Thread Tools Display Modes

Help getting Samba to work!!!

 
 
N.K.
Guest
Posts: n/a

 
      08-13-2003, 01:06 PM
Hi, this is my first encounter with Samba. I've spent half a day
trying to configure it with no success.
First of all it's already been installed on my machine and I expect
that the installation was clean, but I'd like to check whether I have
all that is needed.
Second, I'm not sure I totally understand how it works. I need to
make a Linux share available to Windows and maybe vice versa.
Is everything that needs to be done has to be done on Linux box?
Now, from what I've read, I need to confugure the smb.conf file. The
example I see in a red hat linux book is very vague to me. Is all I
have to do would be to specify the windows workgroup and the Linux
share path?
Honestly, I don't really know where to start and what should be done
overall not even mentioning the details....
Any help would be appreciated.
N.K.
 
Reply With Quote
 
 
 
 
Jeremia d.
Guest
Posts: n/a

 
      08-13-2003, 02:41 PM
On Wed, 13 Aug 2003 06:06:11 -0700, N.K. wrote:


> Is all I have to do would be to specify the windows workgroup and the Linux
> share path?


Yes for bare minimum. There is also a newsgroup specifically for samba.
 
Reply With Quote
 
Tim Sampson
Guest
Posts: n/a

 
      08-13-2003, 03:13 PM
In post: (E-Mail Removed),
I believe N.K. <(E-Mail Removed)> said:

> Hi, this is my first encounter with Samba. I've spent half a day
> trying to configure it with no success.
> First of all it's already been installed on my machine and I expect
> that the installation was clean, but I'd like to check whether I have
> all that is needed.
> Second, I'm not sure I totally understand how it works. I need to
> make a Linux share available to Windows and maybe vice versa.
> Is everything that needs to be done has to be done on Linux box?
> Now, from what I've read, I need to confugure the smb.conf file. The
> example I see in a red hat linux book is very vague to me. Is all I
> have to do would be to specify the windows workgroup and the Linux
> share path?
> Honestly, I don't really know where to start and what should be done
> overall not even mentioning the details....
> Any help would be appreciated.
> N.K.


Things will be much easier if you use one of the graphical utilities to set
things up, such as SWAT or RedHat's own configurator (I think they have
one).

If I remember rightly, you need to set up the following:

Windows user
Corresponding linux user
Corresponding samba user
Define the share
Make sure the shared director can be accessed by the linux user

There is loads of documentation at www.samba.org

Cheers
Tim


 
Reply With Quote
 
Xyerp
Guest
Posts: n/a

 
      08-13-2003, 06:31 PM
(E-Mail Removed) (N.K.) wrote in message news:<(E-Mail Removed). com>...
> Hi, this is my first encounter with Samba. I've spent half a day
> trying to configure it with no success.
> First of all it's already been installed on my machine and I expect
> that the installation was clean, but I'd like to check whether I have
> all that is needed.
> Second, I'm not sure I totally understand how it works. I need to
> make a Linux share available to Windows and maybe vice versa.
> Is everything that needs to be done has to be done on Linux box?
> Now, from what I've read, I need to confugure the smb.conf file. The
> example I see in a red hat linux book is very vague to me. Is all I
> have to do would be to specify the windows workgroup and the Linux
> share path?
> Honestly, I don't really know where to start and what should be done
> overall not even mentioning the details....
> Any help would be appreciated.
> N.K.


Have you tried the Samba how to here:

http://www.tldp.org

?

You may also like to use the webmin interface to configure samba,
rather than poke the text files. The interface available from here

http://www.webmin.com

is very good.
 
Reply With Quote
 
andrew williams
Guest
Posts: n/a

 
      08-13-2003, 06:51 PM
(E-Mail Removed) (N.K.) wrote in message news:<(E-Mail Removed). com>...
> Hi, this is my first encounter with Samba. I've spent half a day
> trying to configure it with no success.
> First of all it's already been installed on my machine and I expect
> that the installation was clean, but I'd like to check whether I have
> all that is needed.
> Second, I'm not sure I totally understand how it works. I need to
> make a Linux share available to Windows and maybe vice versa.
> Is everything that needs to be done has to be done on Linux box?
> Now, from what I've read, I need to confugure the smb.conf file. The
> example I see in a red hat linux book is very vague to me. Is all I
> have to do would be to specify the windows workgroup and the Linux
> share path?
> Honestly, I don't really know where to start and what should be done
> overall not even mentioning the details....
> Any help would be appreciated.
> N.K.


I have been pretty dormant in this area recently, but have a web-page
- http://home.arcor.de/36bit/samba.html - for this. Samba allows you
to make linux shares available to windows and smbmount allows you to
look at windows shares from linux. Sections 2 and 3 point to the real
documentation and go into configuring things (with examples) and
section 4 is troubleshooting.
Best of luck.
(my e-mail address in the header here is a red herring, it gets so
much spam that I no longer access it)
 
Reply With Quote
 
N.K.
Guest
Posts: n/a

 
      08-14-2003, 03:06 PM
Hi, thank you for your thoughts.
I got to the point where I do see a Linux samba server from my Windows
machine. So I'm half way there. To achieve this, I had to change the
hostname of my Linux box and now it appears in my network places and I
can browse it. But I still don't see the windows machines from Linux
box. Before I changed the hostname from localhost.localdomain to
other name I was able to see all the windows machines on the network
but I couldn't really access them. Now when I type smb: in the
Nautilus window location bar I get a message like "could't show all
the servers on the network" or something of that sort. Did the
hostname change affected it? Or I have to do a specific mount to be
able to access the windows machine?
If I have to mount a windows share could you clarify what does the
following line mean:
smbmount //machine/service /mountpoint -o
username=user%pass,uid=dustpuppy

machine - is it a windows machine?
service - what is that?
mountpoint - is that a win. directory?

It would be enough for me to just browse the network and connect to
any windows machine and browse it. Can I do it without mounting?
And again, did hostname change affect anything?

Thanks.
N.K.




(E-Mail Removed) (N.K.) wrote in message news:<(E-Mail Removed). com>...
> Hi, this is my first encounter with Samba. I've spent half a day
> trying to configure it with no success.
> First of all it's already been installed on my machine and I expect
> that the installation was clean, but I'd like to check whether I have
> all that is needed.
> Second, I'm not sure I totally understand how it works. I need to
> make a Linux share available to Windows and maybe vice versa.
> Is everything that needs to be done has to be done on Linux box?
> Now, from what I've read, I need to confugure the smb.conf file. The
> example I see in a red hat linux book is very vague to me. Is all I
> have to do would be to specify the windows workgroup and the Linux
> share path?
> Honestly, I don't really know where to start and what should be done
> overall not even mentioning the details....
> Any help would be appreciated.
> N.K.

 
Reply With Quote
 
/dev/rob0
Guest
Posts: n/a

 
      08-14-2003, 06:09 PM
In article <(E-Mail Removed) >,
N.K. wrote:
> smbmount //machine/service /mountpoint -o
> username=user%pass,uid=dustpuppy


(BTW that should all be on one line.)

> machine - is it a windows machine?


More specifically: a SMB/CIFS server.

> service - what is that?


The share name such as would appear in "smbclient -L machine" or the
Windows network browsing interface.

> mountpoint - is that a win. directory?


A Unix directory, the one under which you want the mounted share's files
to appear.

> It would be enough for me to just browse the network and connect to
> any windows machine and browse it. Can I do it without mounting?


smbclient //machine/service

> And again, did hostname change affect anything?


Yes, explained in the other thread.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
 
Reply With Quote
 
N.K.
Guest
Posts: n/a

 
      08-25-2003, 04:07 PM
Hi, thank you so much for your help.
I acctually got it working in one of the ways.
When I use
smbclient //hostname/share password -U username -c 'put remotefile
localfile'
It all works perfectly!!!!

But I still can't mount the drive which would be helpful to me.
First of all when I see a listing of all the windows machines somehow
I see my windows box twice. Why is that and does it matter? How can
I fix that?
Next, when I try to access a shared drive on my windows box (I'm able
to login to it) I get a message that I don't have permissions
necessary to access that drive. I've checked all the permissions on
windows box and they are fine. Besides it gives me access through
smbclient command so where is the problem?
Is there another place where I can set up permissions?
Thanks for all your help.
N.K.



/dev/rob0 <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>. ..
> In article <(E-Mail Removed) >,
> N.K. wrote:
> > smbmount //machine/service /mountpoint -o
> > username=user%pass,uid=dustpuppy

>
> (BTW that should all be on one line.)
>
> > machine - is it a windows machine?

>
> More specifically: a SMB/CIFS server.
>
> > service - what is that?

>
> The share name such as would appear in "smbclient -L machine" or the
> Windows network browsing interface.
>
> > mountpoint - is that a win. directory?

>
> A Unix directory, the one under which you want the mounted share's files
> to appear.
>
> > It would be enough for me to just browse the network and connect to
> > any windows machine and browse it. Can I do it without mounting?

>
> smbclient //machine/service
>
> > And again, did hostname change affect anything?

>
> Yes, explained in the other thread.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Will Samba work with XP Home? Carlos Linux Networking 3 08-16-2005 10:32 PM
Damn samba ... will i see it to work correctly? Roy Linux Networking 3 10-28-2004 11:44 AM
Will applications using streams work on Samba? TomW Linux Networking 1 11-07-2003 05:16 PM
Getting Samba to work N.K. Linux Networking 1 08-13-2003 06:18 PM
Guru required for CONTRACT work setting up samba? Oliver Cookson Linux Networking 0 08-07-2003 04:25 PM



1 2 3 4 5 6 7 8 9 10 11