Re: Segfaults in MIT libkrb5

2007-01-02 Thread Fredrik Tolf
elf for whatever reason, you may want to add a PID field for each line of debug output. It had me speechless for a while with what seemed like all error tables were getting removed multiple times, until I realized it was an NSS module that was fo

Re: Segfaults in MIT libkrb5

2006-12-18 Thread Fredrik Tolf
On Sun, 2006-12-17 at 00:43 -0500, Theodore Tso wrote: > On Fri, Dec 15, 2006 at 02:55:02AM +0100, Fredrik Tolf wrote: > > However, this does seem like a bug, right? As I see it, the fault can be > > considered to lie with the Kerberos library, in which case it should be > >

Re: Segfaults in MIT libkrb5

2006-12-14 Thread Fredrik Tolf
On Fri, 2006-12-15 at 00:32 +0100, Fredrik Tolf wrote: > On Thu, 2006-12-14 at 17:36 -0500, Ken Raeburn wrote: > > If > > the PAM library does dlopen and dlclose on loaded modules, there may > > also be some kind of problem in that area. > > Indeed, that may be t

Re: Segfaults in MIT libkrb5

2006-12-14 Thread Fredrik Tolf
On Thu, 2006-12-14 at 17:36 -0500, Ken Raeburn wrote: > On Dec 14, 2006, at 14:25, Fredrik Tolf wrote: > > great fandango all over libkrb5's core, they all occur in the Kerberos > > library, in incidents seemingly related to the error tables. The usual > >

Segfaults in MIT libkrb5

2006-12-14 Thread Fredrik Tolf
Kerberos V 1.4.3 and a system-supplied com_err library, version 1.39. The system is Gentoo Linux. For reference, the program in question is the daemon in Dolda Connect, at <http://www.dolda2000.com/~fredrik/doldaconnect/> I would be very gl

Getting TGTs non-interactively

2006-09-28 Thread Fredrik Tolf
le, or is there any other solution that I haven't thought of. Similarly, what about HTTPS connections where the client has a client certificate? Obviously, there *is* a private key involved, but is there any way the HTTP server can ask the client to decrypt a TGT key for it? Thank you for

Re: Krb5 native and JGSS messages

2006-09-02 Thread Fredrik Tolf
client application, apart from reimplementing Kerberos 5 in Java? Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: Krb5 native and JGSS messages

2006-08-21 Thread Fredrik Tolf
On Mon, 2006-08-21 at 18:29 -0400, Michael B Allen wrote: > On Mon, 21 Aug 2006 21:48:30 +0200 > Fredrik Tolf <[EMAIL PROTECTED]> wrote: > > > So, I'm wondering, are the messages created by JGSS compatible with the > > ones used by the native MIT API? > &g

Krb5 native and JGSS messages

2006-08-21 Thread Fredrik Tolf
I want to authenticate to)? Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: Double logs from the KDC

2006-06-21 Thread Fredrik Tolf
On Thu, 2005-12-01 at 09:16 +1100, Jeremy Hunt wrote: > Fredrik Tolf wrote: > > I checked the code you mention, but as far as I am able to tell, the > > first one only runs in case no log specifications have been loaded > > (if(log_control.log_nentries == 0)). Therefore, I

Re: Linux kernel key retention

2006-05-01 Thread Fredrik Tolf
ng now on library routines to set/get the credentials > to be used. The keyring ccache code is basically complete, with a few > details to work out. If there aren't any great problems, would you mind sending me the code? I would be more than happy to betatest it, at t

Linux kernel key retention

2006-05-01 Thread Fredrik Tolf
such work going on, can anyone give a pointer to any information on it? If not, I should give it a try myself. Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: Thoughts on long-lived credentials

2006-01-20 Thread Fredrik Tolf
On Sat, 2006-01-21 at 02:16 +0100, Fredrik Tolf wrote: > I'll attach the files (they are rather small anyway) if you want them. It seems the files didn't get attached. Does this mailing list filter attachments? In any event, I have also written another small program for automatic t

Re: Thoughts on long-lived credentials

2006-01-20 Thread Fredrik Tolf
y ugly, but it works until the Linux keyring ccache scheme works and becomes the standard. I'll attach the files (they are rather small anyway) if you want them. Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.e

Re: allowing SSO for other hosts

2006-01-09 Thread Fredrik Tolf
get a TGT with kinit -kt ...), it increased the principal's kvno and put a random key on that principal, which meant that it wasn't possible to decrypt the TGT using a password anymore. Fredrik Tolf Kerberos mailing list Kerberos@m

Re: MIT Kerberos and Heimdal

2005-12-28 Thread Fredrik Tolf
On Wed, 2005-12-28 at 15:25 +0200, Amir Saad wrote: > can anyone tell me what are the differences between MIT kerberos and Heimdal > kerberos? Do you mean the political and social differences, or the technical differences? Fredrik Tolf Ke

Re: .k5login

2005-12-28 Thread Fredrik Tolf
nged to user1/[EMAIL PROTECTED], since that part of the principal format has changed from Kerberos 4 to 5. Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: Kerberos Principals

2005-12-22 Thread Fredrik Tolf
ires a base64 encoding program. The one I used comes from Perl's MIME-Base64 module. I don't know if there might be anything wrong with this way of doing it, but in that case, I can't think of any. Hope it helps. Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: kerberos and web services

2005-12-06 Thread Fredrik Tolf
Unlike what some people seem to think, HTTP is not the solution to all the problems in the world. Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

[PATCH] Fix double logs from the KDC

2005-12-02 Thread Fredrik Tolf
patched my Kerberos library with a little snippet that eliminates recurring file names when resolving the profile files to read. I'm attaching the patch if the Kerberos team wants it. Fredrik Tolf --- src/lib/krb5/os/init_os_ctx.c~ 2004-07-15 19:42:07.0 +0200 +++ src/lib/krb5/os/in

Re: Double logs from the KDC

2005-11-29 Thread Fredrik Tolf
sages. It also doesn't explain why the ordinary logfile receives double messages. Unless I've missed something, that is? I guess I'll recompile the KDC with debug support and see what I can find. Fredrik Tolf > I have a patch which works for kerberos 1.4.x, which I think resolve

Re: Double logs from the KDC

2005-11-29 Thread Fredrik Tolf
u think that could be related? Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: Double logs from the KDC

2005-11-29 Thread Fredrik Tolf
ly read once, and it contains only one logging directive. kdc.conf is read twice for some reason, but it doesn't contain any logging directives. Thanks for the ideas, but I can't seem to get any further on that. Do you have any more ideas? Fredrik Tolf > On 11/27/05, Fredrik Tolf <[

Re: getent

2005-11-29 Thread Fredrik Tolf
> getent passwd > > Any help? Did you add "winbind" to the "passwd" line in your /etc/nsswitch.conf? Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: Possible to use only IP addresses in MIT Kerberos (ie: disable DNS name resolution)?

2005-11-28 Thread Fredrik Tolf
ne, but an open standard. I don't think Windows supports it, but I'm fairly sure that it would work when talking to *BSD machines. Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Double logs from the KDC

2005-11-28 Thread Fredrik Tolf
E:/var/log/kadmin.log admin_server = SYSLOG:INFO:DAEMON default = FILE:/var/log/krb5lib.log The logs from the kadmin daemon appear twice, as well. Does someone know why this happens? Fredrik Tolf Kerberos mailing list Kerber

Re: Removing DOS file dependency from Kerberos V

2005-11-11 Thread Fredrik Tolf
ry easy. On Linux, just mount a tmpfs anywhere you want to store the files, and they will be stored in RAM. Hope it helps! Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

OT: Re: Solaris telnetd failure with Heimdal client

2005-11-03 Thread Fredrik Tolf
cks a DoS flaw? Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

[OT] Re: Install Kerberos Fedora

2005-10-04 Thread Fredrik Tolf
ugh, yum does have a search function. Try, for example: yum list '*firefox*' yum list '*krb5*' Or, if you're so inclined, even: yum list '*' Be prepared for a rather long list in the last case, however. :) Fredrik Tolf > "Fredrik Tolf" <[EMAIL PRO

Re: Install Kerberos Fedora

2005-10-02 Thread Fredrik Tolf
u, by any chance, selected it to not be installed, try the following: yum install krb5-workstation pam_krb5 And, if you need it: yum install krb5-server Hope it helps, Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman

Re: Telnet User Access Control ..

2005-03-09 Thread Fredrik Tolf
n option (either by default or by specifying the -x switch to the Kerberos telnet client), it's in the same class of security as SSH. HTH, Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Assorted Kerberos goodies

2005-03-05 Thread Fredrik Tolf
rik/patches/>. They are all released under the GNU GPL2, so use or abuse them however you will or won't. Also, I'd be very glad if someone could try and see if they work with Heimdal. I've only tested them with MIT Kerberos. Fredrik Tolf

Re: /etc/hosts and DNS

2005-02-17 Thread Fredrik Tolf
ed hosts and 2) it will make reverse lookups really slow on hosts that aren't responding. If someone has a better idea, please tell me. Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Windows Kerberos PAC patent

2005-02-11 Thread Fredrik Tolf
ht? I've let myself understand that Microsoft has somehow patented this PAC field. Now, I'm wondering if anyone in this newsgroup would happen to know what patent this is and if there's any way I can have a look at it (mostly for curiosi

Re: How to configure a kerberized ftp ...

2005-02-10 Thread Fredrik Tolf
manpage for more info). > > do you mean teh normal rwxrwxrwx permissions Yeah. Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: what kinit does with pam lib modules

2005-02-10 Thread Fredrik Tolf
authenticate users, and you already have pam_krb5 installed and then want to store the credentials locally, then it is the pam_setcred function you want to look at. If none of those match your scenario, I'll have to ask you to clarify your ques

Re: How to configure a kerberized ftp ...

2005-02-08 Thread Fredrik Tolf
inux system, controlled via file modes (see the chmod manpage for more info). > and change the root dir > of ftp ... The ftpd that comes with MIT Kerberos automatically chroots anonymous access to the home directory of the "ftp" user. Hope it helps, Fredrik Tolf ___

Re: Krb5 API vs. GSSAPI

2005-01-18 Thread Fredrik Tolf
> Also, > GSSAPI supports many mechanisms. Is that so? I've only ever seen Kerberos being carried out over GSSAPI. What others are there? > Frank > > > > > > Fredrik Tolf <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > 01/18/2005

Re: Kerberos authentication without reverse lookup

2005-01-18 Thread Fredrik Tolf
On Mon, 2005-01-17 at 16:49 -0500, Rachel Elizabeth Dillon wrote: > On Mon, Jan 17, 2005 at 04:40:59AM +0100, Fredrik Tolf wrote: > > I was thinking about adding local hints to our own reverse zones to our > > Bind configs to make reverse lookups work just between our own network

Krb5 API vs. GSSAPI

2005-01-18 Thread Fredrik Tolf
, but from what I know, this hasn't happened so far, so that doesn't really seem to be a very great advantage of using GSSAPI. Can someone enlighten me on this issue, please? Fredrik Tolf Kerberos mailing list Kerberos@mit.ed

Kerberos authentication without reverse lookup

2005-01-17 Thread Fredrik Tolf
by any chance, another way of letting Kerberos canonicalize service principal names? Thank you for your time! Fredrik Tolf Kerberos mailing list Kerberos@mit.edu https://mailman.mit.edu/mailman/listinfo/kerberos

Re: Where can I find the "WORKING" Kerberos client code?

2004-12-06 Thread Fredrik Tolf
ite packet analyzer should give you more answers than I can provide in hours. Good luck, Fredrik Tolf Kerberos mailing list [EMAIL PROTECTED] https://mailman.mit.edu/mailman/listinfo/kerberos

Re: Where can I find the "WORKING" Kerberos client code?

2004-12-06 Thread Fredrik Tolf
ite packet analyzer should give you more answers than I can provide in hours. Good luck, Fredrik Tolf Kerberos mailing list [EMAIL PROTECTED] https://mailman.mit.edu/mailman/listinfo/kerberos

Re: User instances

2004-10-27 Thread Fredrik Tolf
't have to type their passwords), and thus I need some extra principals to do that job. Likewise with cron. Thanks for replying! Fredrik Tolf Kerberos mailing list [EMAIL PROTECTED] https://mailman.mit.edu/mailman/listinfo/kerberos

User instances

2004-10-21 Thread Fredrik Tolf
ake the MIT KDC allow users to do this? Thanks for your time! Fredrik Tolf Kerberos mailing list [EMAIL PROTECTED] https://mailman.mit.edu/mailman/listinfo/kerberos

Re: ld.so.1: kinit: fatal: libkrb4.so.2: open failed: No such file

2004-10-05 Thread Fredrik Tolf
MU_CURRENT_DIR/usr/local/lib to LD_LIBRARY_PATH (don't forget to export LD_LIBRARY_PATH if it's not already defined). Fredrik Tolf Kerberos mailing list [EMAIL PROTECTED] https://mailman.mit.edu/mailman/listinfo/kerberos

Re: Cross-realm security issues

2004-09-29 Thread Fredrik Tolf
On Wed, 2004-09-29 at 21:59 +, Sam Hartman wrote: > >>>>> "Fredrik" == Fredrik Tolf <[EMAIL PROTECTED]> writes: > > Fredrik> See, I don't understand how this can be a security issue > Fredrik> at all. I mean, I realize of course

Cross-realm security issues

2004-09-29 Thread Fredrik Tolf
, and from what I know of Kerberos authorization, I cannot see how that could be wrong. Since this doesn't seem to be the general consensus, I'm assuming that I'm wrong somewhere, but could someone be as kind as to enlighten me i

Re: MIT KDC only listening on lo

2004-09-23 Thread Fredrik Tolf
On Wed, 2004-09-22 at 20:12 -0400, Ken Raeburn wrote: > On Sep 22, 2004, at 19:58, Fredrik Tolf wrote: > >> Shouldn't be hard. I think you need to dig up the code in the krb5 > >> library (or include directory, or a copy in the KDC code? I forget > >> where 1.3

Re: MIT KDC only listening on lo

2004-09-23 Thread Fredrik Tolf
On Wed, 2004-09-22 at 19:43 -0400, Ken Raeburn wrote: > On Sep 22, 2004, at 18:50, Fredrik Tolf wrote: > > On Wed, 2004-09-22 at 22:37 +, Sam Hartman wrote: > >>>>>>> "Fredrik" == Fredrik Tolf <[EMAIL PROTECTED]> writes: > >> > &

Re: MIT KDC only listening on lo

2004-09-22 Thread Fredrik Tolf
On Wed, 2004-09-22 at 22:37 +, Sam Hartman wrote: > >>>>> "Fredrik" == Fredrik Tolf <[EMAIL PROTECTED]> writes: > > Fredrik> Does anyone know if the KDC is configurable to just > Fredrik> listen to 0.0.0.0, or will I have to take the

Re: MIT KDC only listening on lo

2004-09-22 Thread Fredrik Tolf
On Wed, 2004-09-22 at 22:37 +, Sam Hartman wrote: > >>>>> "Fredrik" == Fredrik Tolf <[EMAIL PROTECTED]> writes: > > Fredrik> Does anyone know if the KDC is configurable to just > Fredrik> listen to 0.0.0.0, or will I have to take the

MIT KDC only listening on lo

2004-09-22 Thread Fredrik Tolf
Does anyone know if the KDC is configurable to just listen to 0.0.0.0, or will I have to take the time to patch it? Fredrik Tolf Kerberos mailing list [EMAIL PROTECTED] https://mailman.mit.edu/mailman/listinfo/kerberos

Re: When does krb5_rd_req return ENOENT?

2004-09-21 Thread Fredrik Tolf
fixing the bug that made it crash in the first place, I accidentally overwrote its configuration file, and that is what somehow caused the error. On a side note, I had already tried deleting the replay cache, but since that wasn't it, it obviously didn't help. T

When does krb5_rd_req return ENOENT?

2004-09-20 Thread Fredrik Tolf
#x27;ve linked against the MIT Krb5 libraries, version 1.2.7. Can someone be as kind as to shed some light on this problem for me? Fredrik Tolf Kerberos mailing list [EMAIL PROTECTED] https://mailman.mit.edu/mailman/listinfo/kerberos

Re: Kerberos Windows Client sign

2004-09-10 Thread Fredrik Tolf
ath/to/the/users/keytab user/autologin" Then, to initialize the ccache, run kinit like this: kinit -k -t /path/to/the/users/keytab user/autologin That way, you won't have to save the user's password in plaintext. Admittedly, this is how it would be done on Linux/UNIX with the MIT imple

Re: Ticket forwarding API

2004-08-31 Thread Fredrik Tolf
On Mon, 2004-08-30 at 18:52 +, Sam Hartman wrote: > >>>>> "Fredrik" == Fredrik Tolf <[EMAIL PROTECTED]> writes: > > Fredrik> I'm developing an application that has Krb5 > Fredrik> authentication (native, not GSS-API), and I foun

Re: Problems using kerberos with ssh.

2004-08-27 Thread Fredrik Tolf
ket forwarding, you'll also need "GSSAPIDelegateCredentials yes". Hope it helps. Fredrik Tolf Kerberos mailing list [EMAIL PROTECTED] https://mailman.mit.edu/mailman/listinfo/kerberos

GSS-API userok

2004-08-23 Thread Fredrik Tolf
erberos mistakes in the code, such as credential cleanup. Even in the case of the latter, though, I don't know how to fix it, since I haven't been programming with GSS-API. Sorry for the long post. Fredrik Tolf Kerberos mailing list [EMAIL PROTECTED] https://mailman.mit.edu/mailman/listinfo/kerberos

Security issues with not transferring the password

2004-02-18 Thread Fredrik Tolf
I've read, it seems that the client actually sends an encrypted version of the user's password over the network, which seems to cancel out the beneficial effects of transferring an encrypted TGT. I'm guessing that I'm wrong about this somehow, considering how mature Kerberos is,