Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Decode base64 strings in OpenLDAP LDIF output

License

NotificationsYou must be signed in to change notification settings

groland11/ldif-decode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decode base64 strings in OpenLDAP LDIF output.

Features

  • Takes input from LDIF file or stdin (standard input).
  • Decodes single and multiline base64 encoded LDAP attribute values.
  • Prints error messages to stderr (standard error output).
  • All other lines are kept unchanged.

Usage

ldif-decode.py file.ldif

or

ldapsearch | ldif-decode.py

Examples

$ ldapsearch -LLL givenName...givenName:: RMO2cnRl...$ ldapsearch -LLL givenName | ldif-decode.py...givenName:: Dörte...
$ ldapsearch -LLL userPassword...userPassword:: e0NSWVBUfSQ2JHJvdW5kcz0yMDAwMDAwJEw0aFpTT3RoL2tpN0wkaDFXQ1Fxejl CWkV2cURRNVR2aGVoUU45L3BxL21zMEZnTzJqWEc5UlBWVnU4SVRjNVg3eE13MEJZSGNrOG1veFA1 S2thVmhQOVhvQVBDQUIueGRkdjA=...$ ldapsearch -LLL userPassword | ldif-decode.py...userPassword:: {CRYPT}$6$rounds=2000000$L4hZSOth/ki7L$h1WCQqz9BZEvqDQ5TvhehQN9/pq/ms0FgO2jXG9RPVVu8ITc5X7xMw0BYHck8moxP5KkaVhP9XoAPCAB.xddv0...

About

Decode base64 strings in OpenLDAP LDIF output

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp