Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR LDAP SERVER DOWN #1

Open
grglzrv opened this issue Apr 18, 2020 · 5 comments
Open

ERROR LDAP SERVER DOWN #1

grglzrv opened this issue Apr 18, 2020 · 5 comments

Comments

@grglzrv
Copy link

grglzrv commented Apr 18, 2020

Hi I got this error msg

ldap.SERVER_DOWN: {'desc': "Can't contact LDAP server", 'errno': 107, 'info': 'Transport endpoint is not connected'}
I use python version 3.6
command - python3 vmware_vcenter_cve_2020_3952.py my_subdomain.domain_name.com youhacked test123

note! the ssl cert of my domain is expired
but I put this option into python script
ldap.set_option( ldap.OPT_X_TLS_ALLOW, ldap.OPT_X_TLS_NEVER ) , but again without success

i have installed these python packages below

docopt==0.6.2
gpg==1.10.0
ldap3==2.6.1
pyasn1==0.4.8
pyasn1-modules==0.2.8
pyldap==3.0.0.post1
python-ldap==3.2.0
python3-ldap==0.9.8.4
rpm==4.14.2
ssh-ldap-pubkey==1.3.2

@bedenko
Copy link

bedenko commented Apr 20, 2020

Can you ping vCenter server?

@grglzrv
Copy link
Author

grglzrv commented Apr 21, 2020

Nope, I got timeout

Request timeout for icmp_seq 0 .. 1 .. 2 etc

but I can open it via web browser without any problem

@bedenko
Copy link

bedenko commented Apr 21, 2020

and URL in web browser is the same as the address that is being pinged?

Cause it looks like DNS problem.

@grglzrv
Copy link
Author

grglzrv commented Apr 21, 2020

Yeah the same domain, I use domain name, i am testing it with public subdomain for example: esxi.example.com, also I use reverse proxy to forward the traffic to the internal VMware IP and port. is it may be the cause?

@bedenko
Copy link

bedenko commented Apr 21, 2020

probably. Try to execute the script from internal network (behind proxy)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants