LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   samba in redhat linux (http://www.linuxquestions.org/questions/linux-server-73/samba-in-redhat-linux-830569/)

maheshp86 09-06-2010 06:21 AM

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..

djsmiley2k 09-06-2010 06:29 AM

[root@node1 ~]# smbclient //10.10.40.211/smbshare -U mary

should work I think

maheshp86 09-06-2010 06:40 AM

Quote:

Originally Posted by djsmiley2k (Post 4089335)
[root@node1 ~]# smbclient //10.10.40.211/smbshare -U mary

should work I think

no it does't work , same error repeated

djsmiley2k 09-06-2010 06:44 AM

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

can you ping 10.10.40.211 ?

sem007 09-06-2010 09:04 AM

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

maheshp86 09-06-2010 10:15 AM

Quote:

Originally Posted by sem007 (Post 4089449)
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...

sem007 09-06-2010 10:17 AM

glad its working.

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


All times are GMT -5. The time now is 11:31 PM.