Network Discover scan starts and stops with 0 bytes scanned.
search cancel

Network Discover scan starts and stops with 0 bytes scanned.

book

Article ID: 165039

calendar_today

Updated On:

Products

Data Loss Prevention Network Discover

Issue/Introduction

Network Discover scan leveraging the native mounter fails to mount the network share for scanning.

com.vontu.discover.mount.mounter.MountPointMapper mount 
INFO: Mounting share: //server/share/department on l: 
com.vontu.logging.operational.api.PropertyFileOperationalLogWriter generateLogMessage 
WARNING: Argument number mismatch for key DISCOVER.106: layout requires 1 args, but was passed 5 
com.vontu.discover.mount.mounter.DefaultMountPointMapper parseResult 
SEVERE: (DISCOVER.106) Syntax error in command: E:\SymantecDLP\Protect\bin/smb.bat 
com.vontu.discover.crawler.framework.RepositoryCrawler openContentRoot 
SEVERE: can't parse argument number: YES | NO 
java.lang.IllegalArgumentException: can't parse argument number: YES | NO 
at java.text.MessageFormat.makeFormat(MessageFormat.java:1429) 
at java.text.MessageFormat.applyPattern(MessageFormat.java:479) 
at java.text.MessageFormat.<init>(MessageFormat.java:362) 
at java.text.MessageFormat.format(MessageFormat.java:840) 
at com.vontu.discover.crawler.framework.LocalizableException.<init>(LocalizableException.java:52) 
at com.vontu.discover.repository.RepositoryException.<init>(RepositoryException.java:51) 
at com.vontu.filesystemcrawler.ExceptionConverterImpl.createRepositoryException(ExceptionConverterImpl.java:134) 
at com.vontu.filesystemcrawler.ExceptionConverterImpl.convertStatusMessageMounterException(ExceptionConverterImpl.java:51) 
at com.vontu.filesystemcrawler.mount.MounterCustodian.open(MounterCustodian.java:76) 
at com.vontu.filesystemcrawler.FileSystemContentRoot.open(FileSystemContentRoot.java:85) 
at com.vontu.discover.crawler.framework.RepositoryCrawler.openContentRoot(RepositoryCrawler.java:630) 
at com.vontu.discover.crawler.framework.RepositoryCrawler.crawlUserContentRoot(RepositoryCrawler.java:480) 
at com.vontu.discover.crawler.framework.RepositoryCrawler.crawl(RepositoryCrawler.java:371) 
at com.vontu.discover.crawler.framework.RepositoryCrawler$CrawlerThread.run(RepositoryCrawler.java:245) 
Caused by: java.lang.NumberFormatException: For input string: "YES | NO" 
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) 
at java.lang.Integer.parseInt(Integer.java:580) 
at java.lang.Integer.parseInt(Integer.java:615) 
at java.text.MessageFormat.makeFormat(MessageFormat.java:1427) 
... 13 more 

Environment

Detection Server: Windows Server 2012 R2

Cause

With Network Discover using the native mounter, the scan parameters are passed to the net command.
Invalid characters in the scan parameters can cause this issue.
For example, a password with a pipe, |, symbol can cause the scan to fail.

Resolution

Omitt the following characters from the scanning users password in order to avoid this issue.

Pipe Symbol |
Ampersand &
At symbol @
Forward slash /
Back slash \