Hi Karl, Thanks for the info. What kind of permission is required to get share security? I tried with an account which has modify access to the folder but got the same error. Is Full Control access required? Please advise.
Regards Kambiz ________________________________ From: Karl Wright <[email protected]> To: "[email protected]" <[email protected]>; Kambiz Niktabar <[email protected]> Sent: Tuesday, September 23, 2014 5:54 PM Subject: Re: JCIFS error while crawling DFS share Hi Kambiz, The problem is that your user doesn't have permissions to obtain the share security for the documents in question. The ability to obtain ACLs for a document is critical in order to be able to enforce document security at search time. Thanks, Karl On Tue, Sep 23, 2014 at 11:18 AM, Kambiz Niktabar <[email protected]> wrote: Hi, > > >After the attempt for crawling content on DFS share was unsuccessful, I tried >crawling it through the actual server name but I got "Access is denied" >message although the user has access to the shared folder and document. >Here is the debug log for the connector. Any idea what the problem is ? > > >Regards >Kambiz Niktabar > > > > >DEBUG 2014-09-23 11:59:03,449 (Startup thread) - Connecting to: >smb://domain.net;user:<password>@server1/ >DEBUG 2014-09-23 11:59:03,480 (Startup thread) - Seed = >'smb://server1/folder1/folder2/FT_Test/' >DEBUG 2014-09-23 11:59:05,683 (Worker thread '1') - JCIFS: getVersions(): >documentIdentifiers[0] is: smb://server1/folder1/folder2/FT_Test/ >DEBUG 2014-09-23 11:59:05,761 (Worker thread '1') - JCIFS: In checkInclude for >'smb://server1/folder1/folder2/FT_Test/' >DEBUG 2014-09-23 11:59:05,761 (Worker thread '1') - JCIFS: Matching startpoint >'smb://server1/folder1/folder2/FT_Test/' against actual >'smb://server1/folder1/folder2/FT_Test/' >DEBUG 2014-09-23 11:59:05,761 (Worker thread '1') - JCIFS: Startpoint found! >DEBUG 2014-09-23 11:59:05,761 (Worker thread '1') - JCIFS: Startpoint: always >included >DEBUG 2014-09-23 11:59:05,761 (Worker thread '1') - JCIFS: Leaving >checkInclude for 'smb://server1/folder1/folder2/FT_Test/' >DEBUG 2014-09-23 11:59:05,761 (Worker thread '1') - JCIFS: Processing >'smb://server1/folder1/folder2/FT_Test/' >DEBUG 2014-09-23 11:59:05,761 (Worker thread '1') - JCIFS: >'smb://server1/folder1/folder2/FT_Test/' is a directory >DEBUG 2014-09-23 11:59:05,761 (Worker thread '1') - JCIFS: In checkInclude for >'smb://server1/folder1/folder2/FT_Test/Test1_Shared.doc' >DEBUG 2014-09-23 11:59:05,777 (Worker thread '1') - JCIFS: Matching startpoint >'smb://server1/folder1/folder2/FT_Test/' against actual >'smb://server1/folder1/folder2/FT_Test/' >DEBUG 2014-09-23 11:59:05,777 (Worker thread '1') - JCIFS: Startpoint found! >DEBUG 2014-09-23 11:59:05,777 (Worker thread '1') - JCIFS: Checking '*' >against '/Test1_Shared.doc' >DEBUG 2014-09-23 11:59:05,777 (Worker thread '1') - JCIFS: Match found. >DEBUG 2014-09-23 11:59:05,777 (Worker thread '1') - JCIFS: Leaving >checkInclude for 'smb://server1/folder1/folder2/FT_Test/Test1_Shared.doc' >DEBUG 2014-09-23 11:59:05,777 (Worker thread '1') - JCIFS: Recorded path is >'smb://server1/folder1/folder2/FT_Test/Test1_Shared.doc' and is included. >DEBUG 2014-09-23 11:59:07,495 (Worker thread '7') - JCIFS: getVersions(): >documentIdentifiers[0] is: >smb://server1/folder1/folder2/FT_Test/Test1_Shared.doc >DEBUG 2014-09-23 11:59:07,495 (Worker thread '7') - JCIFS: In checkInclude for >'smb://server1/folder1/folder2/FT_Test/Test1_Shared.doc' >DEBUG 2014-09-23 11:59:07,495 (Worker thread '7') - JCIFS: Matching startpoint >'smb://server1/folder1/folder2/FT_Test/' against actual >'smb://server1/folder1/folder2/FT_Test/' >DEBUG 2014-09-23 11:59:07,495 (Worker thread '7') - JCIFS: Startpoint found! >DEBUG 2014-09-23 11:59:07,495 (Worker thread '7') - JCIFS: Checking '*' >against '/Test1_Shared.doc' >DEBUG 2014-09-23 11:59:07,495 (Worker thread '7') - JCIFS: Match found. >DEBUG 2014-09-23 11:59:07,495 (Worker thread '7') - JCIFS: Leaving >checkInclude for 'smb://server1/folder1/folder2/FT_Test/Test1_Shared.doc' > WARN 2014-09-23 11:59:07,527 (Worker thread '7') - JCIFS: Possibly transient > exception detected on attempt 1 while getting share security: Access is > denied. >jcifs.smb.SmbException: Access is denied. >at jcifs.smb.SmbFile.getShareSecurity(SmbFile.java:2945) >at >org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.getFileShareSecurity(SharedDriveConnector.java:2552) >at >org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.describeDocumentSecurity(SharedDriveConnector.java:1070) >at >org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.getDocumentVersions(SharedDriveConnector.java:560) >at >org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.getDocumentVersions(BaseRepositoryConnector.java:469) >at >org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.getDocumentVersions(BaseRepositoryConnector.java:435) >at >org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.processDocuments(BaseRepositoryConnector.java:358) >at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:380) > WARN 2014-09-23 11:59:07,527 (Worker thread '7') - JCIFS: Possibly transient > exception detected on attempt 2 while getting share security: Access is > denied. >jcifs.smb.SmbException: Access is denied. >at jcifs.smb.SmbFile.getShareSecurity(SmbFile.java:2945) >at >org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.getFileShareSecurity(SharedDriveConnector.java:2552) >at >org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.describeDocumentSecurity(SharedDriveConnector.java:1070) >at >org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.getDocumentVersions(SharedDriveConnector.java:560) >at >org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.getDocumentVersions(BaseRepositoryConnector.java:469) >at >org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.getDocumentVersions(BaseRepositoryConnector.java:435) >at >org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.processDocuments(BaseRepositoryConnector.java:358) >at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:380) > WARN 2014-09-23 11:59:07,527 (Worker thread '7') - JCIFS: Possibly transient > exception detected on attempt 3 while getting share security: Access is > denied. >jcifs.smb.SmbException: Access is denied. >at jcifs.smb.SmbFile.getShareSecurity(SmbFile.java:2945) >at >org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.getFileShareSecurity(SharedDriveConnector.java:2552) >at >org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.describeDocumentSecurity(SharedDriveConnector.java:1070) >at >org.apache.manifoldcf.crawler.connectors.sharedrive.SharedDriveConnector.getDocumentVersions(SharedDriveConnector.java:560) >at >org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.getDocumentVersions(BaseRepositoryConnector.java:469) >at >org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.getDocumentVersions(BaseRepositoryConnector.java:435) >at >org.apache.manifoldcf.crawler.connectors.BaseRepositoryConnector.processDocuments(BaseRepositoryConnector.java:358) >at org.apache.manifoldcf.crawler.system.WorkerThread.run(WorkerThread.java:380) > WARN 2014-09-23 11:59:07,527 (Worker thread '7') - JCIFS: Access exception > when getting document version for > smb://server1/folder1/folder2/FT_Test/Test1_Shared.doc - skipping > > > >
