Git Product home page Git Product logo

dsfun's Introduction

DsFun

DsFun seeks to implement Microsoft Directory Services functions in C#. Much borrowed with love from pinvoke.net

This is mostly just to provide a quick implementation to show how it can be done in C#. This is not full featured. At some point I'll change it to take user input for the DC name/IP, but for now it defaults to 192.168.0.180.

There are already great tools to do this with Powershell and various other methods, but I wasn't aware of anything in C#. If there's interest, I'll add features, but really I just wanted to see how easy it was.

Functions

Implemented thus far are:

  1. DsGetDcName - returns the name of a DC in the domain. takes optional DC name and/or domain name
  2. DsEnumerateDomainTrusts - returns trust data for the domain.
  3. DsGetDCSiteCoverage - returns site names for all sites covered by DC. takes optional DC name
  4. DsGetDomainControllerInfo - retrieves information about the domain controller. takes a DC name and an optional domain name
  5. DsBindWithCred

More to come...

Usage

DsFun.exe
<enter an option from above>
<follow the prompts>
<this is a really simple program>

Precompiled binary is available at: DsFun.exe

Example

DsGetDcName & DsEnumerateDomainTrusts DsFun Options 1 & 2 DsGetDCSiteCoverage & DsGetDomainControllerInfo DsFun Options 4 & 23

dsfun's People

Contributors

bensmith83 avatar

Stargazers

Joey Pistone avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.