the-useless-one / pywerview

A (partial) Python rewriting of PowerSploit's PowerView
GNU General Public License v3.0
924 stars 114 forks source link

LDAPSearchError #26

Closed jamesbcook closed 7 years ago

jamesbcook commented 7 years ago

Hello,

When trying to run some of the modules I run into the following error:

pywerview get-netfileserver -w ACME -u john.smith -p hunter2 -t 192.168.1.2  

impacket.ldap.ldap.LDAPSearchError: Error in searchRequest -> 'referral': 0000202B: RefErr: DSID-0310082F, data 0, 1 access points
the-useless-one commented 7 years ago

Hi!

In the -w parameter, you must put the domain name in its long version, aka the post-Win2k UPN, and not in its Win2k compatible form. I talk about this here (go to the end of the "Functionalities" block). I'll put it bigger so that people don't miss it anymore.

Cheers,

Y

jamesbcook commented 7 years ago

wow, sorry about that. That's embarrassing.

the-useless-one commented 7 years ago

No problem ;)