-   Linux - Newbie (
-   -   Samba on linux 5 (

irfankundi786 11-04-2012 11:03 AM

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

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

how i can resolved it...

shivaa 11-04-2012 12:57 PM

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

irfankundi786 11-05-2012 08:51 AM

Samba on linux
Yes both the system are pingable.
it means both system is on network.

shivaa 11-05-2012 10:34 AM

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?

irfankundi786 11-05-2012 10:57 AM

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

irfankundi786 11-06-2012 10:50 AM

[root@lnxdb ~]# smbfind
bash: smbfind: command not found

[root@lnxdb ~]# findsmb




[root@lnxdb ~]# smbtree



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


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

shivaa 11-06-2012 11:33 AM

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

Wim Sturkenboom 11-06-2012 11:52 AM

I can't help but what is 'Linux 5'? RedHat? Something else? That will define the commands that you might need to install something.

irfankundi786 11-06-2012 12:00 PM

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

/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

All times are GMT -5. The time now is 05:57 PM.