LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 09-06-2010, 06:21 AM   #1
maheshp86
LQ Newbie
 
Registered: Jun 2010
Location: mumbai
Posts: 22

Rep: Reputation: 0
samba in redhat linux


hi everybody..

i have configured Samba on my RHEL5 machine,and samba version is 3.0.23c-2.

i am trying to access the samba share from my linux machine
it gives the following error

[root@node1 ~]# smbclient //10.10.40.211/root/smbshare -U mary
Password:
Domain=[NODE2] OS=[Unix] Server=[Samba 3.0.23c-2]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
[root@node1 ~]#

and my smb.conf file will look like this

[IBM]
comment = mary and freds share
path = /root/smbshare
valid users = mary fred
public = no
writable = yes
printable = no
create mask = 0765
browsable = yes

pls guide me..
 
Old 09-06-2010, 06:29 AM   #2
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
[root@node1 ~]# smbclient //10.10.40.211/smbshare -U mary

should work I think
 
Old 09-06-2010, 06:40 AM   #3
maheshp86
LQ Newbie
 
Registered: Jun 2010
Location: mumbai
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by djsmiley2k View Post
[root@node1 ~]# smbclient //10.10.40.211/smbshare -U mary

should work I think
no it does't work , same error repeated
 
Old 09-06-2010, 06:44 AM   #4
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
What interfaces is your smb.conf bound to? Is it set to specific IP's or subnets?

can you ping 10.10.40.211 ?

Last edited by djsmiley2k; 09-06-2010 at 06:52 AM.
 
Old 09-06-2010, 09:04 AM   #5
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Hi

Are you able to view sharing directories?

Code:
smbclient -L //10.10.40.211/IBM -U mary
use share name when you access samba from client side.

Code:
smbclient //10.10.40.211/IBM -U mary
 
Old 09-06-2010, 10:15 AM   #6
maheshp86
LQ Newbie
 
Registered: Jun 2010
Location: mumbai
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sem007 View Post
Hi

Are you able to view sharing directories?

Code:
smbclient -L //10.10.40.211/IBM -U mary
use share name when you access samba from client side.

Code:
smbclient //10.10.40.211/IBM -U mary

thanks a lot
its working fine...
 
Old 09-06-2010, 10:17 AM   #7
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
glad its working.

If your problem resolved Please mark thread as solved from thread tools.
 
  


Reply

Tags
samba


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
how to configure samba in redhat linux el5 jai_nagarajan Linux - Server 2 07-06-2009 09:32 PM
I Need Help on Redhat linux 4.6 install samba braeasy1 Linux - Networking 2 09-23-2008 04:59 AM
Windows 2000/XP and RedHat Linux Samba Server arrgh95 Linux - Networking 8 08-17-2005 03:26 PM
[linux newbie]Is there GUI mode for Samba in Redhat? Jake_da_Snake Linux - Networking 1 01-24-2004 05:33 AM
Trust relationship using SAMBA in Redhat Linux 7.2 dibakar Linux - Networking 5 02-22-2003 01:36 PM


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