Solved

qpopper not authenticating with kerberos on BSDI 2.1

Posted on 1997-05-18
2
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
hrumayor earned 50 total points
ID: 1812215
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
ID: 1812216
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.
Suggested Courses

739 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