Start a new topic
Answered

CrushTask Username Lookup on internal share broken

 I have followed the guide to enable internal share username lookup via CrushTask (http://www.crushftp.com/crush7wiki/Wiki.jsp?page=CrushTaskExample5) and it always fails.  There are some discrepancies in what is shown on the example and what is available in the job options.  I keep getting an error in the log when I test the job 

 

06/18/2015 14:37:30.213:tasks.FindTask.Find:Found 1 in folder /C:/CrushFTP7_PC/forms/
06/18/2015 14:37:30.214:tasks.FindTask.Find:Got list2 with items:1
06/18/2015 14:37:30.214:tasks.FindTask.Find:Filtering find with check1 items:1
06/18/2015 14:37:30.215:tasks.FindTask.Find:Added:/C:/CrushFTP7_PC/forms/shareUsernames.txt
06/18/2015 14:37:30.215:tasks.FindTask.Find:Completing find with newItems items:1
06/18/2015 14:37:30.227:tasks.DeleteTask.Delete:Starting...
06/18/2015 14:37:30.324:tasks.DeleteTask.Delete:Deleting /C:/CrushFTP7_PC/forms/
06/18/2015 14:37:30.325:tasks.DeleteTask.Delete:Delete failed, trying again.../C:/CrushFTP7_PC/forms/
06/18/2015 14:37:31.325:tasks.DeleteTask.Delete:Deleting /C:/CrushFTP7_PC/forms/
06/18/2015 14:37:31.326:tasks.DeleteTask.Delete:Delete failed, trying again.../C:/CrushFTP7_PC/forms/
06/18/2015 14:37:32.326:tasks.DeleteTask.Delete:Deleting /C:/CrushFTP7_PC/forms/
06/18/2015 14:37:32.326:tasks.DeleteTask.Delete:Delete failed, trying again.../C:/CrushFTP7_PC/forms/
06/18/2015 14:37:33.327:tasks.DeleteTask.Delete:Deleting /C:/CrushFTP7_PC/forms/
06/18/2015 14:37:33.327:tasks.DeleteTask.Delete:Delete failed, trying again.../C:/CrushFTP7_PC/forms/
06/18/2015 14:37:34.328:tasks.DeleteTask.Delete:Deleting /C:/CrushFTP7_PC/forms/
06/18/2015 14:37:34.328:tasks.DeleteTask.Delete:Delete failed, trying again.../C:/CrushFTP7_PC/forms/
06/18/2015 14:37:35.343:tasks.DeleteTask.Delete:Deleting /C:/CrushFTP7_PC/forms/
06/18/2015 14:37:35.344:tasks.DeleteTask.Delete:Job task:shareUsernames:tlDyxhklGjHLjGwMsUHy
06/18/2015 14:37:35.345:tasks.DeleteTask.Delete:java.lang.Exception: Delete failed after 5 attempts.
06/18/2015 14:37:35.345:tasks.DeleteTask.Delete:tasks.DeleteTask.run:106
06/18/2015 14:37:35.346:tasks.DeleteTask.Delete:tasks.Task.go:148
06/18/2015 14:37:35.347:tasks.DeleteTask.Delete:CrushTask.Start$2.run:541
06/18/2015 14:37:35.348:tasks.DeleteTask.Delete:java.lang.Thread.run:-1

 Not sure where I am going wrong or is this example depricated?


Best Answer

 Answered my own questions:


There is a part missing out of the tutorial.  The Delete task you have to enter the path AND the filename to dlete.  This was not shown in the tutorial.


And yes this ONLY applies to users that are listed in the user manager. 


Is there a way to take the LDAP created users and add them to this shareusernames task?  I am sure there has to be a way to parse all the directories created from the LDAP plugin.


 I guess I should have asked this to begin with but will this example work with users created via the CrushLDAP plugin or does this only work with users created in the user manager?

Answer

 Answered my own questions:


There is a part missing out of the tutorial.  The Delete task you have to enter the path AND the filename to dlete.  This was not shown in the tutorial.


And yes this ONLY applies to users that are listed in the user manager. 


Is there a way to take the LDAP created users and add them to this shareusernames task?  I am sure there has to be a way to parse all the directories created from the LDAP plugin.

Login to post a comment