Changes

Jump to: navigation, search

stoney core: OpenLDAP ldapseach and replace

120 bytes removed, 12:10, 14 December 2020
/* Search an replace - Replace a section (part) of an attribute - Variable definitions */
<source lang='bash'>
# Set the following bash variables
ldap_attribute="sstMailFromdescription" # The attribute we're interested in. For example: sstMailFromdescriptionldap_attribute_old="Support stepping stone GmbH <support@stepping-stone.ch>" # Original (old) value of the attribute.ldap_attribute_new="Support stepping stone AG <support@stepping-stone.ch>" # The new value, that the original (old) value of the attribute is to be replaced with.ldap_bind_password='' # The password of "cn=Manager,o=stepping-stone,c=ch"
# Don't change these bash variables
3,368
edits