Hi,
Unfortunately, the C-API aproach does not work in this case. You can not
export/import password fields with the API. You must use runmacro/ARUser
and arimportcmd/ARImport to transfer password data.
I discussed this with R&D during BUW, and we agreed that there were no
real reason that the encryption/decryption algorithm within
ARUser/runmacro/ARImport/arimportcmd should not be integrated within the
API.
I do not think that BMC will change this behaviour though...
Best Regards - Misi, RRR AB, http://www.rrr.se
> Dear Rmdy_Buckeye, (Go Bucks!)
>
> I would think about this approach. It might work. (Please test.)
>
> When a password change event happens ( I will leave it up to you to
> figure out how to detect/identify that ) Run (via a Filter Run Process
> action) an batch/shell script on the ARS server. This script should
> call the runmacro(.exe) to export the selected Request ID record to an
> ARX format file. Then call the runmacro again to "import" the data
> back to the target server. Hopefully the password encryption formats
> will work between the two ARS server versions listed. ( I think it
> will, but I have not explicitly tested it.)
>
>
> Sure you should be able to do this via an API that you write too. But
> why bother writing something new if existing command line tools work?
>
> HTH.
>
> --
> Carey Matthew Black
> Remedy Skilled Professional (RSP)
> ARS = Action Request System(Remedy)
>
> Love, then teach
> Solution = People + Process + Tools
> Fast, Accurate, Cheap.... Pick two.
>
>
>
> On 9/14/06, Rmdy_Buckeye <[EMAIL PROTECTED]> wrote:
>> At our installation, we have two servers, one running Remedy 6 and the
>> other running Remedy 5. We have some users that have accounts on both
>> servers. Sometimes the use has to call our helpdesk to reset password
>> on Remedy 6 server. The helpdesk cannot reset the password on the 5
>> server. I am trying to develop logic that will automatically sync the
>> paswords when they are changes on 6 server. I have developed an active
>> link that will sync passwords on both servers if the user logs into
>> both servers with old password. However this won't work if they change
>> their password on the 5 server first.
>>
>> Basically, I need to know, is there a way i can call remedy 5 server
>> and have it set the new password from the 6 server. Perhaps through a
>> run process command, or some kind of api?
>>
>> Any help would be appreciated
>>
>> Thanks
>>
>> _______________________________________________________________________________
>> UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
>>
>
> _______________________________________________________________________________
> UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
>
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org