LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-19-2005, 10:33 AM   #1
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Problem while accessing Samba Shares.


When I click on Network Browsing --> Samba

Sometimes, i get a message saying that the samba shares are inaccessible. or some error like that.
It tells me to disable my firewall.( It is already disabled) I don't know why does it tell me this!
Any ideas?
 
Old 09-19-2005, 11:11 AM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Assuming you installed the SAMBA services, one easy way is to just open up Konqueror and type:

smb://ipaddressoftheothernetwork

it will prompt for your username and password.
 
Old 09-19-2005, 12:12 PM   #3
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
This is not a home network I am talking about.

This is a local area network, and I don't always know the IP addresses of the other users. I will give that thing a try. But what if there isn't any password for the Share and it is still asking for it?


Moreover, is there a way to install SMB4K under SuSE?

I have used it under distros like Mandrake, MEPIS etc.
Good stuff.


Thank you.
 
Old 09-19-2005, 12:31 PM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Quote:
Moreover, is there a way to install SMB4K under SuSE?
You can find a smb4k rpm in guru's rpm repository: ftp://ftp.gwdg.de/linux/misc/suser-guru/rpm/9.3
This is a valid YaST source, so you can add the server to your installation sources and install the package with YaST.
 
Old 09-19-2005, 01:13 PM   #5
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally posted by duffmckagan
This is not a home network I am talking about.

This is a local area network, and I don't always know the IP addresses of the other users. I will give that thing a try. But what if there isn't any password for the Share and it is still asking for it?


Moreover, is there a way to install SMB4K under SuSE?

I have used it under distros like Mandrake, MEPIS etc.
Good stuff.


Thank you.
Yes, I'm not talking about a home network. I'm talking about viewing contents and files on a Domain on a Windows 2003 server using Active Directory.

I just use:

smb://ipaddress OR use smb://nameofcomputer (netBIOS name)

It will prompt you for the username (of the domain) and password (of the of user of the domain). It doesn't matter if the folder is passworded or not. you just need the account username and password of the domain you are trying to join.

Last edited by Micro420; 09-19-2005 at 01:16 PM.
 
Old 09-19-2005, 01:18 PM   #6
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
Quote:
It doesn't matter if the folder is passworded or not. you just need the account username and password of the domain you are trying to join.



Quote:
Windows 2003 server using Active Directory.

What if it is a Windows XP machine?
 
Old 09-19-2005, 03:07 PM   #7
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally posted by duffmckagan





What if it is a Windows XP machine?
My apologies, I'm getting a little confused on threads as there was another one posted about Domains and active directory. But it still makes no difference as it's the same way to access a Windows Xp/2003/2000/ME/98/95 machine.

Are we talking about connecting Linux to Windows, Linux to Linux, Windows to Linux???

*Linux to Windows*

1) Open konqueror
2) smb://ipaddress of Windows computer
As for the folder password,it makes no difference. Just enter the usename and passowrd of the account on the computer you're trying to connect to. If I recall correctly, username's must have passwords. This is a built-in security for Windows in general. This prevents random access to your folders.

*Linux to Linux*
Both computers must have SAMBA services. Do just like Linux to Windows. Remember to set share folders and permissions on the Linux computers.

*Windows to Linux*
Linux computer must have SAMBA services running. Set your folders to share and give permission to view file contents to everyone. When that is done, in your Windows XP machine, open MY COMPUTER. at the address bar, just type \\ipaddress\sharefoldrename

Hope this helps? Sorry for the confusion. I need to slow down, but I'm bored at work.


Last edited by Micro420; 09-19-2005 at 03:18 PM.
 
Old 09-19-2005, 04:40 PM   #8
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
SAMBA is a protocol for accessing Linux files on a Windows computer (or accessing Windows files from Linux on a remote computer).

For Linux to Linux you need something like NFS .

If you can use SAMBA on both machines for Linux to Linux I'd be very interested in what files you can access.

Cheers

-K
 
Old 09-19-2005, 05:34 PM   #9
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally posted by 1kyle
SAMBA is a protocol for accessing Linux files on a Windows computer (or accessing Windows files from Linux on a remote computer).

For Linux to Linux you need something like NFS .

If you can use SAMBA on both machines for Linux to Linux I'd be very interested in what files you can access.

Cheers

-K
Thanks for the correction.

You need NFS to access Linux to Linux
 
Old 09-19-2005, 11:39 PM   #10
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
LOL...

Thanks for the information provided.(But I already knew that "stuff")


Referring to my original post, which says:
When I try to access Samba Shares, sometimes it says that it can't connect to the Network due to Enabled Firewall.
I get this message (only occassionally ) even if the Firewall is disabled.




Thank you.
 
Old 09-20-2005, 10:07 AM   #11
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally posted by duffmckagan
LOL...

Thanks for the information provided.(But I already knew that "stuff")


Referring to my original post, which says:
When I try to access Samba Shares, sometimes it says that it can't connect to the Network due to Enabled Firewall.
I get this message (only occassionally ) even if the Firewall is disabled.




Thank you.
Are the firewalls disabled on both computers? Check router settings? Is shorewall running? Other than those, I'm stumped!
 
Old 09-21-2005, 02:04 AM   #12
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
Quote:
Are the firewalls disabled on both computers?
Check router settings?
Is shorewall running?

1. Yes. Firewalls on both the computers are disabled.

2. No Routers here. We have a connection over a Switch.

3. I will try to find out what is this Shorewall thing on Google and let you know if it is running!!



Thanks.
 
Old 09-21-2005, 02:06 AM   #13
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
I'm not sure if Shorewall was installed by Default and is running on my system.

Where do I find that thing out?

I have disabled the SuSE Firewall and that is it.


I am cleanly stumped out of this mess.
The Network inaccessible message come only occassionally.
 
Old 09-21-2005, 12:07 PM   #14
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
I believe shorewall is not installed by default so that should be okay.

You can ping Windows/Linux computers, right?

Have you tried the command line version? Just do as root

Code:
smbclient //nameofcomputer/sharedfoldername --user=windowsusername

(enter Windows password for that account)
Wait like 10 seconds and if all worked, the command line will change to:

Code:
smb:>
Try that and see if it works.
 
Old 09-21-2005, 01:54 PM   #15
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Original Poster
Rep: Reputation: 49
OH yeah. I will try the command line thing out. It did not click in my mind at that moment.

I will give it a try and let you guys know. (Again mentioning that the problem is not frequent.)
 
  


Reply



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
Difficulty accessing SAMBA shares Tsarok Slackware 1 08-30-2005 09:16 PM
Accessing samba shares from a windows machine lacitpo Linux - Software 2 12-13-2004 06:47 AM
Problem accessing windows shares using samba Tinku Linux - Software 6 08-05-2004 07:47 PM
Accessing Samba Shares The_Q DamnSmallLinux 2 02-05-2004 04:36 AM
accessing samba shares is slow! kudos Linux - Software 2 11-26-2003 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:06 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