Skip to content

Instantly share code, notes, and snippets.

@akeinhell
Created March 17, 2016 10:00
Show Gist options
  • Save akeinhell/d4b06a5015fbaedab7fe to your computer and use it in GitHub Desktop.
Save akeinhell/d4b06a5015fbaedab7fe to your computer and use it in GitHub Desktop.
ldap pass
$encoded_newPassword = "{SHA}" . base64_encode( pack( "H*", sha1( $newPassword ) ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment