Well, the username is correct, there is no domain, it's a Unix account that has 
a Samba password.
I don't think it has anything to do with the username, as the error states, "A 
specified logon session does not exist." which is what I am chasing...
jlc

From: Jonathan Link [mailto:jonathan.l...@gmail.com]
Sent: Tuesday, October 13, 2009 8:28 AM
To: NT System Admin Issues
Subject: Re: SQL Agent Job issue

Use domain\user for the username?
On Tue, Oct 13, 2009 at 10:14 AM, Joseph L. Casale 
<jcas...@activenetwerx.com<mailto:jcas...@activenetwerx.com>> wrote:
I have a job defined with several steps, one is a batch file that maps a drive 
on a Samba server. To setup the IPC session so the UNC exists, I start the 
script with:

rem Setup IPC$
net use \\Server /USER:user_name password

But I get an error in the log:
"A specified logon session does not exist. It may already have been terminated."

Any ideas, obviously this works at the cli, just not when the job is run as 
scheduled.

Thanks!
jlc










~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to