Since you're swapping with *NOPWD, I wonder if anyone can confirm that the PASSWORDS on the two accounts are identical.  I've also seen cases where the NTLM hash needs to be fixed on a profile by secadmin using CHGUSRPRF PASSWORD() to force an update to the authentication hash(s) stored with the profile...  There were some PTF's to enable minimal support of NTLMv2 hash, I think, but I get really confused by the whole CIFS/NTLMv2 conflict anyway...  Perhaps someone else can elaborate on this...
-Eric DeLong
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Versfelt, Charles
Sent: Tuesday, October 16, 2012 9:41 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: CPDB053 accessing QNTC subfolder
Sorry, I should have mentioned... class 1, error code 5.
I'm running under the same user profiles on both systems, which should have the same authorities.
I call under the same profiles, and then, before accessing QNTC the program "swaps" to a user profile (SWAPUSRPRF password *NOPWD) that was specifically set up on both systems to access QNTC.
Charlie
Message ID . . . . . . :   CPDB053                                             
Date sent  . . . . . . :   10/16/12      Time sent  . . . . . . :   15:34:48   
                                                                               
Message . . . . :   Error exchanging security information for user QNTCUSER on 
  Network Server ARTAPP.                                                       
                                                                               
Cause . . . . . :   The Network Server file system (QNTC) has encountered an   
  error when authenticating user QNTCUSER with a Network Server ARTAPP.        
Recovery  . . . :   Ensure the following:                                      
    - The user is set up on Network Server ARTAPP.                             
    - The OS/400 user password matches the Network Server user password.       
    - Network Server ARTAPP is enabled for digitally signed communications.    
Technical description . . . . . . . . :   An error has been detected while the 
  Network Server file system was exchanging security information with a        
  Network Server. The error class was 1, and the error code was 5.             
    Possible error class and error code values include:                        
Message ID . . . . . . :   CPDB053                                             
Date sent  . . . . . . :   10/16/12      Time sent  . . . . . . :   15:34:48   
                                                                               
    Class 0 - QNTC specifc security error.                                     
            1 - QNTC requires digital signing.                                 
    Class 1 - Network Server operating system related error.                   
            1 - Not valid Function.                                            
            2 - File not found.                                                
            3 - Directory not valid.                                           
            4 - Too many files open.                                           
            5 - Access denied.                                                 
    Class 2 - Error generated by the Network Server.                           
            1 - Non-specific error code.                                       
            2 - Bad password.                                                  
            3 - Directory not valid.                                           
            4 - Access denied.                                                 
RE: CPDB053 accessing QNTC subfolder
Charlie,
Is your program running with the same/appropriate authority on both systems?
Also, you did not say what the error class and code are . . .
This email message has been delivered safely and archived online by Mimecast.  For more information please visit 
http://www.mimecast.com
As an Amazon Associate we earn from qualifying purchases.