LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 11-04-2012, 12:03 PM   #1
irfankundi786
LQ Newbie
 
Registered: Jul 2012
Posts: 23

Rep: Reputation: Disabled
Samba on linux 5


i am going to configure samba on linux 5 which is the guest os on wmware.my host os is win 7.
in linux when past the command like
smbtree. it give this error ...my host system name is Home-pc
error message is

\\home-pc
cli_rpc_pipe_open:cli_nt_create failed to open pipe /srvsvc to machine home-pc err.

how i can resolved it...
 
Old 11-04-2012, 01:57 PM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
Is there connectivity between VM (Linux 5) and main OS i.e. Win7? I think you want to use samba to transfer data between guest OS and your Win7..!!
 
Old 11-05-2012, 09:51 AM   #3
irfankundi786
LQ Newbie
 
Registered: Jul 2012
Posts: 23

Original Poster
Rep: Reputation: Disabled
Samba on linux

Yes both the system are pingable.
it means both system is on network.
 
Old 11-05-2012, 11:34 AM   #4
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
Ping does'nt mean that they're in same network. But for samba, they should be in same network domain.
Have u setup any DNS? or can you ping each machine using there full hostname, not with just IP?
 
Old 11-05-2012, 11:57 AM   #5
irfankundi786
LQ Newbie
 
Registered: Jul 2012
Posts: 23

Original Poster
Rep: Reputation: Disabled
i try from win7 to ping my guest os using there name but nothing will do.
if they are not on same network how i can do for this setup.
please detail step by step help needed
 
Old 11-06-2012, 11:50 AM   #6
irfankundi786
LQ Newbie
 
Registered: Jul 2012
Posts: 23

Original Poster
Rep: Reputation: Disabled
[root@lnxdb ~]# smbfind
bash: smbfind: command not found

[root@lnxdb ~]# findsmb



*=DMB

+=LMB
IP ADDR
NETBIOS NAME WORKGROUP/OS/VERSION

---------------------------------------------------------------------

[root@lnxdb ~]# smbtree

Password:
WORKGROUP

\\NACO-C85CC84306

cli_start_connection: failed to connect to NACO-C85CC84306<20> (0.0.0.0)

\\HOME-PC

cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine HOME-PC. Error was NT_STATUS_ACCESS_DENIED

[root@lnxdb ~]#


My system is home-pc
both the system are ping.
now whats the problem that my systme is not accessed....
 
Old 11-06-2012, 12:33 PM   #7
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
First need is that you put both Win & Linux machines in same network domain. So set some domain first. Also check your Windows PC's FQDN or is this a part of some WORKGROUP? The linux should also belong to the same network. Also both machines should know each other, not just with their IPs, but with hostnames/FQDN. To do this, set domainname in your Linux machine & make it a part of the same domain as your Win machine is in.
Check your /etc/resolv.conf file and nameserver entries in it, if not, then make the same nameserver entries in it as your Windows machines has.

After that, you can install samba server like:
sudo apt-get install samba smbfs
 
Old 11-06-2012, 12:52 PM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
I can't help but what is 'Linux 5'? RedHat? Something else? That will define the commands that you might need to install something.
 
Old 11-06-2012, 01:00 PM   #9
irfankundi786
LQ Newbie
 
Registered: Jul 2012
Posts: 23

Original Poster
Rep: Reputation: Disabled
[root@lnxdb ~]# /etc/resolv.conf

bash:
/etc/resolv.conf: Permission denied

[root@lnxdb ~]# cat /etc/resolv.conf


search localdomain
[root@lnxdb ~]#
please guide me how i can put the both system on same domain and and same group...detail
 
  


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 - windows files lose "created on" date stamp when moved to samba share on linux jaredk51 Linux - Software 5 02-19-2010 04:13 PM
Linux Samba to Linux Samba sharing - possible? Micro420 Linux - Networking 2 09-13-2006 01:35 AM
Samba OS X to Linux Samba file share error ttoomey Linux - Software 1 08-16-2005 11:12 AM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 02:21 AM


All times are GMT -5. The time now is 05:06 AM.

Main Menu
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