9 More Discussions You Might Find Interesting
1. IP Networking
Ggod evening.
I need your help please, in a Production system there is a process that download a xls file from an URL which is IMF(International Monetary Fund) and afterwards to be loaded into a databse table.
When testing conectivity from a unix server to IMF seems to work but when editing it... (9 Replies)
Discussion started by: alexcol
9 Replies
2. Forum Support Area for Unregistered Users & Account Problems
Hello Moderators,
Greetings !!
This is regarding my friend to whom I refered this forum to learn UNIX. User didn't receieved any registration email yet, could you please help user. Will be grateful to you on same.
Login name: Gurvinder_Kaur
NOTE: User doesn't have enough bits for... (0 Replies)
Discussion started by: RavinderSingh13
0 Replies
3. Cybersecurity
Hey everyone. I was at my local star bucks, which has open free wifi. And I (against my better judgement) deceided to check my school email. I was using their wifi network. when I went to go login, I was presented with the safari prompt "Can not Verify Server identity". I clicked 'details' and... (1 Reply)
Discussion started by: Lost in Cyberia
1 Replies
4. UNIX for Dummies Questions & Answers
Hello i have this longterm issue which im unable to solve, i think this is quite simple issue, i hope you may know the cause
It is on CentOS Redhat server with qmail installed.
# service qmail status
# service qmail start
Starting Qmail:
# ps aux | grep mail
qmails 1688 0.0 0.0 ... (1 Reply)
Discussion started by: postcd
1 Replies
5. Shell Programming and Scripting
Hi am just trying to FTP am while doing so am getting the "KERBEROS_V4 rejected as an authentication type" error.Please let me know what should be done to avoid this error.
The code is
#!/bin/ksh -x
#
# Get new files only ftp
#
source="source.com"
basedir="/home/xyz/"... (0 Replies)
Discussion started by: weknowd
0 Replies
6. UNIX Desktop Questions & Answers
I have two Solaris 10 systems, A and B, both of which share home directories via NFS (served from a 3rd, Linux, machine). User names, uids, and home directories are identical when the same user has accounts on both Solaris 10 machines.
When I run ssh -X user@A from my home machine, I can easily... (0 Replies)
Discussion started by: WolfyPDX
0 Replies
7. Forum Support Area for Unregistered Users & Account Problems
There was a problem with the site servicing our spam address checking. As a result all registrations were being rejected. If you have encountered this problem please try again and you should be permitted to join. (0 Replies)
Discussion started by: reborg
0 Replies
8. Linux
Running as cron, I get error msg in mail: KERBEROS_V4 rejected as an authentication type,
even though the ftp does work. Can anyone explain this? Is there a way to stop it?
cron:
35 6 * * 1-5 ./PSS/pss.sh >> ./PSS/pss.log
script pss.sh:
#!/usr/bin/ksh
DIR=/home/informix/PSS... (0 Replies)
Discussion started by: ejaggers
0 Replies
9. Forum Support Area for Unregistered Users & Account Problems
To Whom It May Concern,
I've tried registering, and am unable to do so. The message being returned is that my name choices are being rejected for not meeting some administrator criteria, which is not discernible from the message returned by the board software.
The password I chose was all... (1 Reply)
Discussion started by: username_in_use
1 Replies
AnyEvent::XMPP::Ext::Registration(3pm) User Contributed Perl Documentation AnyEvent::XMPP::Ext::Registration(3pm)
NAME
AnyEvent::XMPP::Ext::Registration - Handles all tasks of in band registration
SYNOPSIS
my $con = AnyEvent::XMPP::Connection->new (...);
$con->reg_cb (stream_pre_authentication => sub {
my ($con) = @_;
my $reg = AnyEvent::XMPP::Ext::Registration->new (connection => $con);
$reg->send_registration_request (sub {
my ($reg, $form, $error) = @_;
if ($error) {
# error handling
} else {
my $af = $form->try_fillout_registration ("tester", "secret");
$reg->submit_form ($af, sub {
my ($reg, $ok, $error, $form) = @_;
if ($ok) { # registered successfully!
$con->authenticate
} else { # error
if ($form) { # we got an alternative form!
# fill it out and submit it with C<submit_form> again
}
}
});
}
});
0
});
DESCRIPTION
This module handles all tasks of in band registration that are possible and specified by XEP-0077. It's mainly a helper class that eases
some tasks such as submitting and retrieving a form.
METHODS
new (%args)
This is the constructor for a registration object.
connection
This must be a AnyEvent::XMPP::Connection (or some other subclass of that) object.
This argument is required.
send_registration_request ($cb)
This method sends a register form request. $cb will be called when either the form arrived or an error occured.
The first argument of $cb is always $self. If the form arrived the second argument of $cb will be a AnyEvent::XMPP::Ext::RegisterForm
object. If an error occured the second argument will be undef and the third argument will be a AnyEvent::XMPP::Error::Register object.
For hints how AnyEvent::XMPP::Ext::RegisterForm should be filled out look in XEP-0077. Either you have legacy form fields, out of band
data or a data form.
See also try_fillout_registration in AnyEvent::XMPP::Ext::RegisterForm.
send_unregistration_request ($cb)
This method sends an unregistration request.
For description of the semantics of the callback in $cb plase look in the description of the "submit_form" method below.
send_password_change_request ($username, $password, $cb)
This method sends a password change request for the user $username with the new password $password.
For description of the semantics of the callback in $cb plase look in the description of the "submit_form" method below.
submit_form ($form, $cb)
This method submits the $form which should be of type AnyEvent::XMPP::Ext::RegisterForm and should be an answer form.
$con is the connection on which to send this form.
$cb is the callback that will be called once the form has been submitted and either an error or success was received. The first
argument to the callback will be the AnyEvent::XMPP::Ext::Registration object, the second will be a boolean value that is true when the
form was successfully transmitted and everything is fine. If the second argument is false then the third argument is a
AnyEvent::XMPP::Error::Register object. If the error contained a data form which is required to successfully make the request then the
fourth argument will be a AnyEvent::XMPP::Ext::RegisterForm which you should fill out and send again with "submit_form".
For the semantics of such an error form see also XEP-0077.
AUTHOR
Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>"
COPYRIGHT & LICENSE
Copyright 2007, 2008 Robin Redeker, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-01-23 AnyEvent::XMPP::Ext::Registration(3pm)