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

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



Benn, Tammy or anyone out there that can help!!!

I finally created a domain account with read permissions (condoruser@xxxxxxxxxx) over the network shares I am trying to work on. I added the credentials on each windows computer using the condor_store_cred command, I ran the job multiple time but It’s still failing, even though the share have unrestricted permissions to everyone (domain account) I gave them specific permission on those network share to  condoruser, below you mention the run_as_owner parameter, where do you add that, in the global condor_config file or in the description file, where do you have information on how to use it?

To give you a better feedback the syntax I follow to submit my jobs is the following:

condor_submit filename.txt –n computername.domain.com

Which generates an error log with the following messages:

Logon failure: unknown user name or bad password.

Logon failure: unknown user name or bad password.

That is because the batch file is written:
echo off

\\networshare\sharename\lasEnvelop.exe 3 -1 2 P:\4Alex\fileEnvelop.txt P:\4Alex a.file

\\ networshare\sharename\fileEnvelop.exe 3 -1 2 P:\4Alex\lasEnvelop.txt P:\4Alex b.file

The notification e-mail is shown below:

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

Condor job 113.0

            \\networshare\sharename\aalas_computername_1215008978531_fileEnvelop.bat

has exited normally with status 1

Submitted at:        Wed Jul 02 17:20:46 2008

Completed at:        Wed Jul 02 17:20:53 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

Network:

  237.0 B  Run Bytes Received By Job

  102.0 B  Run Bytes Sent By Job

  237.0 B  Total Bytes Received By Job

  102.0 B  Total Bytes Sent By Job

 

 

From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Chin, Tammy
Sent: Wednesday, June 18, 2008 11:58 AM
To: Condor-Users Mail List
Subject: Re: [Condor-users] FW: Logon Failure: unknown user name orbadpassword

 

Alex,

 

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

popd

_________________________________

 

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,

Tammy

 

 

 -----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

Ben,

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

\\fileserver\resourcename\sharedfolder\bat\user1_domain_1213715741267_lasDHZg.bat

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

Network:

  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,

Alex

 

-----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:

 

http://www.cs.wisc.edu/condor/PCW2007/presentations/quinn_windows.ppt

 

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.

 

Regards,

-B

 

 

_______________________________________________

Condor-users mailing list

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

subject: Unsubscribe

You can also unsubscribe by visiting

https://lists.cs.wisc.edu/mailman/listinfo/condor-users

 

The archives can be found at:

https://lists.cs.wisc.edu/archive/condor-users/

 


CONFIDENTIAL AND PRIVILEGED INFORMATION NOTICE

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.  

AVIS D'INFORMATION CONFIDENTIELLE ET PRIVILÉGIÉE

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.