Solved

qpopper not authenticating with kerberos on BSDI 2.1

Posted on 1997-05-18
2
206 Views
Last Modified: 2013-12-16
I'm using a BSDI machine as my mail server.  I have an old version of qpopper the works but not well.  I need to upgrade to qpopper 2.3.  The quppoer will verify with local passwords but will not verify from kerberos.  From all indications it looks like I'll have to rebuild the pop_pass.c to meet my needs but before I do so I'd like to see if someone else has done is again...   No use reinventing the wheel.

If you know anything about this isssue I'd appreciate it.  Or if my logic isn't correct please let me know.  
0
Comment
Question by:blues051897
2 Comments
 
LVL 1

Accepted Solution

by:
hrumayor earned 50 total points
Comment Utility
For 50 pints, well
you have to add in the code of pop_pass.c an afs authentification
scheem, i am suposing that the server of qpoper is a afs client or server then you just have to interface the folowing code with
the pop_pass.c whic i supose is shere authentification is going on, modify the next example.

*** these are some includes needed.

#include <afs/param.h>
#include <afs/kautils.h>

 
int  code;

struct Information {
        char acount[128];
        char passwd[128];
};

*** This funcion recives name nad passwd and returns a 0 if
*** failed or a 1 if succeded.

int *autenticate(Datos)
Informacion *Datos;
{
  long password_expires = -1;
  char *reason;

  code = ka_UserAuthenticateGeneral(KA_USERAUTH_VERSION+KA_USERAUTH_DOSETPAG,
                                    Datos->acount,
                                    (char *) 0,  /* instance */
                                    (char *) 0,  /* cell */
                                    Datos->passwd,
                                    0,           /* lifetime, default */
                                    &password_expires, /*days 'til it expires*/
                                    0,        /* spare 2 */
                                    &reason);
  return (&code);
}

0
 

Author Comment

by:blues051897
Comment Utility
I can care less about the points....  I just need an answer.

We are not using afs here.  We are simply using kerberos authentication.  The popper that I am trying to configure is called qpopper2.3.  It is located ftp://ftp.qualcomm.com/Eudora/servers/unix/popper/ if you wish to see what I'm using.  The version of kerberos I'm using is IV.

If you help me work this issue out, you can pretty much bet we'll be using you in the future :>

Rich
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now