[Date Prev][Date Next] [Chronological] [Thread] [Top]

ldapmodify support for LDIF "control:" tag (ITS#2060)

Full_Name: David Steck
Version: -devel
OS: Win2K
URL: ftp://ftp.openldap.org/incoming/steck-020830.patch
Submission from: (NULL) (

ldapmodify does not support the "control:" tag as required by rfc2849.  This
patch adds support for it.  Note: Some ldapmodify options (like -M) cause
default controls to be set.  If you specify a control with an ldap_modify
operation, the default controls are not applied.  Therefore we add any default
controls to the list of controls attached to the ldap_modify call.

Also changed some strdup() calls to ber_strdup() to be consistent with other
ber_strdup and ber_memfree calls.  (It's important in a Windows dynamic

The patch is located in ftp.openldap.org/incoming/steck-020830.patch