On Jan 19, 2012, at 12:50 PM, Eric Wolf wrote:

> When I take identical login code from the working 7.5 installation and 
> attempt to login to the 7.6.04 release, I get an RPC bind failure (ARERR 90). 
>  If I use the exact credentials in the 7.5 user tool, I can login to the 
> 7.6.04 installation.
> 
> Has this caused anyone else problems?  Am I on the right track in thinking I 
> need to recompile the module for the 64 bit windows installation?


Yes, this is an existing issue. If I take a stub C program that basically 
builds a control struct and sends it to ARVerifyUser() it works just fine (when 
compiled on a 64bit linux system). If I take that exact code and paste it into 
a Perl XS file, it fails with the RPC error (90 Can't Encode Arguments). I 
spent quite a bit of time looking into this. The BMC libraries embed the RPC 
libraries (instead of using the libc routines) so stepping into the function 
doesn't work.. so it's hard to judge exactly why it's unable to encode the RPC 
call. Basically you pass in the control struct and the RPC routine translates 
it to XDR. That's where it seems to be failing. I wasn't able to figure out 
what the exact issue is.. but for some reason perl + arlib + 64 bit has some 
inscrutable interaction that arlib + 64bit alone don't have.  

jeff
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

--
Arsperl-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to