IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
 View Only
  • 1.  QNTC access

    Posted Fri August 02, 2024 05:28 PM

    When trying to access the QNTC file system, is adopted authority ignored?



    ------------------------------
    Teresa Heckman
    ------------------------------


  • 2.  RE: QNTC access

    Posted Sat August 03, 2024 07:08 AM


    Hi, when using QNTC file system you adopt the permissions of windows shared folder.

    User on IBM i have to have the same id and password of the windows user.

    Regards





  • 3.  RE: QNTC access

    Posted Mon August 05, 2024 01:27 AM
    Edited by Satid S Mon August 05, 2024 01:52 AM

    Dear Teresa

    Adopted authority works ONLY WITHIN QSYS file system. It does not work with the rest of IFS (including QNTC).  More information here:  Managing Authorities to IFS Objects by Carol Woodbury at https://www.mcpressonline.com/security/ibm-i-os400-i5os/managing-authorities-to-ifs-objects

    One thing you can use for IFS access control (outside of QSYS file system) is Profile Swap API.  More about this here:  https://www.itjungle.com/2015/12/09/tfh120915-story04/    Its downside (compared to adopted authority) is that you need to write program code to do the swap but the code is not complex. A sample for CL coding is here: https://www.ibm.com/docs/en/i/7.4?topic=programs-example-using-profile-handles  

     



    ------------------------------
    Satid S
    ------------------------------



  • 4.  RE: QNTC access

    Posted Mon August 05, 2024 11:53 AM

    I think the answer to what you're trying to ask is "Yes" but can you describe what you are trying to accomplish?



    ------------------------------
    Jack Woehr
    ------------------------------