Re: [JDEV] password from client

2001-06-14 Thread Tony Byers

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" <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]>
> 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
> [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 from client

2001-06-14 Thread Thomas Charron

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" <[EMAIL PROTECTED]>
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
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev



Re: [JDEV] password from client

2001-06-14 Thread Tony Byers

I'm using plaing auth with ssl.  Is it available with that?

 "Thomas Charron" <[EMAIL PROTECTED]> wrote:
> If using digest auth, you can't get it..
> 
> From: "Tony Byers" <[EMAIL PROTECTED]>
> Subject: [JDEV] password from client
> > 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
> [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 from client

2001-06-13 Thread Thomas Charron

If using digest auth, you can't get it..

From: "Tony Byers" <[EMAIL PROTECTED]>
Subject: [JDEV] password from client
> 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
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev