Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

qpopper not authenticating with kerberos on BSDI 2.1

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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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

783 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