Comments (5)
I've asked the MIT Kerberos developers if there's any way that either the application or the user can control this timeout.
from pam-krb5.
This mostly isn't under the control of a client of the Kerberos library such as this module, so far as I can see. However, if you build the module against Heimdal (instead of MIT Kerberos), it looks like you can set kdc_timeout
in the [libdefaults]
secton of /etc/krb5.conf
to control how long the library will wait for a reply from the KDC. For Heimdal, the default is 3 seconds; I think the default for MIT may be longer.
from pam-krb5.
The MIT one seems to be like 2-3 minutes, but that might be an element of something like a DNS query getting hung and not how long for a connection. Still though, if any of that takes more than 10 seconds I don't really want to wait
from pam-krb5.
The MIT Kerberos developers unfortunately report that there is no way for the user or the application to control these timeouts. It doesn't look like there's a good solution at the PAM module level except to use Heimdal instead (which of course may affect more than just this).
from pam-krb5.
That's unfortunate, thanks for reaching out anyway.
Closing this issue for now as it doesn't seem like there's a good way to handle this on the module side, but feel free to reopen if this changes.
from pam-krb5.
Related Issues (15)
- Debugging issue / configuration issue HOT 1
- pam-krb5 password change HOT 1
- Option to specify maximum password length HOT 11
- pam_setcred fails when KRB5CCNAME=KEYRING:user:name HOT 6
- 7 module/basic tests fail on Alpine Linux HOT 1
- Use k5login_directory HOT 1
- crash due acces to invalid context->princ pointer after error in pamk5_account HOT 1
- module not compliant with Linux-PAM documentation HOT 1
- `module/long` tests always fail if `default_realm` is unset. HOT 1
- allow_kdc_spoof: Refuse to operate without a key to verify tickets. HOT 2
- debug pam_krb5 HOT 9
- defer_pwchange not evaluated HOT 8
- prompt_principal not parsed as pam argument HOT 3
- Changing password is not possible HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pam-krb5.