Kerberos bindings for ruby, input requested

S

snacktime

I have a basic kerberos C extension done and before releasing it I'd
like some feedback on a couple of things. The extension covers
functions such as authentication and changing passwords, as well as
adding/deleting principals.

1. Suggestions on a name? Right now it's called Krb5.

2. Best way to distribute it? At the moment I just have an
extconf.rb file. I've created gems before but not ones that have C
extensions. For the moment I will probably just put up a tarball and
once I know any major bugs are quashed I'll create a gem.

3. Desired features
Right you can authenticate a principle via password, and change a
principal's password using krb5_change_password. The only kadmin
function are creating and deleting a principal. Principal creation
does support most of the principal options and attributes. Modifying
existing principals is probably next on the list.

I've tested it under Freebsd, and compiled it on debian where it
compiles (with warnings) and runs, but my deb box is behind a nat so
while I know it authenticated to our kdc it wasn't able to get a reply
back.
 
M

Max Lapshin

2. Best way to distribute it? At the moment I just have an
extconf.rb file. I've created gems before but not ones that have C
extensions. For the moment I will probably just put up a tarball and
once I know any major bugs are quashed I'll create a gem.

Better pack it as gem. Do You know, how it is?
 
A

Aredridel

--=-df+j4uibVJTgi9WRa4d2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

I have a basic kerberos C extension done and before releasing it I'd
like some feedback on a couple of things. The extension covers
functions such as authentication and changing passwords, as well as
adding/deleting principals.
=20
1. Suggestions on a name? Right now it's called Krb5.
=20

ruby-kerberos is nice and non-annoying. Guaranteed to stick around.
Boring is good sometimes. It's unsurprising at least.
2. Best way to distribute it? At the moment I just have an
extconf.rb file. I've created gems before but not ones that have C
extensions. For the moment I will probably just put up a tarball and
once I know any major bugs are quashed I'll create a gem.

Yay for tarballs with extconf. That makes it easy for me to package as
an RPM to include with the linux distro I use and help develop.
3. Desired features
Right you can authenticate a principle via password, and change a
principal's password using krb5_change_password. The only kadmin
function are creating and deleting a principal. Principal creation
does support most of the principal options and attributes. Modifying
existing principals is probably next on the list.

Modifying for sure, not sure what else. Being able to authenticate a
remote principal would be nice, I want to write kerberos-secured servers
in Ruby.
I've tested it under Freebsd, and compiled it on debian where it
compiles (with warnings) and runs, but my deb box is behind a nat so
while I know it authenticated to our kdc it wasn't able to get a reply
back.

I'd be glad to test at some point soon.

Aria

--=-df+j4uibVJTgi9WRa4d2
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBFEHKJtP09exA3hooRAjVoAKColXYdbtkrN5MmJ0zq2t9DyJgrNwCfepph
Sn4PwYZkcv2YncaMIkT5s04=
=qPtc
-----END PGP SIGNATURE-----

--=-df+j4uibVJTgi9WRa4d2--
 
D

Devin Mullins

snacktime said:
2. Best way to distribute it?
Not that I have any Kerberos needs atm, but I prefer gems where
possible. Typical way is to have two variants with the same version
number -- source only, and win32 (precompiled -- see
http://tinyurl.com/m5f67). Check out, oh, mongrel for an example.

Devin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,023
Latest member
websitedesig25

Latest Threads

Top