ldap-preg_replace 0.9.4

Replace values of LDAP attributes online based on a regular expression

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!

What's new in ldap-preg_replace 0.9.4:

  • New -A parameter
  • Added description of -A to README
  • Slightly changed default behavior:
Read full changelog
send us
an update
GPL (GNU General Public License) 
Benedikt Hallinger
ROOT \ System \ Networking
1 ldap-preg_replace Screenshot:
ldap-preg_replace - Usage message
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


#LDAP attribute #regular expression #replace values #LDAP #attribute #regexp #Perl

Add your review!