Solved

qpopper not authenticating with kerberos on BSDI 2.1

Posted on 1997-05-18
2
214 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

630 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