Bamboo Authentication Error
Asked by Nihad Azimli:

I try to run bamboo task with the same groovy script several times. It works sometimes perfectly fine, however, sometimes I get following error message:

*System error 1326 has occurred.*   

*The user name or password is incorrect.*   

*The network connection could not be found.*   

*More help is available by typing NET HELPMSG 2250.*

Do you have any idea why sometimes script works perfectly fine and sometimes gives this kind of errror? Is there anyone who encountered this error before?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Other info, like connected nfs/samba ?

Or some other log errors?

Cheers,

Gonchik Tsymzhitov

comments: author: Nihad Azimli
body: |----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 9-Jan-2019 18:32:29  | D:\\obss\\var\\bamboo-home\\xml-data\\build-dir\\WEB-DTP-JOB1\>net use \\\\172.\*\*\*\*\*\*\*.48\\Users\\jiraadmin\\Downloads\\wwwroot_sample /user:jiraadmin \*\*\*\*\*\*\*\* |
| 09-Jan-2019 18:32:29 | System error 1326 has occurred.                                                                                                                                                |
| 09-Jan-2019 18:32:29 |                                                                                                                                                                                |
| 09-Jan-2019 18:32:29 | The user name or password is incorrect.                                                                                                                                        |
| 09-Jan-2019 18:32:29 |


author: Nihad Azimli
body: |----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
| 09-Jan-2019 18:32:29 | D:\\obss\\var\\bamboo-home\\xml-data\\build-dir\\WEB-DTP-JOB1\>net use \\\\172.\*\*\*\*\*\*\*.48\\Users\\jiraadmin\\Downloads\\wwwroot_sample /del /y |
| 09-Jan-2019 18:32:29 | The network connection could not be found.                                                                                                            |
| 09-Jan-2019 18:32:29 |                                                                                                                                                       |
| 09-Jan-2019 18:32:29 | More help is available by typing NET HELPMSG 2250.                                                                                                    |

THIS full log part of error and there is no other errror and I am not using Nfs/samba


author: Gonchik Tsymzhitov
body: Hi!

1. This command shows net use \\\\172.\*\*\*\*\*\*\*.48 connecting into private network nfs/smb drive.

Anyway, I suggest write a script with check connectivity. like ping before run it

And also use parameter persistence

<https://www.lifewire.com/net-use-command-2618096>

<https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2003/cc780011(v=ws.10>)

Hope it helps.

Cheers,

Gonchik Tsymzhitov


Tags: atlassian-marketplace