ldap-preg_replace 0.9.4

Replace values of LDAP attributes online based on a regular expression
ldap-preg_replace - Usage message
  1 Screenshot
ldap-preg_replace is a Perl tool to modify LDAP attribute values using a regular expression.

Whats that?

It is a small tool written in perl that allows you to easily modifiy LDAP attribute values based on a regular expression (RegEx). Sometimes an administrator needs to modify many entries at once that fit some common criteria, for example remove every special character from the telephoneNumber attribute. This is the ideal chance to save time by using ldap-preg_replace.pl.

Regular expressions are patterns describing text systematics. For example, the pattern "/Number: d/" matches each string, that has the fixed string "Number: " followed by a digit.

Regular expressions (RegEx) are a simple but very powerful method to describe text. This allows for maximum flexibility to describe what exaclty you want to replace.

LDAP is a protocol used to communicate with directory servers such as OpenLDAP. Directory servers are database servers that store the data hierarchical instead of a tabular representation. This makes them the ideal choice for central user management, but also other demands.

How does it work?

It is very simple since it runs from command line. Just download it and call it without parameters. This will give you all options that can be set. Calling it with the "-h" parameter even gives some more advice.

Additionally, you can find a more detailed documentation in the release package.

last updated on:
April 23rd, 2009, 14:19 GMT
license type:
GPL (GNU General Public License) 
developed by:
Benedikt Hallinger
ROOT \ System \ Networking
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!
What's New in This Release:
  • New -A parameter
  • Added description of -A to README
  • Slightly changed default behavior:
read full changelog

Add your review!