LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-04-2003, 02:05 PM   #1
Björneborg
LQ Newbie
 
Registered: Jan 2003
Location: Finland
Distribution: SuSE
Posts: 12

Rep: Reputation: 0
Question Samba


I've problem with my SAMBA.
Main-PC uses SuSE 8.2 and client (IBM ThinkPad 370)
uses Win 95.(via PCMCIA)

I can see linux-machine in IBM:s network profiles, but
can't see any files for example. If I try open Linux-folder
from IBM, it says (with error-message): Can't find "Linux"-computer..and so on..

Swat works fine in SuSE, and I've read samba man-pages
carefully, but something goes wrong..every time ;(

Samba manuals tells, that it must create [test]-file for smb.conf
and give all permission to it (with chmod 777..and so on)
(because of test..ONLY),
OK, I did it,..no help.

When I try with testparm, it says that all is right..also with [test]
Same with ./smb status..

Have anyone good answers..?
Maybe there is some very simple thing that I've not did
in conf..? Either in SuSE or Win-machine..

thank's very much..all, who can help..
 
Old 05-04-2003, 02:11 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Have you got any firewall rules on the SuSE box?
iptables -L
 
Old 05-04-2003, 03:09 PM   #3
Björneborg
LQ Newbie
 
Registered: Jan 2003
Location: Finland
Distribution: SuSE
Posts: 12

Original Poster
Rep: Reputation: 0
I have also closed firewall from YaST (temporarily):
No help..
 
Old 05-04-2003, 03:29 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,243

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
Did you add a samba password? Username needs to be the same as a regular user on linux as well as the username you logon to on the windows PC.

Are sure smbd and nmbd are running. Check the logs for any errors. /var/log/samba

Can you see the linux PC using the DOS command
net view

You might have Win95 set to clear passwords but encrypted passwords in your smb.conf.
 
Old 05-04-2003, 06:53 PM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Disconnect your network from the internet. Change security=user to security=share in the global section. Also change encrypted passwords to no. Win95 doesn't use encrypted passwords although second edition of Win95 uses encrypted passwords. You can either run the registry script that came with samba or set encrypted passwords in smb.conf .

I don't have access to my smb.conf file but I did post my old file in this forum. You may want to do a search.

Read the smb.conf document at SAMBA's site.
 
Old 05-05-2003, 03:35 PM   #6
Björneborg
LQ Newbie
 
Registered: Jan 2003
Location: Finland
Distribution: SuSE
Posts: 12

Original Poster
Rep: Reputation: 0
Thank's everyone! I try SMB connection again tomorrow. (To michaelk: Yes, smbd and nmbd are running, but I must see if there is something interesting in /var/log/samba and also must check connection with
DOS)

If I remember right , I've already tried chance security level in smb.conf..but must check it also..

See again..!
 
Old 05-11-2003, 11:11 AM   #7
Björneborg
LQ Newbie
 
Registered: Jan 2003
Location: Finland
Distribution: SuSE
Posts: 12

Original Poster
Rep: Reputation: 0
Now I have working Samba-system(Thanks,..!), but I have one problem
more..How can I configure SuSE 8.2's firewall so that it not disturb Samba connection? With ZoneAlarm in Windows-systems
I can give trusted IP:s. Is there in SuSE similar configuration somewhere?

And second question: If I want see Windows' files from
my SuSE-box it works fine with
[smbmount //kaksi/C '/mnt/windows/' -o username=hehku]
(in my case).
How can I create similar script , it would be so much
faster use, than open terminal every time when I need use
Windows-files.
 
Old 05-11-2003, 01:55 PM   #8
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
i thing u can use a gui manager aviable a samba.org to view ur windows files
of these "xsmbrowser" is a good one
 
Old 05-11-2003, 03:36 PM   #9
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
As masand said you can use a gui manager for samba, I´ve heard "xfsamba" is fine.

You can also add a line in your fstab, so the share will mount automatically at startup so you can just go to the directory you specified and there will be your windows share.

The fstab line would be something like:

//192.168.0.1/share_name /mnt/winfiles smbfs username=you,password=yours,fmask=0777,dmask=0777,rw 0 0
 
  


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 02:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 10:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 02:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM


All times are GMT -5. The time now is 12:37 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration