-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working on Windows #1
Comments
I'll try to look into this. The underlying module (kerberos) doesn't seem to support the necessary methods on windows. |
any update on this issue? I'm really interested in making this module works on windows I actually tried the example and encountered the same error. |
Yes I am getting same error, it doesn't work on Windows |
I am getting the same error on the Linux machine as well, is there a pre-requisite that needs to be installed in the system to use kerberos? |
@barathank I managed to get it working on RHEL6 with the following packages: I would also like to have this working in windows as we develop on windows machines but deploy to linux boxes. Any update on this? |
TypeError: this._native_kerberos.authGSSServerInit is not a function
at Kerberos.authGSSServerInit (C:\Projects\eem\eem\node_modules\kerberos\lib\kerberos.js:95:32)
at Strategy.authenticate (C:\Projects\eem\eem\node_modules\passport-negotiate\lib\passport-negotiate\strategy.js:104:11)
at attempt (C:\Projects\eem\eem\node_modules\passport\lib\middleware\authenticate.js:341:16)
All following methods are missing in lib\win32\kerberos.cc
Nan::SetPrototypeMethod(t, "authGSSClientInit", AuthGSSClientInit);
Nan::SetPrototypeMethod(t, "authGSSClientStep", AuthGSSClientStep);
Nan::SetPrototypeMethod(t, "authGSSClientUnwrap", AuthGSSClientUnwrap);
Nan::SetPrototypeMethod(t, "authGSSClientWrap", AuthGSSClientWrap);
Nan::SetPrototypeMethod(t, "authGSSClientClean", AuthGSSClientClean);
Nan::SetPrototypeMethod(t, "authGSSServerInit", AuthGSSServerInit);
Nan::SetPrototypeMethod(t, "authGSSServerClean", AuthGSSServerClean);
Nan::SetPrototypeMethod(t, "authGSSServerStep", AuthGSSServerStep);
The text was updated successfully, but these errors were encountered: