?
Solved

qpopper not authenticating with kerberos on BSDI 2.1

Posted on 1997-05-18
2
Medium Priority
?
215 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 100 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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…
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.:

719 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