[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] FW: Logon Failure: unknown user name or badpassword

Since you are using the batch file as the exe in your submit script and the run_as_owner parameter, you can try using the pushd and popd dos commands.
example batch:
pushd //myserver/drive/location
command to run
This has the effect of basically mapping the drive and then changing the local directory to the newly mapped drive. Popd then un-maps it and changes your current directory back to the previous current drive.
The only catch is that the user the job is running as must have permissions to the mapped drive.
Hope this helps,
 -----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx]On Behalf Of Alex Alas
Sent: June 18, 2008 11:51 AM
To: Condor-Users Mail List
Subject: Re: [Condor-users] FW: Logon Failure: unknown user name or badpassword


Thank you so much for your answer, I will try the "run_as_owner" next time I run the job.  Concerning the use of mapped drives, I did try using the net use command, in fact I created an small batch file that mapped the network resource in all three windows computer using the same letter to have consistency but it didn’t work. The notification e-mail came back with the following:

This is an automated email from the Condor system on machine "machine2.domain.com".  Do not reply.

Condor job 58.0


has exited normally with status 1

Submitted at:        Tue Jun 17 15:27:47 2008

Completed at:        Tue Jun 17 15:27:54 2008

Real Time:           0 00:00:07

Virtual Image Size:  0 Kilobytes

Statistics from last run:

Allocation/Run time:     0 00:00:02

Remote User CPU Time:    0 00:00:00

Remote System CPU Time:  0 00:00:00

Total Remote CPU Time:   0 00:00:00

Statistics totaled from all runs:

Allocation/Run time:     0 00:00:02


  196.0 B  Run Bytes Received By Job

   90.0 B  Run Bytes Sent By Job

  196.0 B  Total Bytes Received By Job

   90.0 B  Total Bytes Sent By Job

And the error log file showed the following error message:
The system cannot find the drive specified

I don’t know what I did wrong now, but thank you for your help,



-----Original Message-----
From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Ben Burnett
Sent: Wednesday, June 18, 2008 11:06 AM
To: 'Condor-Users Mail List'
Subject: Re: [Condor-users] FW: Logon Failure: unknown user name or badpassword


1) You can use the submit file option "run_as_owner" on Windows to use the

domain accounts.  There is a section in the manual on how to configure the

credd daemon/service to allow you to do this.  There are also some

powerpoint slides from Condor Week 2007 that expands further on this:




2) If you are using batch files, you can always use the "net use" command to

map a new drive (see " net use /?" for more details.  If the drives are

already mapped, then as long as the drive names are consistent across

machines then you can use them as you would any regular drive.







Condor-users mailing list

To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a

subject: Unsubscribe

You can also unsubscribe by visiting



The archives can be found at:



This e-mail, and any attachments, may contain information that
is confidential, subject to copyright, or exempt from disclosure.
Any unauthorized review, disclosure, retransmission, 
dissemination or other use of or reliance on this information 
may be unlawful and is strictly prohibited.  


Le présent courriel, et toute pièce jointe, peut contenir de 
l'information qui est confidentielle, régie par les droits 
d'auteur, ou interdite de divulgation. Tout examen, 
divulgation, retransmission, diffusion ou autres utilisations 
non autorisées de l'information ou dépendance non autorisée 
envers celle-ci peut être illégale et est strictement interdite.