First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 51837
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: PAM Gentoo Team <pam-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Torsten Kurbad <torsten@tk-webart.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pam_krb5-1.3_rc7.ebuild The actual ebuild application/octet-stream Torsten Kurbad 2004-05-23 08:52 0000 1.25 KB Details
pam_krb5-1.3_rc7.ebuild New version of the ebuild application/octet-stream Torsten Kurbad 2004-06-10 09:27 0000 1.33 KB Details
pam_krb5-20030601.ebuild Again a new version ;o) patch Torsten Kurbad 2004-06-19 09:24 0000 1.30 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 51837 depends on: Show dependency tree
Bug 51837 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-23 08:50 0000
Some days ago I tried to merge the KerberosV Authentication module written by
Frank Cusack (http://www.fcusack.com). It is in the portage tree as
=app-crypt/pam_krb5-1.0

Obviously, this was Frank's first public version, doesn't seem to work with the
current PAM-headers, thus the above mentioned ebuild fails.
By looking through the deep, misty sourceforge archives, I found that a more
mature and up2date version (based on Frank's) is maintained there, which builds
perfectly alongside MIT-Krb5 1.3.3 and PAM 0.77
(http://sourceforge.net/projects/pam-krb5/).

The attached ebuild works for me. (~x86, MIT-Krb5 1.3.3, PAM 0.77).

Someone should check it against:
- non-x86 architectures (Although I see no reason, why this shouldn't work)
- Heimdal Krb5 implementation
- Krb5AFS (via Heimdal)

It would be great if it would be checked into the rsync-tree after thorough
testing.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Torsten Kurbad 2004-05-23 08:52:49 0000 -------
Created an attachment (id=31891) [edit]
The actual ebuild

------- Comment #2 From Chris Snyder 2004-05-28 09:29:08 0000 -------
This ebuild worked great for me - thanks!

------- Comment #3 From G. A. 2004-05-28 13:38:19 0000 -------
For krb5afs, I had to add a ".libs/" prefix to get pam_krb5afs.so installed.


--- pam_krb5-1.3_rc7.ebuild     2004-05-28 13:34:48.000000000 -0700
+++ pam_krb5-1.3_rc7.ebuild     2004-05-28 13:36:26.000000000 -0700
@@ -43,7 +43,7 @@

        if use afs; then
                if [ -f .libs/pam_krb5afs.so ]; then
-                       doexe pam_krb5afs.so
+                       doexe .libs/pam_krb5afs.so
                        doman pam_krb5afs.5 pam_krb5afs.8
                fi
        fi

------- Comment #4 From Douglas Paul 2004-05-29 18:51:29 0000 -------
This ebuild seems to be working fine for me on amd64 (mit-krb5 1.3.1-r1, pam
0.77). ~amd64 needs to be added to the keywords list, though.

------- Comment #5 From Eric Jennings 2004-06-09 17:24:04 0000 -------
I tested the ebuild on another ~x86 with pam 0.77-r1 and mit-krb5 1.3.3 and the
new ebuild works great.  Thanks for writing it.  I had written my own ebuild,
but this one's definitely a better one to add to the portage tree.  Now we just
need to get it out there so people can stop complaining about the pam_krb5-1.0
ebuild.  

------- Comment #6 From Torsten Kurbad 2004-06-10 09:27:04 0000 -------
Created an attachment (id=33031) [edit]
New version of the ebuild

This is an improved version of the ebuild, which has the following issues
fixed:

* included fix for proper installation of pam_krb5afs.so (s. comment #3)

* pam_krb5 doesn't seem to work properly with mit-krb5, thus the kerberos
dependency checks for app-crypt/heimdal instead of virtual/krb5

* for afs support, kth-krb and openafs (!!! I'm not sure about the latter one,
so correct me if I'm wrong !!!) need to be installed -> added these as
dependencies for USE="afs"

Again, I would be grateful for intense testing... Please report your
experiences with non-x86 platforms here, too!

If everything works, it would be great to see that in the portage tree.

Regards,
Torsten

------- Comment #7 From Eric Jennings 2004-06-11 11:47:36 0000 -------
The new ebuild works, but I think it should depend on virtual/krb5.  I just
tested it on an mit-krb5 system, and it works just fine.  I can't attest to it
with AFS, since I don't use that, but the module is the one I've been using for
a while with mit-krb5 and the ebuild did a fine job of installing it for me on
~x86.

------- Comment #8 From Torsten Kurbad 2004-06-19 09:24:05 0000 -------
Created an attachment (id=33566) [edit]
Again a new version ;o)

Hello again,

attached is a new version of the ebuild. Changes to the previous version are as
follows:

1. Corrected dependencies:
   virtual/krb5 is mandatory
   if afs is in your USE flags, it gets more specific and demands
   app-crypt/heimdal along with net-fs/openafs and app-crypt/kth-krb

   Probably this is the best solution for now, until someone with a clean
mit-krb5 setup successfully gets the pam_krb5afs module compiled, so we can
rely on it for afs support. Helpful remarks are most welcome...

2. Another major change is the version:
   Now the source of the latest public CVS snapshot (2003.06.01) is pulled,
which seems to work at least as stable as the 1.3-rc7. According to the
sourceforge mailing list it has almost all reported bugs fixed as well as some
minor enhancements.

Now, after the positive replies on the previous version, does anyone in charge
feel comfortable with getting this into the portage CVS soon?

Thanks for your support, guys!
Torsten

------- Comment #9 From Robin Johnson 2004-07-16 01:40:16 0000 -------
ryan: sorry, assigning this to pam-bugs so it doesn't get missed.

------- Comment #10 From Ryan Phillips (RETIRED) 2004-07-20 10:00:07 0000 -------
Committed. Thank you.

------- Comment #11 From G. A. 2005-01-31 15:40:10 0000 -------
This might be a silly question, but where exactly is it committed? It's still
_not_ present in the portage tree (and it's the *ONLY* working pam_krb5
around).

------- Comment #12 From Torsten Kurbad 2005-02-01 11:15:48 0000 -------
G.A.,

try app-crypt/pam_krb5 ;o)

and be happy - it's the last ebuild I mentioned, again revised and commited for half a year now.

Be warned if you use Heimdal, I only tested this stuff with M.I.T. krb5 and it works perfectly on our server.

Btw., emerge comes with a very nice function:
emerge search

You should try
emerge search krb5 ;o)

Regards,
Torsten

First Last Prev Next    No search results available      Search page      Enter new bug