Comments (4)
@cyrusdaboo originally submitted this as comment:1:ticket:51
- Type changed from Defect to Enhancement
- Owner changed from @wsanchez to @cyrusdaboo
- Status changed from new to assigned
- Priority changed from 5: Not set to 4: Nice to have
- Milestone set to Later
I agree - better error handling is needed in PyKerberos. I prefer the solution of raising an exception - new exception type should be defined in PyKerberos for that.
from ccs-pykerberos.
agx@… originally submitted this as comment:2:ticket:51
Just for reference a patch that implements this is here: https://honk.sigxcpu.org/unsorted-patches/pykerberos-exception-handling.diff
In case that matters (contribution terms) it's APL 2.0. I keep the patch outside of the Trac since updating patches in Trac is so cumbersome and it might need a few revisions until you're happy with it. Any comments?
Cheers,
-- Guido
from ccs-pykerberos.
agx@… originally submitted this as comment:3:ticket:51
...and here's the patch to move calendarserver over to the new exception aware API:
https://honk.sigxcpu.org/unsorted-patches/calendarserver-pykerberos-exceptions.diff
Cheers,
-- Guido
from ccs-pykerberos.
@cyrusdaboo originally submitted this as comment:4:ticket:51
- Status changed from assigned to closed
- Resolution set to fixed
Patches applied, with some minor tweaks. r271 & r272.
from ccs-pykerberos.
Related Issues (20)
- current pypi release (1.2.5) is incompatible with python 3 HOT 3
- Cannot build or install from pip due to krb5-config HOT 4
- GCC unrecognised command line option -m prevents install, Python 3.6 HOT 1
- checkPassword gives Permission Denied Error
- destructors don't appear to be called: leaking memory & file descriptors HOT 19
- Support authGSSServerWrap/Unwrap() ?
- _HOST in principal is not supported HOT 1
- .travis.yml: The 'sudo' tag is now deprecated in Travis CI
- Does pykerberos support both Windows and POSIX systems? HOT 3
- Is there any way to authenticate using password?
- windows authentication giving error "kerberos: Bad HTTP response returned from server. Code 500" in new virtual environment | Ansible HOT 3
- README rename from rst to md has broken setup.py HOT 1
- Platform issue on AIX, gcc error when build HOT 1
- SystemError thrown with Python 3.10 HOT 6
- Add ccs-pykerberos to conda-forge
- How are you building wheels?
- Add pre-built wheel for python 3.10 HOT 1
- Issue install in venv in CentOS 8 with Python 3.9 HOT 2
- Use cibuildwheel to automatically publish wheels for more environments
- Memory leak in kerberos.authGSSServerStep() HOT 3
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 ccs-pykerberos.