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

User or Computer not in AD #59

merged 1 commit into from Mar 7, 2019


None yet
2 participants
Copy link

webr0ck commented Mar 6, 2019

LDAPUser and LDAPPassword doesn't work, if you use Sharphound at a computer(user) outside of AD.

Problem is in GetDomain:
var context = new DirectoryContext(DirectoryContextType.Domain, domainName); - Api tryed connect this your user credentials. You can see that in Wireshark.

If we use LdapUser, LdapPassword true string is:
var context = new DirectoryContext(DirectoryContextType.Domain, domainName, _options.LdapUser, _options.LdapPass);


This comment has been minimized.

Copy link

rvazarkar commented Mar 7, 2019

Good catch! I'll merge this in and make some additional changes to make sure it works in all cases

@rvazarkar rvazarkar merged commit dd2d4d1 into BloodHoundAD:master Mar 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.