Code Monkey home page Code Monkey logo

ssha-passwordhasher's Introduction


This project is a fork of http://code.google.com/p/hashing-password-filter/ - with following changes: 

* generates OpenLDAP-compliant Salted SSHA (SHA-1) Hash in "userPassword" attribute
* 8-Byte (urandom) Salt
* uses Wincrypt insted of own SHA1-Implementation
* removed GoogleApps integration. See http://code.google.com/p/hashing-password-filter/ if you need it.

Installation

Information required:

* User name and password of a non Administrator account on the active directory machine (syncAppUser)
* User name and password of an account with read privilege of the Active directory and write privilege of the custom field “hashedPassword” of the user entries. This privilege can be given sing the “Delegate controls” wizard of the Active Directory Users and Computers" mmc snapin

Installation steps:

* Install Unix-Services for Windows Schema Extension on your AD-Controllers (provides userPassword Attribute)
* Copy the filter (HashingPasswordFilter.dll) in c:\windows\system32
* execute "rundll32 HashingPasswordFilter.dll" and restart the Machine.
* Check the installation by clicking start -> type "msinfo32" -> "Software Environment" -> "Loaded Modules" -> should see HashingPasswordFilter in the list
* Register the filter using the allegated reg file (HashingPasswordFilter.reg)
* Create a User and add the following special permission to syncAppUser using "Domain Controller Security Policy"
  - Allow Log On Locally
  - Log on as a batch job
* Copy the accluded ini to the ProgramData folder ("C:\Documents and Settings\All Users\Application Data" under windows server 2003)
* Modify the copy of the ini file with your data
* Make it readable only by administrators account
* Activate the option "User must change password at next logon" for all the accounts to sync
* Restart the machine
* Check the installation by looking inside the filter log (C:\Documents and Settings\All Users\Application Data\HashingPasswordFilter.log)

ssha-passwordhasher's People

Watchers

 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.