VMware Cloud Community
Phloks
Contributor
Contributor

Connection to Windows share fails (offloading reports)

We're using

Version 7.0.0.11287812, Build 11287812 of vRealize Operations manager.

When trying to add a network share for offloading my reports, I cannot get the network share connected.

My AD user does have read/write access to this share, but I keep getting the:

"Test was not successful: network share plugin test failed"

The name of the share I want to connect to I got from "net use" in a dos box on my machine when logged in.

I am not sure what is going wrong here.

Does anyone know in which logfile to look (out of the many.....) ?

There is no ssh possibility to log in to the vROPS machine, is there ?

Would make it a bit easier for a Linux admin to determine the cause..

Thanks,

Hans

Reply
0 Kudos
7 Replies
RobertMesropyan
VMware Employee
VMware Employee

Hello,

The Network Share plug-in supports SMB version 2.0 only, please recheck your version

Reply
0 Kudos
Phloks
Contributor
Contributor

Hi,

Thanks for answering.

From another Linux machine (CentOS 7.4) I _am_ able to make a cifs connection using the command:

mount -vvv -t cifs //nfcpca01/secure /mnt -o username=bnhala,domain=fvlprod,vers=2.0

When issuing the same command on the vROPS server, I still get the Permission denied :

mount -vvv -t cifs //nfcpca01/secure /mnt -o username=bnhala,domain=fvlprod,vers=2.0

mount: fstab path: "/etc/fstab"

mount: mtab path:  "/etc/mtab"

mount: lock path:  "/etc/mtab~"

mount: temp path:  "/etc/mtab.tmp"

mount: UID:        0

mount: eUID:       0

mount: spec:  "//nfcpca01/secure"

mount: node:  "/mnt"

mount: types: "cifs"

mount: opts:  "username=bnhala,domain=fvlprod,vers=2.0"

mount: external mount: argv[0] = "/sbin/mount.cifs"

mount: external mount: argv[1] = "//nfcpca01/secure"

mount: external mount: argv[2] = "/mnt"

mount: external mount: argv[3] = "-v"

mount: external mount: argv[4] = "-o"

mount: external mount: argv[5] = "rw,username=bnhala,domain=fvlprod,vers=2.0"

Password:

mount.cifs kernel mount options: ip=10.1.97.45,unc=\\nfcpca01\secure,vers=2.0,ver=1,user=bnhala,domain=fvlprod,pass=********

mount error(13): Permission denied

Forgive my ignorance, but doesn't this indicate an issue on the vROPS server ?

Reply
0 Kudos
Phloks
Contributor
Contributor

In answer to my previous post:

I succeeded in establishing a connection, however only from the ssh prompt.

It turns out I need to add sec=ntlmssp as an option :

mount -vvv -t cifs //nfcpca01/secure /mnt -o username=bnhala,domain=fvlprod,vers=2.0,sec=ntlmssp

An explanation may be found here:

https://www.suse.com/support/kb/doc/?id=7015602

Any idea how to achieve this when configuring an external share from within the GUI ?

(I don't think I will stand a chance asking the Windows sysadmins to remove extended security from their AD servers.....)

Thanks,

Hans

Reply
0 Kudos
RobertMesropyan
VMware Employee
VMware Employee

Hi Hans

The vRops network-share plugin uploads files using samba protocol version v2.1. Please assiure that you have list/read/write/delete permission for the user and have Full-Controll in the "share" permissions.

Reply
0 Kudos
okeedokee
Enthusiast
Enthusiast

I was only able to connect to a NetApp share and not any of our AD DFS shares.

Have you tried with a fqdn (i.e., can vROps resolve nfcpca01)?

Reply
0 Kudos
eric_silberberg
Enthusiast
Enthusiast

Where would the failed attempt be logged? I get a successfull test of the network plugin but nothing happens.  I can scrape logs manually, or I could use log insight which is connected to and monitoring Vrops.

Reply
0 Kudos
RobertMesropyan
VMware Employee
VMware Employee

Failed attempts can be found in view-bridge.log(s) 
Reply
0 Kudos