Fetch сервер сообщает об ошибке err logon failure unknown user name or bad password

 

Иван Петров

Пользователь

Сообщений: 1
Rating:

3

Authority:

0

Регистрация: 24.04.2023

Добрый день!
В клиенте настроено два ящика, на один перестала работать авторизация:
FETCH — Сервер сообщает об ошибке: -ERR Logon failure: unknown user name or bad password.
С УЗ и паролем все ок, смена пароля не помогла.
Второй ящик под другой УЗ работает.
Подскажите в чем может быть дело?

 

SanSmail

Новичок

Сообщений: 2
Баллов: 1
Rating:

3

Authority:

0

Регистрация: 26.10.2017

#2


0
 

24.04.2023 18:31:38

Скорее всего на стороне почтового сервиса необходимо создать Пароль для приложения.
На mail.ru с таким сталкивался.
У Яндекса вроде тоже ввели

Solution:
I propose 3 fixes for 2 different scenarios:
If you have both computers (server & computer holding the xml) hooked up using domain authentication: create a domain user and give it rights to access that file in the computer holding the xml.
Visit the dedicated
forum
to
share
,
explore
and
talk
to experts about Microsoft Teams.

Logon failure: unknown user name or bad password


Solution 1:

Please try below.

  NetworkCredential myCred = new NetworkCredential(GlobalVariablesBO.UserID, GlobalVariablesBO.Password, GlobalVariablesBO.Domain);
            WebClient webclient = new WebClient();
            webclient.Credentials = myCred;
            string tempFileForStorage = Path.Combine(Path.GetTempPath(), Path.GetFileName(dBO.SPFileName));
            sharepointUpload.SaveAs(tempFileForStorage);
            webclient.UploadFile("ServerPath", "PUT", tempFileForStorage);
            webclient.Dispose();
            File.Delete(tempFileForStorage);


Solution 2:

It looks like more of configuration issue . Make sure that Website hosting server IIS User should have read/write permission to the server where you are uploading files .


Solution 3:

Please try below code and see if the file is geeting sabed in tempFileForStorage location. This path is C://Temp

  if (this.flUpload.HasFile)
                    {
                     string tempFileForStorage = Path.Combine(Path.GetTempPath(), flUpload.FileName
                        flUpload.SaveAs(tempFileForStorage);
                    } 

POP3 -err logon failure: unknown user name or bad, Please check the user’s UPN in ADUC. a. Click the View tab and select the Advanced Features. b. Find the user, right click to choose properties and find …

System.IO Exception: Logon failure: unknown user name or bad password


Solution:

I propose 3 fixes for 2 different scenarios:

  1. If you have both computers (server & computer holding the xml) hooked up using domain authentication: create a domain user and give it rights to access that file in the computer holding the xml.

  2. Any other situation than the one mentioned above: create a user with the same name and password on both computers and set that as the one impersonated by the application pool.

  3. (UNSECURE) Works in any scenario, without impersonation: put the XMLs in a network share that allows anonymous access.

Server denied POP3 access for the given username and, Use outlook.office365.com for your incoming server setting and use smtp.office365.com for your outgoing SMTP server setting. The security type …

Runas — 1326: Logon failure: unknown user name or bad password


Solution 1:

The «user» parameter expects user credentials that consist of a user name and an (optional) domain name, you can’t use an IP address as you are attempting.

From

runas /?

:

<UserName> should be in form USER@DOMAIN or DOMAINUSER

If you have no domain, you can use the target computer’s name so that it knows to look there for the credential store to check against.

As to including the password so you don’t have to type it, no you can’t do that, as it is considered insecure.

Perhaps check out these SU questions related to dealing with that:

  • How to run the «runas» command without writing the password
  • Run program as different, password protected user in Win 7 wo/ PW prompt


Solution 2:

If you want to specify username and password on command-line you can try PsExec from Syinternals/Microsoft.


Solution 3:

As I am not allowed to comment yet…
Is this an Active Directory environment , or do you try to access a User or Group from an other computer.

If it’s an AD environment i suggest NOT to use an IP but the domain name (NetBios name is also OK)

I just tried this out on my own an it worked out. (result is german)

 C:Usersuser>runas /noprofile /user:testuser@foobar.com notepad
Geben Sie das Kennwort für "testuser@foobar.com" ein:
Es wird versucht, notepad als Benutzer "testuser@foobar.com" zu starten...
C:Usersuser>runas /noprofile /user:foo_bartestuser notepad
Geben Sie das Kennwort für "foo_bartestuser" ein:
Es wird versucht, notepad als Benutzer "foo_bartestuser" zu starten...
C:Usersuser>runas /noprofile /user:foobar.comtestuser notepad
Geben Sie das Kennwort für "foobar.comtestuser" ein:
Es wird versucht, notepad als Benutzer "foobar.comtestuser" zu starten...

«Logon failure: unknown user name or bad password», If you are using the DOMAINUsername format for your credentials, make sure you are entering the Pre-Windows 2000 logon name, if it is different …

POP3 -err logon failure: unknown user name or bad password


Solution 1:

Hi,

Are you using a wildcard certificate for POP3? If so, please use a single subject certificates or a SAN certificates instead. After assigning certificate, you also need to use the Set-PopSettings cmdlet to configure the FQDN that clients use to connect to
the POP3 service.

 Set-PopSettings -X509CertificateName <domain FQDN>


Regards,

Dawn Zhou



Please remember to

mark the replies as answers

if they helped. If you have feedback for TechNet Subscriber Support, contact
tnsf@microsoft.com.


Click

here

to learn more. Visit the dedicated

forum

to

share

,

explore

and

talk

to experts about Microsoft Teams.


Solution 2:

This last thing did the trick, but I really did many things in the process.

1. I created a new self signed certificate that only had the fqdn. It added some others, but I deleted as many as it would let me. Oddly it would not let me delete owa.<domain>. As part if the certificate creation I assigned it to POP and IMAP

2. I delete the previous certificate that included a wildcard which I did not delete for that certificate.

3. I restarted the POP3 services, tested and not change.

4. I did a get-popsettings | format-list and noticed that the x509certificatename was only the machine name, and did not include the domain. I used the Set-Popsettings as you instructed and put the entire FQDN in.

5. I restarted the POP3 services and tested. Using only the user account did not work. However using the UPN, it worked.

Thank you for your help.

POP3 access to outlook.com failing from Microsoft, Since Tuesday 12th January 2021 POP3 email retrieval from Outlook.com using Outlook 2010 has been failing with «-ERR Logon failure: …

Problem Description:

Microsoft SQL database: [][State =01000][Error=1326][Microsoft][ODBC SQL Server Driver] [SQL Server]”Logon failure: unknown user name or bad password.

sql server error 1326 windows 10
sql server error 17
named pipes provider: could not open a connection to sql server (53)

Cause of the issue

Error 1326 means “Logon failure: unknown user name or bad password.” This error is raised because the IIS Service does not have any rights to use the named pipe.

Or It’s possible, even likely, that SQL Express is not listening on port 1433. By default, we use dynamic TCP ports, which is why you need SQL Browser to be running in the first place. Check out http://support.microsoft.com/kb/914277 which it a different take on enabling remote connections through the firewall.

Explanation:

A client must be validated by the Windows NT server before being granted access to a Windows NT named pipe. This is usually performed through a

1.Workgroups-style validation in which the client and server produce identical identities and passwords

2. the domain method in which both the client and server are domain members.

IIS produces a Windows NT ID named IUSR machine-name (where machine name is the name of the Windows NT server) and adds that user to the Guest local group during the setup process. This Windows NT account is used to execute the IIS service.

IIS employs the Windows NT account IUSR machine-name if the connection to IIS is anonymous, and any network activity performed by IIS is done under this account ID.

Named pipes connections work and validation is successful if the SQL server and IIS are on the same server.
If SQL is installed on a different server than IIS, the IUSR machine name account must be confirmed on the Windows NT server where SQL is installed.

Solution for Resolving The Problem

This account must be verified by the server hosting Microsoft SQL Server in order for the connection to occur properly. If this account is not verified, then the connection fails and provides only the line number in the script file of the attempted connection opening.

To resolve this problem, you can use one of the following options:

  1. Enable the Windows NT ID Guest.
  2. Make the Windows NT user, IUSR_Machine-Name, a member of the domain where SQL server resides.
  3. Use the account information from Internet Service Manager to set up a local user account on the Windows NT Server that hosts SQL Server.
  4. Make sure named pipes provider is enabled for error relating to “named pipes provider: could not open a connection to sql server”
  5. Make sure firewall exceptions are added for sql server for remote access if ” a network-related or instance-specific error in sql server 2014 error 26 ” or ” microsoft sql server error 53 “

Try below if above does not resolve if 2005 version

  1. Using the SQL Server 2005 Surface Area Configuration tool, enable remote connections to accept both local and remote connections.
  2. Using SQL Server Configuration Manager, configure the same TCP for both SQLSERVER(EXPRESS) and SQL Native Client port protocols. Use the default port (1433) if possible, but it must be the same for both the Server and Client components. Remember to re-initialize both the SQL Server and SQL Browser services.
  3. Add sqlservr.exe and sqlbrowser.exe as exceptions to your firewall (which was the source of the problem). In SQL Server 2005, you don’t need to use the netsh command.

Before installing the SQL Native Client, I was able to login remotely using the SQL Compact Edition that came with the LAP. The only thing I didn’t like about it was that I couldn’t utilize a Trusted Connection and had to rely on the SQL sa user and password instead.

  • #1

Добрый вечер! Почему то один из почтовых клиентов не подключается по pop3 к почтовому ящику на exchange server 2016. Включил protocol log а там

ERR Logon failure: unknown user name or bad password.»»;Msg=Proxy::1995:SSL;ErrMsg=»»ProxyFailed:System.Net.Sockets.SocketException — Попытка установить соединение была безуспешной, т.к. от другого компьютера за требуемое время не получен нужный отклик, или было разорвано уже установленное соединение из-за неверного отклика уже подключенного компьютера 172.30.0.93:1995″»;Excpt=»»Попытка установить соединение была безуспешной, т.к. от другого компьютера за требуемое время не получен нужный отклик, или было разорвано уже установленное соединение из-за неверного отклика уже подключенного компьютера 172.30.0.93:1995

1596551565450.png

Последнее редактирование модератором: 04.08.2020

I want to connect xml file in remote server. I wrote my code like this:

 string XMLPATH = @"\10.222.54.141c$DataCLCasinolink30BuildFilesLogging980NoLog4NetFile.UnitTest.Tests.nunit-results.xml";
        FileWebRequest request = (FileWebRequest)FileWebRequest.Create(XMLPATH);
        request.Credentials = new NetworkCredential("administrator", "Igtcorp123");
        FileWebResponse response = request.GetResponse() as FileWebResponse;
        Stream stReader = response.GetResponseStream();
        XmlTextReader reader = new XmlTextReader(stReader);
        int count = 100;
        while (reader.Read())
        {
            if (reader.NodeType == XmlNodeType.Element)
            {
                if (reader.Name == "test-case")
                {

                    //Console.WriteLine("testcase name:" + reader.GetAttribute("name"));
                    Console.WriteLine("testcase info");
                    Console.WriteLine("name: " + reader.GetAttribute("name").ToString());
                    //Console.WriteLine("success: " + reader.GetAttribute("success").ToString());
                    Console.WriteLine("------------------------------------");
                }
            }
        }

I got a error: «logon failure: unknown user name or bad».
and I try to do this:

  1. input the address (10.222.54.141c$DataCLCasinolink30BuildFilesLogging980NoLog4NetFile.UnitTest.Tests.nunit-results.xml) to the address bar,and open. A dialog show up let me add user name and password. I typed in right word, and I successfully accessed the file.
  2. I run the code above. I successfully got the data.
  3. I try this program in another computer. They can access the address, but the program does not work.

I am confused about this? Why does this happen?

Now I deployed my project to the server, I can successfully get my data in localhost address(http://localhost:61547/) on server. But I can not get data in my computer remotely through addr: http://10.222.54.140:8080/. What happen? Can any one help me? Much appreciate.

asked Apr 20, 2012 at 8:47

Jack Zhang's user avatar

Jack ZhangJack Zhang

2,5155 gold badges25 silver badges34 bronze badges

3

Try changing the app.config file a bit:

<system.net>
    <defaultProxy useDefaultCredentials="false">
      <proxy usesystemdefault="true"/>
    </defaultProxy>
  </system.net>

This might solve the problem.

You can add this as below in the Web.config file:

<?xml version="1.0"?>

<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->

<configuration>
  <connectionStrings>
    <add name="ApplicationServices"
         connectionString="data source=.SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"
         providerName="System.Data.SqlClient" />
  </connectionStrings>

  <system.net>
    <defaultProxy useDefaultCredentials="false">
      <proxy  usesystemdefault="True"/>
    </defaultProxy>  
  </system.net>

  <system.web>
    <compilation debug="true" targetFramework="4.0" />

    <authentication mode="Forms">
      <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
    </authentication>

answered Apr 20, 2012 at 11:07

Milee's user avatar

MileeMilee

1,1911 gold badge11 silver badges29 bronze badges

6

  • Fetch сервер сообщает об ошибке err invalid command
  • Fetch сервер сообщает об ошибке err internal server error
  • Fetch сервер сообщает об ошибке err auth username and password not accepted
  • Fetch сервер сообщает об ошибке err auth login failure or pop3 disabled try later
  • Fetch сервер сообщает об ошибке err auth authentication failed