CentOS 7.4 and windows hosts on vmware

General support questions
Post Reply
kd0
Posts: 10
Joined: 2017/08/06 01:30:53

CentOS 7.4 and windows hosts on vmware

Post by kd0 » 2017/09/24 18:50:06

i got CentOS 7.4 installed on vmware, i installed minimal, then installed gnome

when i go to my windows hosts folder i dont see my windows machines even though sharing is on windows 10 and its not password protected either, there are shared drives

or is there a setting in vmware workstation 12 i need to set that someone knows of? or something i need to install like an RPM? i installed samba by doing a yum -y install samba samba-common

but that didnt solve the issue

is there something else i could install or try? im kinda a linux newb

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: CentOS 7.4 and windows hosts on vmware

Post by hunter86_bg » 2017/09/25 04:36:44

OK, as I'm not sure that I have understood you correctly I will need you to clarify some facts.
1.Wingows 10 host, CentOS 1708 with Vmware for virtualization
2.Windows host shares a folder but CentOs can't see.

As the CentOS will be a client you will need more packages.You can find some details in the wiki. To verify that the samba on CentOS can see the share use

Code: Select all

smbclient -U username -L //windows10/shared_dir
(replace with relevant hostname or ip and shared folder's name).

kd0
Posts: 10
Joined: 2017/08/06 01:30:53

Re: CentOS 7.4 and windows hosts on vmware

Post by kd0 » 2017/09/25 16:32:22

hunter86_bg wrote:OK, as I'm not sure that I have understood you correctly I will need you to clarify some facts.
1.Wingows 10 host, CentOS 1708 with Vmware for virtualization
2.Windows host shares a folder but CentOs can't see.

As the CentOS will be a client you will need more packages.You can find some details in the wiki. To verify that the samba on CentOS can see the share use

Code: Select all

smbclient -U username -L //windows10/shared_dir
(replace with relevant hostname or ip and shared folder's name).
yes im running winblows 10 with vmware workstation 12, sharing is enabled on all drives but centos doesnt see them in /mnt

im running CentOS latest version with minimal install then GNOME + Graphics Admin Tools

CentOS was installed first, then cpanel, then gnome..
trust me cpanel is not going to help me with this, they only support themselves.. it is still cent OS it might just need some adjusting to the repos im not sure, i dont see how samba would interfere with anything

the connection is bridged through my atheros e2200 killer lan and the lan ip of the virtual machine is 192.168.0.17
the server fqdn is server.coleshosting.net

ports for samba 445 and 135 are forwarded on the router, so are the rest of the needed ports (sftp, ftp, ssh..imap..dns.. etc)


heres what it tells me do i have a repo problem?

Code: Select all

1/2): epel/x86_64/updateinfo                               | 831 kB  00:00:00     
(2/2): epel/x86_64/primary_db                               | 4.8 MB  00:00:00     
Loading mirror speeds from cached hostfile
 * EA4: 67.222.0.10
 * cpanel-addons-production-feed: 67.222.0.10
 * base: mirror.cs.vt.edu
 * epel: mirror.oss.ou.edu
 * extras: mirror.dal10.us.leaseweb.net
 * nux-dextop: mirror.li.nux.ro
 * updates: pubmirrors.dal.corespace.com
No package samaba-client available.
Package samba-common-4.6.2-11.el7_4.noarch already installed and latest version
Package cifs-utils-6.2-10.el7.x86_64 already installed and latest version
Nothing to do
i also tried your command and i get this error, "as there is no user for my workgroup, unless you mean the username of the PC, which has no password"

Code: Select all

Connection to 192.168.0.10 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available
[root@server etc]# smbclient -L //192.168.0.10/H$
Enter WORKGROUP\root's password: 
OS=[Windows 10 Pro 15063] Server=[Windows 10 Pro 6.3]

	Sharename       Type      Comment
	---------       ----      -------
	ADMIN$          Disk      Remote Admin
	C               Disk      
	C$              Disk      Default share
	D               Disk      
	D$              Disk      Default share
	H               Disk      
	H$              Disk      Default share
	IPC$            IPC       Remote IPC
	Users           Disk      
Connection to 192.168.0.10 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available
i was trying to see if i could see the shares in the gnome gui, but when i double click on WORKGROUP for windows.. it says invalid argument

ive also tried the username and pin for windows 10

Connection to 192.168.0.10 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available
[root@server etc]# smbclient -L //192.168.0.10/H$
Enter WORKGROUP\root's password:
OS=[Windows 10 Pro 15063] Server=[Windows 10 Pro 6.3]

Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C Disk
C$ Disk Default share
D Disk
D$ Disk Default share
H Disk
H$ Disk Default share
IPC$ IPC Remote IPC
Users Disk
Connection to 192.168.0.10 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available

Code: Select all

[root@server etc]# smbclient -U kd0 //192.168.0.10/H$
Enter WORKGROUP\kd0's password: 
session setup failed: NT_STATUS_LOGON_FAILURE
[root@server etc]# smbclient -U kd0 -L  //192.168.0.10/H$
Enter WORKGROUP\kd0's password: 
session setup failed: NT_STATUS_LOGON_FAILURE

Post Reply