Coder Social home page Coder Social logo

Comments (4)

d-w-moore avatar d-w-moore commented on June 30, 2024

I am not at all sure why the above code sends an AUTH_TTL_KEY value. _login_pam is the function executed at the time of login, rather than the setting of such parameters as time-to-live as is done by iinit. In fact, the python-irodsclient does not innately contain any code that is the equivalent of iinit's function.
On a little different subject - since @sellth mentions iRODS 4.3.1 in the issue description - I'd like acknowledge another ongoing issue: the need to teach the client to go through the new (4.3.0+) auth-framework's pam_password implementation rather than going through the legacy auth.

from python-irodsclient.

sellth avatar sellth commented on June 30, 2024

I am not at all sure why the above code sends an AUTH_TTL_KEY value. _login_pam is the function executed at the time of login, rather than the setting of such parameters as time-to-live as is done by iinit. In fact, the python-irodsclient does not innately contain any code that is the equivalent of iinit's function.

It should define the TTL of pam_pw_negotiated which when saved "obfuscated" in the right place does provide iinit functionality.

@property
def pam_pw_negotiated(self):
self.pool.account.store_pw = []
conn = self.pool.get_connection()
pw = getattr(self.pool.account,'store_pw',[])
delattr( self.pool.account, 'store_pw')
conn.release()
return pw

from python-irodsclient.

d-w-moore avatar d-w-moore commented on June 30, 2024

Ah, ok. I see it now. Thanks @sellth !

from python-irodsclient.

alanking avatar alanking commented on June 30, 2024

@d-w-moore - Please close if complete.

from python-irodsclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.