[JDEV] password from client
Tony Byers
nigelmas at zdnetonebox.com
Thu Jun 14 13:59:05 CDT 2001
I've already got a list of users for email and I would like to make jabber
available to them using the same usernames/passwords. Currently I'm
authenticating them using kerberos and that works fine as long as they
are registered with the jabber server as well. I would like to allow
the users to be able to just sign on and be automatically registered.
I'm using the xdb_sql modules to store the registration info except
for the password. So the only reason I need the password is for the
kerberos check and then I could probably bypass all of the jabber authentication.
I have since noticed that each sign-on goes through authreg twice with
the password only available on the second pass. I'm thinking I could
check it then but it fails on the first pass. So maybe I can set the
flag in the packet so that it could make it to the second pass. Does
that make sense?
Thanks
Tony
---- "Thomas Charron" <tcharron at ductape.net> wrote:
> Oh heck yea. But I was talking about a modification that would
> be made
> as part of mod_auth. Think we may have been coming from different
> directions here.
>
> Explain exactly what you want to do, to make sure we're all on
> the same
> page here..
>
> From: "Tony Byers" <nigelmas at zdnetonebox.com>
> Subject: Re: [JDEV] password from client
> > I'm using plaing auth with ssl. Is it available with that?
> > > If using digest auth, you can't get it..
> > > > I've made some progress since my last post about auto registering.
> > > My
> > > > main obstacle at the moment is getting the password from the
> client
> > > in
> > > > js_authreg in authreg.c. xmlnode_get_tag_data(m->packet->iq,
> "password")
> > > > doesn't seem to work.
>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> 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
More information about the JDev
mailing list