# rom ..config.ldap import DEFAULT_PORT_LDAP, DEFAULT_PORT_LDAPS
from ..config.ldap import DEFAULT_TIMEOUT
-__version__ = '0.10.3'
+__version__ = '0.10.4'
LOG = logging.getLogger(__name__)
_ = XLATOR.gettext
if not ldap:
ldap = self.ldap_connection[inst]
- if self.verbose > 1:
+ if self.verbose > 2:
msg = _("Creating changes on {uri} to DN {dn!r}:").format(
uri=connect_info.url, dn=dn)
- LOG.debug(msg + '\n' + pp(changes))
+ msg += '\nobjectClasses:\n' + pp(object_classes)
+ msg += "\nAttributes:\n" + pp(target_entry)
if self.simulate:
LOG.info(_("Simulation mode - entry will not be created."))
LOG.debug(_('Creation successful.'))
return True
-
-
# -------------------------------------------------------------------------
def modify_entry(self, inst, dn, changes, ldap=None):
"""Mofifying an existing LDAP entry."""