KNOWN ISSUE: Deployment Server authentication through the ASDK is not working

Article:TECH28053  |  Created: 2007-03-28  |  Updated: 2007-07-23  |  Article URL http://www.symantec.com/docs/TECH28053
NOTE: If you are experiencing this particular known issue, we recommend that you Subscribe to receive email notification each time this article is updated. Subscribers will be the first to learn about any releases, status changes, workarounds or decisions made.
Article Type
Technical Solution

Issue



When role security is enabled in the DS console, any attempt to authenticate through the ASDK using C# code fails. The following error is returned:

An exception occoured
System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Error:        Could not authenticate Deployment Solution user. No credentials were provided for authentication. ---> Altiris.ASDK.ASDKException : Error:        Could not authenticate Deployment Solution user. No credentials were provided for authentication.


Environment



ASDK 1.3
Deployment Solution 6.8
Notification Server 6.0 SP3

Cause



The problem appears to be an issue within the DS API that is used to do the authentication. This has been pushed to the Deployment Server development group for a resolution. As of this KB modification, the plan is to have a fix done within the week on the Deployment Solution software. We do not yet know the method of distribution for a fix to this, this will be forthcoming.

Solution



This issue has been fixed in DS 6.8 SP2.

There appears to be several functions that are affected because of this bug. MoveComputerByGroupName and CreateJobScheduleByName are two known functions to be affected by this situation.

The work around is to use the CreateJobSchedule function as it is not affected by this particular problem. The following snippet of code can be helpful to show the implementation that should be used:

   int scheduleID = scheduleManagment.CreateJobSchedule(computerID, jobID, false, "ASDK",
   @"<ScheduleAttributes xmlns='http://tempuri.org/ScheduleAttributes.xsd'>
    <Schedule_Attribute_Table>
     <start_time>9/12/2007 5:24:21 PM</start_time>
     <defer_time>5</defer_time>
     <recurrence_value>1</recurrence_value>
     <recurrence_type>Hours</recurrence_type>
     <batch_size>0</batch_size>
     <batch_interval>0</batch_interval>
     </Schedule_Attribute_Table>
    </ScheduleAttributes>");
   Console.WriteLine ("CreateJobSchedule complete" );

Supplemental Materials

SourceDEFECT
ValueLB 58180
DescriptionLogged in Littlebuggy (Altiris - Lindon, Plymouth) database


Legacy ID



33965


Article URL http://www.symantec.com/docs/TECH28053


Terms of use for this information are found in Legal Notices