10 More Discussions You Might Find Interesting
1. BSD
Hi Guys,
I'm a FreeBSD newbie with some basic Linux experience. I have installed FreeBSD 9.2 with Squid and IPFW but am struggling to get dansguardian working. I have also installed apache24 which I believe is a pr-requisite dependency and that seems to be running happily enough
I have... (0 Replies)
Discussion started by: andyh2451
0 Replies
2. Red Hat
Hi,
I have three servers,For 3 servers how i can take output,all the local accounts and details of whether the access is Root or User access.
cheers (1 Reply)
Discussion started by: ranjithm
1 Replies
3. Shell Programming and Scripting
Hi,
I would like to retrieve a list of user ids on an AIX server along with the access rights that each id has? Can someone please help me on how this can be achieved?
Gayathri (3 Replies)
Discussion started by: ggayathri
3 Replies
4. UNIX for Dummies Questions & Answers
Hello Guru,
I have very unique requirement , need some help.
I have one folder created in one the server A. In this folder , the file getting uploaded from some java based page.
then i am calling scp through key file, which works fine in another folder of server B.
Currently , what i am... (2 Replies)
Discussion started by: u263066
2 Replies
5. UNIX for Advanced & Expert Users
Hello all,
I am currently writing an application that besides other thing ,ftps files from remote machines (running linux and solaris). My problem is this: i am connecting to remote machines as a user other than root and i have found that there is a possibility that i will encounter folders with... (3 Replies)
Discussion started by: noam128
3 Replies
6. UNIX for Dummies Questions & Answers
Hi Folks,
My problem is an easy one for the experts here. All my applications run using a user id that creates files with only the following default rights:
-rw-r-----
I want to modify this user's account such that it creates files that assign read access to the everyone group by default:... (7 Replies)
Discussion started by: umairrahman
7 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I want to execute a customised process like rating engine using a shell script from a directory other than the directory where the customizes process is placed.
I have tried it in the following way...and faced a issue
when shell script is available in directory /dir1/ and customized... (1 Reply)
Discussion started by: vkishore.btw
1 Replies
8. Cybersecurity
Hi everybody!
Sorry for my intrusion but I'd like to submit a problem which is driving me crazy!
To implement the application I'm working on I must set an application layer firewall,
consequently I've installed and configured on my machine Squid + Dansguardian vs 2.8
(I'm using Debianrelease... (2 Replies)
Discussion started by: rossella
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Is it true that if I am not the root I can not select access permissions to a file that I own so that my friend (who also isn't the root) can access that file?
And is it true that the only way to accomplish it is to ask the root to "put" my friend into "my" group? Then I could simply set... (1 Reply)
Discussion started by: rudo
1 Replies
10. OS X (Apple)
I've just Dl'd and installed the osxgnu package of danguardian and squid on my 10.2 machine, which is mainly used as a router/firewall (set up with brickhouse)
And now I'm not quite sure what to do next...I have a speedtouch 330 USB ADSL modem and I share the connection via built in ethernet. ... (1 Reply)
Discussion started by: mistafeesh
1 Replies
WebKDC::WebKDCException(3pm) User Contributed Perl Documentation WebKDC::WebKDCException(3pm)
NAME
WebKDC::WebKDCException - exceptions for WebKDC
SYNOPSIS
use WebKDC;
use WebKDC::WebKDCException;
eval {
...
WebKDC::request_token_request($req, $resp);
...
};
if (WebKDC::WebKDCException::match($@)) {
my $e = $@;
# you can call the following methods on a WebKDCException object:
# $e->status()
# $e->message()
# $e->error_code()
# $e->verbose_message()
}
DESCRIPTION
The various WebKDC functions can all throw WebKDCException if something wrong happens.
EXPORT
The following constants are exported:
WK_SUCCESS
WK_ERR_USER_AND_PASS_REQUIRED
WK_ERR_LOGIN_FAILED
WK_ERR_UNRECOVERABLE_ERROR
WK_ERR_REQUEST_TOKEN_STATLE
WK_ERR_WEBAUTH_SERVER_ERROR
WK_ERR_LOGIN_FORCED
WK_ERR_USER_REJECTED
WK_ERR_CREDS_EXPIRED
WK_ERR_MULTIFACTOR_REQUIRED
WK_ERR_MULTIFACTOR_UNAVAILABLE
WK_ERR_LOGIN_REJECTED
WK_ERR_LOA_UNAVAILABLE
WK_SUCCESS
This status code never comes back as part of an exception, though it might be returned by a function that uses these status codes as
return values.
WK_ERR_USER_AND_PASS_REQUIRED
This status code indicates that a function was called that required a username and password. The user should be prompted for their
username and the function should be called again.
WK_ERR_LOGIN_FAILED
This status code indicates that a function was called that attempted to validate the username and password and could not, due to an
invalid user or password. The user should be re-prompted for their username/password and the function should be called again.
WK_ERR_UNRECOVERABLE_ERROR
This status code indicates that a function was called and an error occured that can not be recovered from. If you are in the process of
attempting to log a user in, you have no choice but to display an error message to the user and not prompt again.
WK_ERR_REQUEST_TOKEN_STALE
This status code indicates the user took too long to login, and the the request token is too old to be used.
WK_ERR_WEBAUTH_SERVER_ERROR
This status code indicates something happened that most likely indicates the webauth server that made the request is mis-configured
and/or unauthorized to make the request. It is similar to WK_ERR_UNRECOVERABLE_ERROR except that the error message to the user should
indicate that the problem is most likely with the server that redirected them.
WK_ERR_LOGIN_FORCED
This status code indicates that a function was called that required a username and password even if single sign-on credentials were
available. The user should be prompted for their username and password and the function should be called again with that data.
WK_ERR_USER_REJECTED
This status code indicates that the authenticated principal was rejected by the WebKDC configuration (usually because
WebKdcPermittedRealms was set and the realm of the principal wasn't in that list).
WK_ERR_CREDS_EXPIRED
This status code indicates that the principal we attempted to authenticate to has an expired password.
WK_ERR_MULTIFACTOR_REQUIRED
This status code indicates that authentication was successful but that authentication with a second factor is also required. The user
should be prompted for their second factor and then the login reattempted with that information plus the returned proxy tokens.
WK_ERR_MULTIFACTOR_UNAVAILABLE
This status code indicates that the desired site requires multifactor, but the user does not have multifactor configured or does not
have the correct second factor to authenticate to that site.
WK_ERR_LOGIN_REJECT
This status code indicates that this user is not allowed to log on to that site at this time for security reasons. This is a
transitory error; the user may be permitted to authenticate later, or from a different location. This error message is used for
rejected logins from particular locations, logins that appear to be from a compromised account, or accounts that have been locked out
due to too many failed logins.
WK_ERR_LOA_UNAVAILABLE
This status code indicates that the site requested a Level of Assurance for the user's authentication that is higher than this user can
provide, either because of insufficient proof of identity available to the system or due to an insufficiently strong configured
authentication method.
METHODS and FUNCTIONS
match($exception[, $status])
This class function (not a method) returns true if the given $exception is a WebKDC::WebKDCException. If $status is specified, then
$exception->status() will also be compared to $status.
new(status, message, wrapped_exception)
This method is used to created new WebKDC::WebKDCException objects.
status()
This method returns the WebKDC::WebKDCException status code for the exception, which will be one of the WK_ERR_* codes.
message()
This method returns the error message that was used in the constructor.
error_code()
This method returns the WebKDC errorCode (if there was one).
verbose_message()
This method returns a verbose error message, which consists of the status code, message, and any error code.
The verbose_message method is also called if the exception is used as a string.
AUTHOR
Roland Schemers (schemers@stanford.edu)
SEE ALSO
WebKDC.
perl v5.14.2 2012-04-25 WebKDC::WebKDCException(3pm)