kerberos_authenticator 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kerberos_authenticator/krb5/creds.rb +0 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3afffc469a4b7a1b5bc3158ce86e67d583f72573
|
4
|
+
data.tar.gz: 53428561df043b88cbe37a84c0bf86b5ccf53665
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52972eb5198980638526c36e2d210064a069be28bcf245dbd6a91cd5cd4e1a1ce760da22eef990602d1064245448c1ebaf5a8a241c3e3289ad5d4eb74666cb06
|
7
|
+
data.tar.gz: d92070f20d8685d314473d1ca18ed89657bf7cb9c1837b16042dc5dcb4a2941a74c4a8b472bb0df5fce7c4da963c1239779a669a6ff4cce8881eb7bbc5be23b8
|
@@ -64,7 +64,6 @@ module KerberosAuthenticator
|
|
64
64
|
verify_creds_opt = FFI::MemoryPointer.new :int, 2
|
65
65
|
|
66
66
|
Krb5.verify_init_creds_opt_init(verify_creds_opt)
|
67
|
-
verify_creds_opt.autorelease = false
|
68
67
|
|
69
68
|
begin
|
70
69
|
Krb5.verify_init_creds_opt_set_ap_req_nofail(verify_creds_opt, nofail)
|
@@ -73,8 +72,6 @@ module KerberosAuthenticator
|
|
73
72
|
keytab_ptr = keytab ? keytab.ptr : nil
|
74
73
|
|
75
74
|
Krb5.verify_init_creds(context.ptr, ptr, server_princ_ptr, keytab_ptr, nil, verify_creds_opt)
|
76
|
-
ensure
|
77
|
-
Krb5.get_init_creds_opt_free(context.ptr, verify_creds_opt)
|
78
75
|
end
|
79
76
|
|
80
77
|
true
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kerberos_authenticator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Watkins
|
@@ -49,7 +49,7 @@ rubyforge_project:
|
|
49
49
|
rubygems_version: 2.5.1
|
50
50
|
signing_key:
|
51
51
|
specification_version: 4
|
52
|
-
summary:
|
53
|
-
|
52
|
+
summary: A Ruby library to authenticate a Kerberos user using their password. Uses
|
53
|
+
Ruby-FFI to interface with the Kerberos library.
|
54
54
|
test_files: []
|
55
55
|
has_rdoc:
|