CoreID Access Server not reading Authentication Plugin
Hello all! I've written an authentication plugin (.dll) for use with the CoreID Access Server in C++ .NET using the CoreID Managed Code (.NET) API. Everything compiles fine and I believe I've complied to the interface CoreID expects. However, when the access server starts it chokes on the plugin and this is the error message generated by the server:
UTC - Access Server File Logger
ERROR0x000003B6 base\obsharedobj.cpp:44 "Could not read file"
shlibname^C:\Program Files\csm\access/oblix/lib/csmAuthnSSOPlugin.dll
ACCESS_SERVER ERROR0x00001136 \Oblix\coreid\palantir\aaa_server\src\plugins.cpp:1329
"Error while loading the plug-in symbols" tmpdso^csmAuthnSSOPlugin
I thought perhaps a dependency .dll was not present on the server, i.e. managed_plugin_interface.dll, however it is present in an appropriate lib directory. So...any ideas out there? :-)
If you have reinstalled Access Server, try running the Access Server configuration utility. I think its obacc*.exe or search for exe file name.
Once you retype all the configuration info, it should start.
Thanks
Ram
Similar Messages
-
Access server not displaying ROMMON mode target device
Hi All,
I'm encountering a curious problem (or I'm overlooking something).
I'm configuring a console server for configuring remote devices. This is working well except for the fact that if a target device is in ROMMON mode, the console server refuses to displays the target device console. It does open the connection but the ROMMON prompt is not shown on the console server . This is essential for this device as we will need to use it to reset passwords remotely and thus need to be able to access ROMMON mode from the console server.
Parts used are a 2951 router and a HWIC-8A serial card. Does anyone has some ideas?
Posted my config below:
[code]
Current configuration : 4389 bytes
! Last configuration change at 04:19:45 UTC Wed Sep 19 2012
version 15.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname Router
boot-start-marker
boot-end-marker
no aaa new-model
crypto pki token default removal timeout 0
no ipv6 cef
ip auth-proxy max-login-attempts 5
ip admission max-login-attempts 5
ip host Chassis1 2002 100.0.0.1
ip host Chassis2 2003 100.0.0.1
ip host Chassis3 2004 100.0.0.1
ip host Chassis4 2005 100.0.0.1
ip host Chassis5 2006 100.0.0.1
ip host Chassis6 2007 100.0.0.1
ip host Chassis7 2008 100.0.0.1
ip host Chassis8 2009 100.0.0.1
ip cef
multilink bundle-name authenticated
license udi pid CISCO2951/K9 sn FCZ13507226
hw-module sm 1
redundancy
interface Loopback0
ip address 100.0.0.1 255.255.255.255
interface Embedded-Service-Engine0/0
no ip address
shutdown
interface GigabitEthernet0/0
no ip address
shutdown
duplex auto
speed auto
interface GigabitEthernet0/1
no ip address
shutdown
duplex auto
speed auto
interface GigabitEthernet0/2
no ip address
shutdown
duplex auto
speed auto
interface GigabitEthernet1/0
no ip address
shutdown
interface GigabitEthernet1/1
description Internal switch interface connected to EtherSwitch Service Module
no ip address
interface Vlan1
no ip address
interface Async0/0/0
no ip address
encapsulation slip
interface Async0/0/1
no ip address
encapsulation slip
interface Async0/0/2
no ip address
encapsulation slip
interface Async0/0/3
no ip address
encapsulation slip
interface Async0/0/4
no ip address
encapsulation slip
interface Async0/0/5
no ip address
encapsulation slip
interface Async0/0/6
no ip address
encapsulation slip
interface Async0/0/7
no ip address
encapsulation slip
ip forward-protocol nd
no ip http server
no ip http secure-server
menu TS title ^C
Virtual Lab Terminal Server
To exit from a device, use CTRL+SHIFT+6 then press x
^C
menu TS prompt ^C Your selection : ^C
menu TS text 1 Connect to Rack1 - Chassis1
menu TS command 1 resume Chassis1 /connect telnet Chassis1
menu TS text 2 Connect to Rack1 - Chassis2
menu TS command 2 resume Chassis2 /connect telnet Chassis2
menu TS text 3 Connect to Rack1 - Chassis3
menu TS command 3 resume Chassis3 /connect telnet Chassis3
menu TS text 4 Connect to Rack1 - Chassis4
menu TS command 4 resume Chassis4 /connect telnet Chassis4
menu TS text 5 Connect to Rack1 - Chassis5
menu TS command 5 resume Chassis5 /connect telnet Chassis5
menu TS text 6 Connect to Rack1 - Chassis6
menu TS command 6 resume Chassis6 /connect telnet Chassis6
menu TS text 7 Connect to Rack1 - Chassis7
menu TS command 7 resume Chassis7 /connect telnet Chassis7
menu TS text 8 Connect to Rack1 - Chassis8
menu TS command 8 resume Chassis8 /connect telnet Chassis8
menu TS text s show all established sessions
menu TS command s show sessions
menu TS options s pause
menu TS text c<no> clear the session by number ie: c5
menu TS text e menu-exit
menu TS command e menu-exit
menu TS text q Quit terminal server session
menu TS command q exit
menu TS command c1 c1
menu TS command c2 c2
menu TS command c3 c3
menu TS command c4 c4
menu TS command c5 c5
menu TS command c6 c6
menu TS command c7 c7
menu TS command c8 c8
menu TS clear-screen
menu TS line-mode
control-plane
alias exec c1 disconnect Chassis1
alias exec c2 disconnect Chassis2
alias exec c3 disconnect Chassis3
alias exec c4 disconnect Chassis4
alias exec c5 disconnect Chassis5
alias exec c6 disconnect Chassis6
alias exec c7 disconnect Chassis7
alias exec c8 disconnect Chassis8
line con 0
transport output all
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line 0/0/0 0/0/7
exec-timeout 0 0
no exec
transport input all
transport output none
stopbits 1
flowcontrol hardware
line 67
no activation-character
no exec
transport preferred none
transport input all
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
flowcontrol software
line vty 0 4
login
transport input all
scheduler allocate 20000 1000
end
Router#
[/code]This appeared to be a hardware issue and is solved. Configuration of the access server was o.k..
-
Application Server not reading formsweb.cfg
Hi all,
I've installed Apps Fusion middleware Version 12.1 on RHEL 3.3.
I'm able to access forms through direct path like
http://appshr:7778/forms/frmservlet?form=Holiday_master.fmx
but when i try to access using alias like below it gives me error FRM :40010 can not read Form abcd
http://appshr:7778/forms/frmservlet?form=abcd
I've set most of the environmental Veriable but still error persists...
I've had setup same Environment for same machine but OS was Windows Server 2003 R2 and it is worked/ing fine.
But not getting any idea where i messed up here in Linux?
any ideas will be appreciated.
Regards!Thanks for the reply.
We tried the other what you told *<DOMAIN_DIR>/servers/WLS_FORMS/stage/formsapp/11.1.1/formsapp/config.* but we didn't find any file there.
We have two homes, one for DB and for Apps.
DB Home */data1/u01/app/oracle/Orahome_inv*
Apps Home */data1/u01/app/oracle/OraHome_frsvr*
My formsweb.cfg file contents are as below
===============================
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
[abcd]
title=test form
forms=Holiday_master.fmx
userid=abcd/abcd
==================This is my environment setting
=========
SSH_CONNECTION=10.2.12.1 4713 10.1.100.101 22
TMP=/tmp
PATH=/usr/sbin:/data1/u01/app/oracle/Orahome_inv/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/data1/u01/app/oracle/Orahome_inv/dcm/bin:/data1/u01/app/oracle/Orahome_inv/opmn/bin:/data1/u01/app/oracle/Orahome_inv/Apache/Apache/bin
SHELL=/bin/ksh
HOSTNAME=appshr
USER=oracle
TMPDIR=/tmp
ORACLE_BASE=/data1/u01/app/oracle
SSH_CLIENT=10.2.12.1 4713 22
ORACLE_HOME=/data1/u01/app/oracle/Orahome_inv
TERM=xterm
INPUTRC=/etc/inputrc
G_BROKEN_FILENAMES=1
ORACLE_SID=appshr
LANG=en_US.UTF-8
SSH_TTY=/dev/pts/0
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
FORMS_PATH=/data1/u01/app/oracle/OraHome_frsvr/forms
HOME=/home/oracle
HISTSIZE=1000
LESSOPEN=|/usr/bin/lesspipe.sh %s
LAMHELPFILE=/etc/lam/lam-helpfile
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
QTDIR=/usr/lib/qt-3.1
ORACLE_TERM=xterm
===================is it due to wrong home setting in env file?
Regards.. -
Server not found (firefox plugin)
Anyone tell me what I am doing wrong . . When I try and
install Macromedia Flash Player i get that the installation has
failed . . when I try and manually install I get -
Server not found
Firefox can't find the server at fpdownload.macromedia.com.
* Check the address for typing errors such as
ww.example.com instead of
www.example.com
* If you are unable to load any pages, check your computer's
network
connection.
* If your computer or network is protected by a firewall or
proxy, make sure
that Firefox is permitted to access the Web.I tried all the suggestions that where given in the post and
I still continue to get those errors.maybe macromedia flash just
really doesnt want to cater to linux users or mac users. -
Exchange 2013 - Proxy through client access server not working
Hello All -
I recently migrated our company to Exchange 2013 and noticed that our email was leaving through the mailbox server. I put a check mark in the Send Connector where it says "Proxy through Client Access Server" and my mail is still coming from the
mailbox server. How can I go about fixing this problem?
Environment:
1 CAS Server
1 Mailbox Server
Both server are behind the firewall with only port 25 opened to the CAS. The CAS has a Send Connector to a smart host for all messages.
Thank you!
RyanHi,
Please check if the outbound messages without smart host are coming from CAS .
I doubt it send to the smart host directly if you configure smart host, and not use proxy thogh CAS.
If you have any feedback on our support, please click
here
Wendy Liu
TechNet Community Support -
Lion Server not reading Active Directory Groups reliably
I am trying to upgrade one of our XServes from Snow Leopard Server to Lion Server and am running into a strange issue with our Active Directory based users and Groups.
The current Snow Leopard Server serving files from a XSan volume is running fine, though we find a very long Lag time for Windows users to connect. Once a few users have connected the lag seems to go away, but it is still not nearly as fast as Mac users connecting or Windows connecting to a PC server.
So I have connected a second Xserve to the SAN and performed a clean install of Lion Server. Initially while it would find my Active Directory Groups it would not import any of the users, so obvioulsly no one could connect. In a last ditch effort I installed the beta of 10.7.4, which seemed to resolve the issue for a small group of test users. However as I expanded the test I found that some users would get a message that the were no resources available to them, or they didn't have the correct permissions. This is very strange as everyone is in the same group so should have the same permissions. As a test I took one of the user accounts and created a new share and gave him R/W permission to that share and suddenly all of the shares that he should have had permission to in the first place popped up.
The only thing that I can think of is that we have such a large Active Directory structure that the authentication is timing out or reaching some user limit and stops looking. (we have over 50,000 users and thousands of groups spread through multiple OUs in the AD structure)
The new Server.app in Lion looks nice, but it does not seem to have nearly the robustness of the previous Server Admin tools. For instance, I never needed or wanted to setup a "Golden Triangle" but with Lion it is required. Perviously I could search for AD users or groups and drag them from the search window to the share to assign permission, now even though I've imported the groups and users it needs to search the entire directory when assigning permissions - why can't it see the groups that are already there? Why can I run a dscl search and find a user or group instantly, but the Server.app hangs for 5 minutes and shows 0 results?
Has anyone found a way to make Lion Server work in an enterprise environment?Yesterday morning I bound a 10.7.4 server to our AD, and in the afternoon I eventually saw all the AD users, groups, etc show in Workgroup Manager. Now, with dscl, I can see all the AD user and group records, and with Workgroup Manager, I can search the groups, users, and computers, but with the Server.app, when trying to create new group of the type "Imported group from another directory", the searches returned nothing. Directory Utility can show all the AD information also. Our AD has thousands of user record, and so it is reasonable that it may take some time for the Mac server to get all the info. But from the add users or groups interface, I just could not get any search results. What could be wrong then?
-
NIO Non-Blocking Server not Reading from Key
I have created a NIO non blocking server (below) and it will not pick up any input from the client.... My log doesnt even show that it enters the readKey() method, so it must be something before. Any help would be appreciated.
Scott
package jamb.server;
import java.io.IOException;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.nio.ByteBuffer;
import java.nio.CharBuffer;
import java.nio.channels.ClosedChannelException;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.ServerSocketChannel;
import java.nio.channels.SocketChannel;
import java.nio.channels.spi.SelectorProvider;
import java.nio.charset.Charset;
import java.nio.charset.CharsetDecoder;
import java.util.Iterator;
import java.util.Set;
import java.util.logging.Logger;
import java.util.prefs.Preferences;
import jamb.server.client.Client;
public class Server {
private Selector selector;
private ServerSocketChannel serverChannel;
private static Logger logger = Logger.getLogger("jamb.server");
private static Preferences prefs = Preferences.systemRoot().node("/jamb/server");
public void init() {
logger.entering("jamb.server.Server", "init");
//Get a selector...
try {
selector = SelectorProvider.provider().openSelector();
//Open the SocketChannel and make it non-blocking...
serverChannel = ServerSocketChannel.open();
serverChannel.configureBlocking(false);
//Bind the server to the port....
int port = prefs.getInt("Port", 4000);
logger.config("Server configured on port " + port + " (default: 4000)");
InetSocketAddress isa = new InetSocketAddress(
InetAddress.getLocalHost(), port);
serverChannel.socket().bind(isa);
} catch (IOException ioe) {
logger.severe ("IOException during server initialization!");
logger.exiting("jamb.server.Server", "init");
public void run() {
logger.entering("jamb.server.Server", "run");
int bufferSize = prefs.getInt("BufferSize", 8);
logger.config("Buffer size set to " + bufferSize + " (default: 8)");
SelectionKey acceptKey = null;
try {
acceptKey = serverChannel.register(
selector, SelectionKey.OP_ACCEPT);
} catch (ClosedChannelException cce) {
try {
while (acceptKey.selector().select() > 0) {
Set readyKeys = selector.selectedKeys();
Iterator i = readyKeys.iterator();
while (i.hasNext()) {
//logger.finest("Processing keys...");
//Get the key from the set and remove it
SelectionKey currentKey = (SelectionKey) i.next();
i.remove();
if (currentKey.isAcceptable()) {
logger.finest("Accepting key...");
acceptKey(currentKey);
} else if (currentKey.isReadable()) {
logger.finest("Reading key...");
readKey(currentKey, bufferSize);
} else if (currentKey.isWritable()) {
//logger.finest("Writing key...");
writeKey(currentKey);
} catch (IOException ioe) {
logger.warning("IOException during key handling!");
logger.exiting("jamb.server.Server", "run");
public void flushClient (Client client) {
try {
ByteBuffer buf = ByteBuffer.wrap( client.getOutputBuffer().toString().getBytes());
client.getChannel().write(buf);
} catch (IOException ioe) {
System.out.println ("Error writing to player");
client.setOutputBuffer(new StringBuffer());
private void acceptKey (SelectionKey acceptKey) {
logger.entering("jamb.server.Server", "acceptKey");
//Retrieve a SocketChannel for the new client, and register a new selector with
//read/write interests, and then register
try {
SocketChannel channel = ((ServerSocketChannel) acceptKey.channel()).accept();
channel.configureBlocking(false);
SelectionKey readKey = channel.register(
selector, SelectionKey.OP_READ|SelectionKey.OP_WRITE );
readKey.attach(new Client(this, channel));
} catch (IOException ioe) {
System.out.println ("Error accepting key");
logger.exiting("jamb.server.Server", "acceptKey");
private void readKey (SelectionKey readKey, int bufSize) {
logger.entering("jamb.server.Server", "readKey");
Client client = (Client) readKey.attachment();
try {
ByteBuffer byteBuffer = ByteBuffer.allocate(bufSize);
int nbytes = client.getChannel().read( byteBuffer );
byteBuffer.flip();
Charset charset = Charset.forName( "us-ascii" );
CharsetDecoder decoder = charset.newDecoder();
CharBuffer charBuffer = decoder.decode(byteBuffer);
String text = charBuffer.toString();
client.getInputBuffer().append(text);
if ( text.indexOf( "\n" ) >= 0 )
client.input();
} catch (IOException ioe) {
logger.warning("Unexpected quit...");
client.disconnect();
logger.exiting("jamb.server.Server", "readKey");
private void writeKey (SelectionKey writeKey) {
//logger.entering("jamb.server.Server", "writeKey");
Client client = (Client) writeKey.attachment();
if (!client.isConnected()) {
client.connect();
//logger.exiting("jamb.server.Server", "writeKey");From my own expierence with the NIO (Under Windows XP/ jdk1.4.1_01); you can't seem to set READ and WRITE at the same time.
The program flow I usually end up with for a echo server is:
When the selector.isAcceptable(): accept a connection; register for READs
In the read event; write the incoming characters to a buffer; register for a WRITE and add the buffer as an attachment.
In the write event; write the data to the socket If all the data was written; register for a READ; otherwise register for another WRITE so that you can write the rest.
Not sure if that the "proper" way; but it works well for me.
- Chris -
Shockwave Flash
Shockwave Flash 10.3 r181 — from file “Flash Player.plugin”.
Shockwave for Director
Adobe Shockwave for Director Netscape plug-in, version 11.6.0 — from file “DirectorShockwave.plugin”.
I'm wondering if it is how Safari does not list the entire version in it's plugin page, such as 11.6.0 instead of 11.6.0.r.626.
Also I have Looked in the plugins file for Safari and turned on the extension to show invisible extensions and it shows this:
DirectorShockwave.plugin 11.6.0r626
Flash Player.plugin 10.3 r181.34
I have also uninstalled and reinstalled just to see if that was the problem.When you run the plugin check, you should get a column with the full version number (here's Flash, for example, in the attached screen shot).
As for finding Safari plugins, I don't know how it works on MacOS; on Windows, Firefox will scan certain locations outside of its folders to pick up plugins that are not Firefox-specific. The plugin checker then will use the information that Firefox has gathered. -
Since upgrading two days ago to Firefox 8.0.1 I get this error message on 80% of the addresses I try to access:
Server not found
Firefox can't find the server at orders.tigerdirect.com
Check the address for typing errors such as
ww.example.com instead of
www.example.com
If you are unable to load any pages, check your computer's network
connection.
If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.
What's the problem with the upgrade?A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
See:
*https://support.mozilla.org/kb/Server+not+found
*https://support.mozilla.org/kb/Firewalls -
I can not activate my iphone 3gs after updating to ios 6.0.01. I tried connecting to the activating server by wifi and itune. Keep getting the same message"your iphone could not be activated because the activiation server is temporary unavailable". It could not read my Rogers iccid. I try to restore my phone on itune but it does not have the "restore" icon. Please help.
bladetibi wrote:
the same problem i have to......i have to go to my operator to solve my problem????and then i will be able to activate my iphone ???and have service????thx
See your Other Post on this Topic...
https://discussions.apple.com/message/20817908#20817908 -
Clean Access Server could not establish a secure connection
I have a OOB Real IP GW setup on v4.1.2
I seem to have a problem with the CAS connecting to the CAM although I have added the CAS to the CAM and can manage the CAS from the CAM.
I noticed while troubleshooting client authentication that the client was not being redirected to the logon web page and it had full access to the trusted network from the untrusted authentication vlan. I eventually figured out that if I change the CAS Filter Fallback method from Allow to ignore then it tries to authenticate the client. However the fact that the fallback is activated tells you that something is not right.
I have 2 problems:
A) The clients web page is redirected for authentication but it only lists the domain name in the URL and not the hostname or host IP. In the lab I do not have a DNS server and it would not help as it does not include the hostname in the URL anyway. How do I fix this or perhaps it's related to the 2nd problem.
B) When I manually change the URL by replacing the domain name with the IP of the CAS (untrusted OOB Real IP GW) then I get the following error message when logging on:
Network Error:
Clean Access Server could not establish a secure connection to Clean Access Manager at mydomain.com.
This could be due to one or more of the following reasons: 1) Clean Access Manager certificate has expired 2) Clean Access Manager certificate cannot be trusted or 3) Clean Access Manager cannot be reached.
Please report this to your network administrator.
I would guess the culprit is No 2 but surely the system can run on self signed certificates? I have an NTP server so time is in sync. I have even tried regenerating the cetificates on the CAM
& CAS.
Any ideas?To overcome problem B, I regenerated the SSL Certificates using the host IP address instead of the name for all the CAM & CAS appliances. This seems to have resolved this problem.
I also SSH'd from each of the CAS's to each of the CAM's from the CLI and it then prompts to permanently store the certificates. I'm not sure it this was necessary though. -
How do I get mail on my iPhone and computer to sync automatically, so e.g. messages read on one appear read on both? I am working in VN and the microsoft access server is in the USA.
If you created as an Exchange account on the iPhone (not IMAP or POP) and you have Push on it should all work smoothly; Reading a message on either client should mark the other read (it does on mine). Try deleting the account from the phone, rebooting the phone (to clear out old settings), then go to Settings/Mail,Contacts,Calendar, add an account and tap Microsoft Exchange and add the account back.
There is a fundamental difference between BB and iPhone that you should be aware of; on the BB you do not sync directly with Exchange; you sync with the RIM server which then syncs with your Exchange server. The iPhone syncs directly with Exchange using Microsoft's ActiveSync protocol. So in some ways they will behave differently. But ActiveSync should manage marking messages as read correctly. -
How to check whether a SMTP server is supporting Authentication or not
Hi All,
We are using Java Mail API 1.3.1/1.3.2 to send the messages. some of the SMTP servers that we use are supporting authentication and some of them are not.
As the SMTPTransport.supportsAuthentication() is not available only in Java mail API 1.4.1, we are identifying the SMTP server whether it is supporting authentication or not in the following way.
Socket clientSocket = null;
InetSocketAddress socketAddress = null;
OutputStream outStream = null;
InputStream inStream = null;
InputStreamReader inReader = null;
OutputStreamWriter outWritter = null;
try
clientSocket = new Socket();
socketAddress = new InetSocketAddress(host, port);
clientSocket.connect(socketAddress, timeout*1000); // convert timeout from second to miliseconds
// 1: now try to execute the given command by passing that on Out-Socket
outStream = clientSocket.getOutputStream();
outWritter = new OutputStreamWriter(outStream);
outWritter.write("ehlo localhost" +"\n");
outWritter.flush();
// 2:Read output of above command
inStream = clientSocket.getInputStream();
inReader = new InputStreamReader(inStream);
// This array limit would be fine to get "AUTH" extension of smtp server.
char[] arr = new char[16384];
StringBuilder strBuilder = new StringBuilder();
inReader.read(arr);
for(int i=0; i< arr.length; i++)
strBuilder.append(arr);
System.out.println(METHOD_NAME + "SMTP server response for ehlo localhost command ->"+strBuilder.toString());
// The output EHLO command comes like below :
// ehlo localhost
// 250-ap9058pc.us.oracle.com Hello ap614ses.us.oracle.com [130.35.33.43], pleased to meet you
// 250-ENHANCEDSTATUSCODES
// 250-PIPELINING
// 250-8BITMIME
// 250-SIZE
// 250-DSN
// 250-ETRN
// 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
// Since for XATUH ( like internal IP),
// we are not sure, so just checking for AUTH capability.
supported = strBuilder.indexOf("250-AUTH") >=0? true : false;
As shown in above code, we are issuing 'ehlo localhost' command to SMTP server, if the response i. 'strBuilder' contains '250-AUTH' then we are assuming that it is supporting authentication.
But for one SMTP server the 'strBuilder' value is showing as '220 mail.durofelguera.com ESMTP Service (Lotus Domino Release 8.5.2) ready at Thu, 16 Feb 2012 13:57:20 +0100' only which is socket connection output but not 'ehlo localhost' command output.
where as the telnet test output is showing correct only as below
# telnet mail.durofelguera.com 25
Trying 172.20.16.65...
Connected to mail.durofelguera.com.
Escape character is '^]'.
220 mail.durofelguera.com ESMTP Service (Lotus Domino Release 8.5.2) ready
at 0
ehlo localhost
250-mail.durofelguera.com Hello localhost ([172.20.15.209]), pleased to meet
yu
250-HELP
250-AUTH LOGIN
250-SIZE
250 PIPELINING
AUTH LOGIN
The question is why the 'strBuilder' is not showing 'ehlo localhost' conad output where as the telnet test results are showing correctly, what is going wrong here?
Is there any other way to check that whether SMTP server is supporting authentication or not?
Edited by: sarojak on Feb 19, 2012 10:11 PMThere are so many things wrong with your code, it's hard to know where to start...
Basically, the problem is not as simple as you think it is.
For example, some servers might not allow authentication until you've issued
the STARTTLS command.
These days, essentially all servers allow authentication. You're probably better
off just assuming the server supports. -
When I try to google websites OR even try to access my email I will be taken to a notice which states "Server Not Found" with several explanations with a TRY AGAIN button at the bottom. When I hit the try again button I am immediately taken to the web site or to my email. This happens constantly and very rarely can I access a web site or my email without this frame popping up.
This is a very generic error message.
What user you are trying to search. Are you using username, display name or email address when searching
Was any domain related changed done
What if that users tried to logon to sharepoint site.
Does this error occur with all the account when you click edit? If not, based on the error,
the user account which might be removed from Active Directory or renamed accidentally. Please have a check.
Try to follow below:
http://architectevangelist.wordpress.com/2010/12/07/sharepoint-2010-the-specified-user-or-domain-group-was-not-found/ -
Fatal error: Client does not support authentication protocol
requested by server; consider upgrading MySQL client in
/homepages/28/d74942468/htdocs/cosmic/sites/onlinemove/Connections/db.php
on line 9
This is the error that comes up on the server where the site
sits. The database is working on my local machine with the local
settings, but wont connect due to the above.
I think im using MySQL client 3.23 How do i upgrade?
I found this on MySQL site:
http://dev.mysql.com/doc/refman/5.0/en/old-client.html
I'm not sure how to edit the connection string to make it
accept the vaules.The_FedEx_Guy wrote:
> Fatal error: Client does not support authentication
protocol requested by
> server; consider upgrading MySQL client in
>
/homepages/28/d74942468/htdocs/cosmic/sites/onlinemove/Connections/db.php
on
> line 9
> I think im using MySQL client 3.23 How do i upgrade?
The MySQL client that the error refers to isn't the version
of MySQL,
but the MySQL library bundled with PHP. It sounds as though
your hosting
company has upgraded to MySQL 4.1 or higher, but is still
using PHP 4.
> I'm not sure how to edit the connection string to make
it accept the vaules.
You can't. It's the way that the user account passwords are
stored in
MySQL. You need to get the hosting company to upgrade to PHP
5 or to
reset the passwords in MySQL using the OLD_PASSWORD()
function. This
needs to be done by someone with top-level administrative
privileges on
the database.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Maybe you are looking for
-
JBO-25048: Operation getAllRowsInRange is invalid for a working set view ob
I'm new to JDeveloper, so please forgive my ignorance...but I'm having a problem creating a list binding in LOV mode. After placing the list of values attribute on the jsp and making changes in the List Binding Editor, I receive the following error w
-
OnePlus One: hardware accelerated mp4/h.264 not working in Firefox for Android
Videos being played via HTML5 player in Firefox for Android do not play correctly, because the hardware acceleration is not implemented correctly. Tested with latest version (14 oktober 2014); Fennec (33.0) It seems related to the GPU (Adreno 330). T
-
How to increase my internal speaker loud
product name ; apple speed ; 1.4 GHz Intel Core i5 memory and storage capacity 4 GB 1600 MHz DDR3.... my laptop is runing OS X YOSEMETI graphics ;Intel HD Graphics 5000 1536 MB the problem of my laptop is that my macbook isnt sounding as it should
-
Media Query not working...
My media query for screen size of a minimum of 480 px is not working. The Global CSS takes over. I can't find the reason why. It seems the brackets are in place correctly. Can anyone see where the problem might be? All the other queries work. tha
-
Recently, I started getting a security warning (website not trusted- could not verify the identity) for all secured websites I use to visit (with no issue). I have to make a security exception for all of them (sometimes, I am not even allowed to make