LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-21-2005, 04:54 PM   #1
knowkontrol
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Rep: Reputation: 0
Samba help


First and foremost, i appoligize if this topic isnt in the right place. I am so frustrated I cant see straight. I have been battling samba for about a month now. I think I have seen every post out there for this. Here is my setup below. I have tried a million things and nothing has worked for me. This is the most current setup I have that still isnt working. I dont know what else to do. I am at a loss. I can connect to my windows machine from the Linux box, but not the other way around. I would like to do this without the use of passwords. This has become nothing more than a frustrating problem.


Router(Firewall)
Name: Knowkontrol1
Users: Admin(password protected)

Linux(FC4) Box(No firewall)
Computer Name: KNOWKONTROL2
Workgroup: WORKGROUP
IP Addressing: DHCP
Users: Knowkontrol(password protected), pcguest(password protected)

Windows XP Box(No firewall)
Computer Name: KNOWKONTROL3
Workgroup: WORKGROUP
IP Addressing: DHCP
Users: Knowkontrol(password protrected)


smb.conf file(I copied and pasted my whole smb.conf file here, thats everything):

[global]
workgroup = WORKGROUP
security = share
guest account = pcguest

[LServer]
path = /home/pcguest/LServer
public = yes
read only = no
writeable = yes
guest ok = yes

smbusers file:

# Unix_name = SMB_name1 SMB_name2 ...
root = administrator
pcguest = pcguest

lmhost file:

127.0.0.1 localhost

smbpasswd file:

pcguest:501:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NU ]:LCT-00000000:
nobody:99:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[DU ]:LCT-00000000:

I guess the samba user "pcguest" doesnt have a password but the linux user "pcguest" does. The folder I would like to share to windows is /home/pcguest/LServer. I can see it on the windows machine sometimes. Of course I have changed so many things that that comes and goes. No matter what I have done, I can't get into the folder. Any help what so ever would be much appreciated.

Knowkontrol
 
Old 09-21-2005, 05:53 PM   #2
issinho
Member
 
Registered: Jun 2005
Location: Bosie, ID
Distribution: Fedora Core 4, Kurumin,BackTrack, Slackware 10.2, IPCop
Posts: 105

Rep: Reputation: 15
First things First

Well, I can see (maybe) two issues:

1- FC4. Did you enable SELinux? If so, disable it. It has caused nothing but headaches with Samba. You might want to see if Fedora fixed that bug or not before doing so, however.

2- You might want to add this line to your smb.conf file under your public folder:

force user = {owner of file}

Try those two things. Also, make sure you restart samba. I believe that the command must be issued from the init.d directory, but the command is: service smb restart . That should restart Samba for you.

Let us know if this works or if you have any more issues.
 
Old 09-21-2005, 05:57 PM   #3
danimalz
Member
 
Registered: Jul 2005
Location: West Coast South, USA
Distribution: debian 3.1
Posts: 267

Rep: Reputation: 36
have u run the command 'testparm' ..?
 
Old 09-21-2005, 10:02 PM   #4
knowkontrol
LQ Newbie
 
Registered: Sep 2005
Posts: 5

Original Poster
Rep: Reputation: 0
issinho-
thank you so much. I did both of those and it works. I don't know which one fixed it but it works and you dont know how appreicative of your help I am. I also appreciate danimalz for taking the time to answer me. I love both of you in a non weird, or messed up way. I am so excited now. On to my next project. Thanks again.

WHOOOOOOPEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
 
  


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/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba share - network name no longer available when browsing samba from win2k dorango Linux - Software 0 03-02-2004 01:02 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

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

All times are GMT -5. The time now is 07:37 PM.

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