[JDEV] Conference nicknames
First, thanks to everyone who has helped me on the auto-registration password issues. Now, I'm wondering if it's possible to require that people use their usernames when they enter a conference room. It doesn't seem like it would need to be password protected, but just not give you a choice as to what name you will use. Thanks 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] Passwords
Hello, Could anyone tell me why the server needs to pass through authreg.c twice for a sign on? And why does it have the username but not the password on the first pass? Lastly, is there any way to get the password on the first pass? I would like to see if the user comes up as null, then do an automatic register (assuming they pass a kerberos check). If anyone knows of a better way to do this, I would really appreciate any advice. Tony ___ 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
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
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
[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. Thanks 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] auto register
I'm wondering if anyone has done something like this before or has some idea about how to do it. Rather than requiring that users register with the server, I would like to have them be automatically registered when the try to sign on. Users will be restricted through kerberos and an external database which I already have working as long as I can get the username and password to authenticate. I've been trying to call mod_register from within authreg.c but I can't seem to put it all together. Any suggestions at all would be greatly appreciated. Thanks 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] xmlstream
I just installed the latest version of xmlstream and it seems to break jarl. This is the message I get from Jarl: Tk::Error: Can't locate object method "has_exception" via package "IO::Select" at /usr/local/lib/perl5/site_perl/5.005/XML/Stream.pm line 1278. XML::Stream::Send at /usr/local/lib/perl5/site_perl/5.005/XML/Stream.pm line 1278 XML::Stream::Connect at /usr/local/lib/perl5/site_perl/5.005/XML/Stream.pm line 924 Net::Jabber::Client::Connect at /usr/local/lib/perl5/site_perl/5.005/Net/Jabber/Client.pm line 185 main::__ANON__ at /usr/bin/../share/jarl/lib/profile_tk.pl line 941 [\&main::__ANON__] Tk callback for .toplevel1.tabbar.frame.frame2.frame6.button Tk::__ANON__ at /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Tk.pm line 217 Tk::Button::butUp at /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/Tk/Button.pm line 111 (command bound to event) I've done nothing to the Jarl code and I can still connect using WinJab, so I think the problem is with the xmlstream. I don't know perl very well, so I don't know what to try. Thanks 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
Re: [JDEV] Multiple logins
Yea, that's exactly what happens. I guess I'll have to deny that second connection somehow. Thanks. Tony Max Horn <[EMAIL PROTECTED]> wrote: > At 14:41 Uhr -0400 23.05.2001, Tony Byers wrote: > >I noticed by accident that if I log into my server with the same username > >and resource twice at the same time, both instances disconnect and > reconnect > >continuously. I'm using Jarl and jabber 1.4.1. Has anyone else seen > >this behavior? Also is anyone using ssl with jarl? Thanks Andrew > for > >the mio_ssl fix. Winjab is now working using ssl. > > > > If you log in again with the same resource, your "older" connection > > will be cut, but the new one stays. > > Now I assuem the following happens: Jarl tries to reconnect, and > suceeds. This in turn kicks out your other connection, etc. etc., so > > it loops endlessly ;) > > > Max > -- > --- > Max Horn > C++/ObjC/Java Developer > > email: <mailto:[EMAIL PROTECTED]> > phone: (+49) 6151-494890 > ___ > 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
[JDEV] Multiple logins
I noticed by accident that if I log into my server with the same username and resource twice at the same time, both instances disconnect and reconnect continuously. I'm using Jarl and jabber 1.4.1. Has anyone else seen this behavior? Also is anyone using ssl with jarl? Thanks Andrew for the mio_ssl fix. Winjab is now working using ssl. Tony ___ 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] transport ids & passwords
Has anyone made changes so that the transport id and password are stored on the client side rather than the server or is there a reason why this couldn't be done. Tony ___ 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] passwords
Hello - I thought I had this figured out but I don't. Does anyone know how to obtain the password from the client in any of the mod_auth files. I've stuck the following line in many different places and password is always NULL. password = xmlnode_get_tag_data(m->packet->iq, "password"); I've commented out mod_auth_digest and mod_auth_0k in jabber.xml so I'm assuming that password verification must be done in mod_auth_plain_jane. Any information about the client password would be great. I'm totally lost at this point. 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
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
[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] database support
Hello, Jabber looks like almost exactly what we've been looking for except for one thing - the username.xml file in the spool directory. This wouldn't work for us because of too many users (possibly up to 50,000). I've seen some development using a database for this but have not been able to compile anything yet. I was wondering if this is still being developed and what any future plans are. (I haven't put a lot of time into the xdb_odbc stuff yet but plan to if this will still be supported in the future). Any tips on compiling would be great? Thanks 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