RE: [JDEV] password authentication
Hi Tony, take a look at some samples in download.jabber.org specifically ldapauth.tar.gz I am making a similar authentication control there ... let me know if I can be of more help! zad > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Tony Byers > Sent: Thursday, May 10, 2001 2:40 PM > To: [EMAIL PROTECTED] > Subject: [JDEV] password authentication > > > Hello - I've been trying to figure out where the passwords from the client > and server are checked. I've been looking in mod_auth_plain.c and I > see where it is comparing the passwords in mreturn mod_auth_plain_jane > but it never gets past if(jpacket_subtype(m->packet) == JPACKET__GET). > It goes into this section and returns. All I want to do is add a call > to a kerberos function with the password from the client. All I really > need is a place where I can get the password from the client and attempt > to get a kerberos ticket and fail authentication if I can't. Thanks > in advance for any advice. > > Tony Byers > > ___ > To get your own FREE ZDNet Onebox - FREE voicemail, email, and fax, > all in one place - sign up today at http://www.zdnetonebox.com > > ___ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev > ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] password authentication
Thank you very much. I was messing around with that passA yesterday but I gave up too soon. Thanks for all the help. I was about to go crazy. Tony Byers Benoit Orihuela <[EMAIL PROTECTED]> wrote: > hi, > > > It goes into this section and returns. All I want to do is add > a call > > to a kerberos function with the password from the client. All I > really > > need is a place where I can get the password from the client and > attempt > > to get a kerberos ticket and fail authentication if I can't. Thanks > > in advance for any advice. > the password from the client is stored in passA (retrieved from the > packet passed in argument - line 45). > then, instead of calling xdb_get (line 49 - 54) to get the password > stored in a file (or db), you can make a call to a kerberos > function with the user's password. > I hope this helps. > > regards, > > Benoit. > > -- > Benoit Orihuela > IDEALX S.A.S. > ___ > jdev mailing list > [EMAIL PROTECTED] > http://mailman.jabber.org/listinfo/jdev > ___ To get your own FREE ZDNet Onebox - FREE voicemail, email, and fax, all in one place - sign up today at http://www.zdnetonebox.com ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
Re: [JDEV] password authentication
hi, > It goes into this section and returns. All I want to do is add a call > to a kerberos function with the password from the client. All I really > need is a place where I can get the password from the client and attempt > to get a kerberos ticket and fail authentication if I can't. Thanks > in advance for any advice. the password from the client is stored in passA (retrieved from the packet passed in argument - line 45). then, instead of calling xdb_get (line 49 - 54) to get the password stored in a file (or db), you can make a call to a kerberos function with the user's password. I hope this helps. regards, Benoit. -- Benoit Orihuela IDEALX S.A.S. ___ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev