LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-17-2004, 01:06 AM   #1
Doug.Gentry
Member
 
Registered: Aug 2003
Location: Enumclaw, Washingtion. USA
Distribution: Suse 9.2, Fedora 3, wifes XP
Posts: 143

Rep: Reputation: 15
deleting SMB and starting over?


Ah yes, ANOTHER SMB question.

I'm running Suse 9.0 and my Wife is running XP Pro. I have everything hooked up and running. I also have a D-Link dl-604 router. We're up and on the internet and I have my XP machine and Hers seeing each other.

The issue now is. I would like to be able to share files from my Suse box with the wifes machine and vice and versa.

I'm looking at this website for installing and configuring SMB. I have it already installed on my system so I didn't have to do that part. MAybe just configure it. Anyway I get to a point which is this.

3.1 smb.conf

The smb.conf(5) file controls the behavior of Samba. By default, it's not created, so you'll have to make one up. Some examples are provided later on in this chapter. However, if you're going to run a Samba server, it's critical that you know where this configuration file is and how many unnecessary duplicate copies of this file exist. Common situations include someone installing Samba on a machine that had left over configuration files from a previous version of Samba. Which smb.conf file is the Administrator supposed to edit? Which one will Samba pay attention to? I think you get my drift. To make sure you're in the clear, run the following command as root:

I do this. I log in as SU and enter my password and then type in

find / -name testparm -exec ls -Fla {} \;

and I get this response back.

linux:/home/doug # find / -name testparm -exec ls -Fla {} \;
lrwxrwxrwx 1 root root 31 2004-03-12 23:50 /var/lib/samba/bin/testparm -> /usr/lib/samba/classic/testparm*
lrwxrwxrwx 1 root root 27 2004-03-11 19:27 /usr/bin/testparm -> /var/lib/samba/bin/testparm*
-rwxr-xr-x 1 root root 378866 2003-09-23 16:17 /usr/lib/samba/ldap/testparm*
-rwxr-xr-x 1 root root 377976 2003-09-23 16:17 /usr/lib/samba/classic/testparm*
linux:/home/doug #


HMMmmmmm, cause the next section of the configuration says I should see this and only this.

# find / -name testparm -exec ls -Fla {} \;
-rwxr-xr-x 1 root root 440268 2004-02-09 09:19 /usr/bin/testparm*


and IF I see anything else...If all goes well, only one file will show up. Why are we searching for testparm(1) instead of smb.conf(5)? By default, no smb.conf configuration file is installed with Samba, but testparm (which checks the syntax of your smb.conf file) is. So if you've just installed Samba on a system with an existing version of Samba on it, you might have duplicate configuration files located in odd locations you'd never expect. If you find more than one testparm file, you'd better determine why this is and take corrective action before proceeding!


ACCckk... It says I better determine why this is and take corrective action.. DAMN.... I don't KNOW what corrective action I SHOULD take. It left that chapter out!

SO I guess I'm asking you guys. What should I do with this?
And how do I do it?

Thanks so very much for reading such a long boring post?

Doug Gentry





 
Old 03-17-2004, 11:27 AM   #2
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
im not sure what you are wanting.. are trying to learn samba inside and out.. Or do you just need help setting up for a particulay task?? Let us know what you are trying to setup?

Best way to start (some distro include a sample smb.conf file) is delete the existing smb file. I have never had anything but problems with sample file. I usually make a copy of it.. then erase the entire contents.. and start from scratch
 
Old 03-17-2004, 02:23 PM   #3
Doug.Gentry
Member
 
Registered: Aug 2003
Location: Enumclaw, Washingtion. USA
Distribution: Suse 9.2, Fedora 3, wifes XP
Posts: 143

Original Poster
Rep: Reputation: 15
I'm actually trying to set smb up so I can map to my wifes xp system and also have her see my files. Also I would like to be able to use the pinter that we have also.

As far as that sample file goes. I believe they mentioned that I was lookingb to see where the smple file was so we'd know WHERE it was kept. It says further, I should only see one file location and not a bunch of different ones.
When I see my test parm thing I see I have it in 4 places.

So, I guess the question is, Should I do anything with these 4 file locations or just leave them.

and then, I'll move onto setting up samba and seeing the other computers.

Thanks
Doug
 
  


Reply


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
Samba Log - Starting my SMB johnfromdon Linux - Networking 5 09-15-2005 11:01 AM
starting smb services failed... batfastad Linux - Newbie 24 01-29-2005 06:28 PM
Deleting a file starting with a ? bitpicker Linux - General 6 11-24-2004 01:20 PM
Creating a SSL connection from smb clients to a smb server scottpioso General 0 11-17-2003 02:33 PM
making smb shares viewable from smb client via web browser scottpioso General 3 11-10-2003 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration