# ucr get directory/manager/cmd/debug/level
0
# ucr set directory/manager/cmd/debug/level=4
Setting directory/manager/cmd/debug/level
# ucr get directory/manager/cmd/debug/level
4
# DATELOG="$(date +%d.%m.%y\ %H:%M:)"
# echo $DATELOG
21.08.18 15:54:
# udm users/user create --ignore_exists --position cn=users,$(ucr get ldap/base) --set username=testtest --set lastname=test --set password=everwhat --append objectFlag=hidden
E: Option argument of type 'NoneType' is not iterable is not valid
# DEBUG_INIT_LINE="$(awk '/'"${DATELOG}".*DEBUG_INIT'/{ print NR; exit }' /var/log/univention/directory-manager-cmd.log)"
# echo $DEBUG_INIT_LINE
533
# tail -n +$DEBUG_INIT_LINE /var/log/univention/directory-manager-cmd.log
21.08.18 15:54:32.976 DEBUG_INIT
21.08.18 15:54:32.976 ADMIN ( INFO ) : daemon [11050] forked to background
21.08.18 15:54:33.028 ADMIN ( INFO ) : daemon [11050] new connection [11051]
21.08.18 15:54:33.028 ADMIN ( PROCESS ) : daemon [11050] [11051] Calling univention-directory-manager
21.08.18 15:54:33.028 ADMIN ( ALL ) : daemon [11050] [11051] arglist: ['/usr/sbin/udm', 'users/user', 'create', '--ignore_exists', '--position', 'cn=users,dc=ndgit,dc=intranet', '--set', 'username=testtest', '--set', 'lastname=test', '--set', 'password=everwhat', '--append', 'objectFlag=hidden']
21.08.18 15:54:33.039 ADMIN ( INFO ) : using cn=admin,dc=ndgit,dc=intranet account
21.08.18 15:54:33.043 LDAP ( INFO ) : establishing new connection with retry_max=11
21.08.18 15:54:33.047 LDAP ( INFO ) : bind binddn=cn=admin,dc=ndgit,dc=intranet
21.08.18 15:54:33.051 ADMIN ( INFO ) : ucr_overwrite_properties: found variable: directory/manager/web/modules/users/user/properties/homePostalAddress/syntax
21.08.18 15:54:33.051 ADMIN ( INFO ) : ucr_overwrite_properties: found property
21.08.18 15:54:33.051 ADMIN ( INFO ) : ucr_overwrite_properties: set property attribute syntax to postalAddress
21.08.18 15:54:33.052 ADMIN ( INFO ) : ucr_overwrite_properties: get property attribute: <class 'univention.admin.syntax.postalAddress'>
21.08.18 15:54:33.052 ADMIN ( INFO ) : ucr_overwrite_properties: get property attribute (type): <type 'type'>
21.08.18 15:54:33.052 ADMIN ( INFO ) : modules update_extended_options: LANG=None
21.08.18 15:54:33.052 LDAP ( INFO ) : uldap.search filter=(&(objectClass=univentionUDMOption)(univentionUDMOptionModule=users/user)) base=cn=univention,dc=ndgit,dc=intranet scope=sub attr=[] unique=0 required=0 timeout=-1 sizelimit=0
21.08.18 15:54:33.052 LDAP ( INFO ) : uldap.search filter=(&(objectClass=univentionUDMProperty)(univentionUDMPropertyModule=users/user)(univentionUDMPropertyVersion=2)) base=cn=univention,dc=ndgit,dc=intranet scope=sub attr=[] unique=0 required=0 timeout=-1 sizelimit=0
21.08.18 15:54:33.053 ADMIN ( INFO ) : modules update_extended_attributes: LANG = None
21.08.18 15:54:33.053 ADMIN ( INFO ) : update_extended_attributes: extended attribute (LDAP): {'univentionUDMPropertyLayoutDisable': ['1'], 'univentionUDMPropertyValueMayChange': ['1'], 'cn': ['objectFlag'], 'univentionUDMPropertyTranslationShortDescription;entry-de-de': ['Univention Objekt-Flag'], 'univentionUDMPropertyShortDescription': ['Univention object flag'], 'objectClass': ['top', 'univentionUDMProperty', 'univentionObject'], 'univentionUDMPropertyModule': ['computers/windows', 'users/user', 'computers/ubuntu', 'computers/domaincontroller_slave', 'computers/windows_domaincontroller', 'groups/group', 'computers/linux', 'computers/domaincontroller_master', 'computers/trustaccount', 'computers/ipmanagedclient', 'computers/macos', 'computers/memberserver', 'computers/domaincontroller_backup'], 'univentionObjectType': ['settings/extended_attribute'], 'univentionUDMPropertyTranslationLongDescription;entry-de-de': ['Flags an Objekten definieren'], 'univentionUDMPropertySyntax': ['ObjectFlag'], 'univentionUDMPropertyVersion': ['2'], 'univentionUDMPropertyLongDescription': ['Define flags for an object'], 'univentionUDMPropertyObjectClass': ['univentionObject'], 'univentionUDMPropertyCLIName': ['objectFlag'], 'univentionUDMPropertyValueNotEditable': ['0'], 'univentionUDMPropertyLdapMapping': ['univentionObjectFlag']}
21.08.18 15:54:33.053 ADMIN ( INFO ) : modules update_extended_attributes: LANG = None
21.08.18 15:54:33.053 ADMIN ( INFO ) : update_extended_attributes: extended attribute (LDAP): {'cn': ['UniventionPasswordSelfServiceEmail'], 'objectClass': ['top', 'univentionUDMProperty', 'univentionObject'], 'univentionUDMPropertyModule': ['users/user'], 'univentionUDMPropertyLayoutTabName': ['Password recovery'], 'univentionUDMPropertyTranslationLongDescription;entry-de-de': ['An diese E-Mail-Adresse wird w\xc3\xa4hrend der Passwort-Wiederherstellung eine Mail verschickt. Der Mail-Versand steht dem Benutzer nur zur Verf\xc3\xbcgung, wenn dieser vom Administrator eingerichtet und freigeschaltet wurde.'], 'univentionUDMPropertyVersion': ['2'], 'univentionUDMPropertyLdapMapping': ['univentionPasswordSelfServiceEmail'], 'univentionUDMPropertyObjectClass': ['univentionPasswordSelfService'], 'univentionUDMPropertyLayoutTabAdvanced': ['0'], 'univentionUDMPropertyValueNotEditable': ['0'], 'univentionUDMPropertyLayoutOverwriteTab': ['0'], 'univentionUDMPropertyDoNotSearch': ['0'], 'univentionUDMPropertyTranslationShortDescription;entry-de-de': ['E-Mail-Adresse'], 'univentionUDMPropertySyntax': ['emailAddress'], 'univentionUDMPropertyMultivalue': ['0'], 'univentionUDMPropertyDeleteObjectClass': ['0'], 'univentionUDMPropertyValueMayChange': ['1'], 'univentionUDMPropertyShortDescription': ['E-mail address'], 'univentionObjectType': ['settings/extended_attribute'], 'univentionUDMPropertyLongDescription': ['During the password recovery process an e-mail is sent to the specified e-mail address. Password recovery via e-mail is only available for users if configured and enabled by the administrator.'], 'univentionUDMPropertyTranslationTabName;entry-de-de': ['Passwort-Wiederherstellung'], 'univentionUDMPropertyValueRequired': ['0'], 'univentionUDMPropertyCLIName': ['PasswordRecoveryEmail'], 'univentionUDMPropertyLayoutFullWidth': ['1']}
21.08.18 15:54:33.053 ADMIN ( INFO ) : modules update_extended_attributes: custom fields init for tab Password recovery
21.08.18 15:54:33.053 ADMIN ( INFO ) : modules update_extended_attributes: LANG = None
21.08.18 15:54:33.054 ADMIN ( INFO ) : update_extended_attributes: extended attribute (LDAP): {'cn': ['UniventionPasswordSelfServiceMobile'], 'objectClass': ['top', 'univentionUDMProperty', 'univentionObject'], 'univentionUDMPropertyModule': ['users/user'], 'univentionUDMPropertyLayoutTabName': ['Password recovery'], 'univentionUDMPropertyTranslationLongDescription;entry-de-de': ['An diese Mobilfunknummer wird w\xc3\xa4hrend der Passwort-Wiederherstellung eine SMS verschickt. Der SMS-Versand steht dem Benutzer nur zur Verf\xc3\xbcgung, wenn dieser vom Administrator eingerichtet und freigeschaltet wurde.'], 'univentionUDMPropertyVersion': ['2'], 'univentionUDMPropertyLdapMapping': ['univentionPasswordSelfServiceMobile'], 'univentionUDMPropertyObjectClass': ['univentionPasswordSelfService'], 'univentionUDMPropertyLayoutTabAdvanced': ['0'], 'univentionUDMPropertyValueNotEditable': ['0'], 'univentionUDMPropertyLayoutOverwriteTab': ['0'], 'univentionUDMPropertyDoNotSearch': ['0'], 'univentionUDMPropertyTranslationShortDescription;entry-de-de': ['Mobilfunknummer'], 'univentionUDMPropertySyntax': ['phone'], 'univentionUDMPropertyMultivalue': ['0'], 'univentionUDMPropertyDeleteObjectClass': ['0'], 'univentionUDMPropertyValueMayChange': ['1'], 'univentionUDMPropertyShortDescription': ['Mobile phone number'], 'univentionObjectType': ['settings/extended_attribute'], 'univentionUDMPropertyLongDescription': ['During the password recovery process a SMS is sent to the specified mobile phone number. Password recovery via SMS is only available for users if configured and enabled by the administrator.'], 'univentionUDMPropertyTranslationTabName;entry-de-de': ['Passwort-Wiederherstellung'], 'univentionUDMPropertyValueRequired': ['0'], 'univentionUDMPropertyCLIName': ['PasswordRecoveryMobile'], 'univentionUDMPropertyLayoutFullWidth': ['1']}
21.08.18 15:54:33.054 ADMIN ( INFO ) : modules update_extended_attributes: LANG = None
21.08.18 15:54:33.054 ADMIN ( INFO ) : update_extended_attributes: extended attribute (LDAP): {'cn': ['networkAccessUsers'], 'objectClass': ['top', 'univentionUDMProperty', 'univentionObject'], 'univentionUDMPropertyModule': ['users/user'], 'univentionUDMPropertyLayoutTabName': ['RADIUS'], 'univentionUDMPropertyTranslationLongDescription;entry-de-de': ['Soll der Zugriff per RADIUS (802.1x) f\xc3\xbcr diesen Benutzer erlaubt werden.'], 'univentionUDMPropertyLongDescription': ['Allow access via RADIUS (802.1x) for this user.'], 'univentionUDMPropertyLdapMapping': ['univentionNetworkAccess'], 'univentionUDMPropertyObjectClass': ['univentionNetworkAccess'], 'univentionUDMPropertyLayoutTabAdvanced': ['0'], 'univentionUDMPropertyValueNotEditable': ['0'], 'univentionUDMPropertyDoNotSearch': ['1'], 'univentionUDMPropertyTranslationShortDescription;entry-de-de': ['Netzwerkzugriff erlaubt'], 'univentionUDMPropertySyntax': ['boolean'], 'univentionUDMPropertyLayoutPosition': ['1'], 'univentionUDMPropertyMultivalue': ['0'], 'univentionUDMPropertyDeleteObjectClass': ['1'], 'univentionUDMPropertyValueMayChange': ['1'], 'univentionUDMPropertyShortDescription': ['Allow network access'], 'univentionObjectType': ['settings/extended_attribute'], 'univentionUDMPropertyVersion': ['2'], 'univentionUDMPropertyValueRequired': ['0'], 'univentionUDMPropertyCLIName': ['networkAccess']}
21.08.18 15:54:33.054 ADMIN ( INFO ) : modules update_extended_attributes: custom fields init for tab RADIUS
21.08.18 15:54:33.054 ADMIN ( INFO ) : modules update_extended_attributes: LANG = None
21.08.18 15:54:33.054 ADMIN ( INFO ) : update_extended_attributes: extended attribute (LDAP): {'cn': ['serviceprovider'], 'objectClass': ['top', 'univentionUDMProperty', 'univentionObject'], 'univentionUDMPropertyModule': ['settings/usertemplate', 'users/user'], 'univentionUDMPropertyLayoutTabName': ['Account'], 'univentionUDMPropertyTranslationLongDescription;entry-de-de': ['Zulassen des Benutzer f\xc3\xbcr die angegebenen Service Provider'], 'univentionUDMPropertyLongDescription': ['Enable user to use the specified service providers'], 'univentionUDMPropertyLdapMapping': ['enabledServiceProviderIdentifier'], 'univentionUDMPropertyObjectClass': ['univentionSAMLEnabled'], 'univentionUDMPropertyLayoutGroupName': ['SAML settings'], 'univentionUDMPropertyLayoutTabAdvanced': ['0'], 'univentionUDMPropertyValueNotEditable': ['0'], 'univentionUDMPropertyTranslationGroupName;entry-de-de': ['SAML Einstellungen'], 'univentionUDMPropertyTranslationShortDescription;entry-de-de': ['Benutzer f\xc3\xbcr folgende Service Provider freischalten'], 'univentionUDMPropertySyntax': ['samlserviceprovider'], 'univentionUDMPropertyLayoutPosition': ['4'], 'univentionUDMPropertyMultivalue': ['1'], 'univentionUDMPropertyValueMayChange': ['1'], 'univentionUDMPropertyShortDescription': ['Enable user for the following service providers'], 'univentionObjectType': ['settings/extended_attribute'], 'univentionUDMPropertyVersion': ['2'], 'univentionUDMPropertyTranslationTabName;entry-de-de': ['Konto'], 'univentionUDMPropertyCLIName': ['serviceprovider']}
21.08.18 15:54:33.054 ADMIN ( INFO ) : modules update_extended_attributes: custom fields init for tab Account
21.08.18 15:54:33.054 ADMIN ( INFO ) : modules_init: got no template
21.08.18 15:54:33.054 ADMIN ( INFO ) : layout overwrite
21.08.18 15:54:33.054 ADMIN ( INFO ) : layout overwrite: tab_layout='None'
21.08.18 15:54:33.054 ADMIN ( INFO ) : layout overwrite: tab_name='None'
21.08.18 15:54:33.054 ADMIN ( INFO ) : layout overwrite: tab_descr='None'
21.08.18 15:54:33.054 ADMIN ( INFO ) : ucr_overwrite_module_layout: trying to hide properties on tab General
21.08.18 15:54:33.055 ADMIN ( INFO ) : layout overwrite: tab_layout='None'
21.08.18 15:54:33.055 ADMIN ( INFO ) : layout overwrite: tab_name='None'
21.08.18 15:54:33.055 ADMIN ( INFO ) : layout overwrite: tab_descr='None'
21.08.18 15:54:33.055 ADMIN ( INFO ) : ucr_overwrite_module_layout: trying to hide properties on tab Groups
21.08.18 15:54:33.055 ADMIN ( INFO ) : layout overwrite: tab_layout='None'
21.08.18 15:54:33.055 ADMIN ( INFO ) : layout overwrite: tab_name='None'
21.08.18 15:54:33.055 ADMIN ( INFO ) : layout overwrite: tab_descr='None'
21.08.18 15:54:33.055 ADMIN ( INFO ) : ucr_overwrite_module_layout: trying to hide properties on tab Account
21.08.18 15:54:33.056 ADMIN ( INFO ) : layout overwrite: tab_layout='None'
21.08.18 15:54:33.056 ADMIN ( INFO ) : layout overwrite: tab_name='None'
21.08.18 15:54:33.056 ADMIN ( INFO ) : layout overwrite: tab_descr='None'
21.08.18 15:54:33.056 ADMIN ( INFO ) : ucr_overwrite_module_layout: trying to hide properties on tab Mail
21.08.18 15:54:33.056 ADMIN ( INFO ) : layout overwrite: tab_layout='None'
21.08.18 15:54:33.056 ADMIN ( INFO ) : layout overwrite: tab_name='None'
21.08.18 15:54:33.056 ADMIN ( INFO ) : layout overwrite: tab_descr='None'
21.08.18 15:54:33.056 ADMIN ( INFO ) : ucr_overwrite_module_layout: trying to hide properties on tab Contact
21.08.18 15:54:33.056 ADMIN ( INFO ) : layout overwrite: tab_layout='None'
21.08.18 15:54:33.057 ADMIN ( INFO ) : layout overwrite: tab_name='None'
21.08.18 15:54:33.057 ADMIN ( INFO ) : layout overwrite: tab_descr='None'
21.08.18 15:54:33.057 ADMIN ( INFO ) : ucr_overwrite_module_layout: trying to hide properties on tab UMC preferences
21.08.18 15:54:33.057 ADMIN ( INFO ) : layout overwrite: tab_layout='None'
21.08.18 15:54:33.057 ADMIN ( INFO ) : layout overwrite: tab_name='None'
21.08.18 15:54:33.057 ADMIN ( INFO ) : layout overwrite: tab_descr='None'
21.08.18 15:54:33.057 ADMIN ( INFO ) : ucr_overwrite_module_layout: trying to hide properties on tab Certificate
21.08.18 15:54:33.058 ADMIN ( INFO ) : layout overwrite: tab_layout='None'
21.08.18 15:54:33.058 ADMIN ( INFO ) : layout overwrite: tab_name='None'
21.08.18 15:54:33.058 ADMIN ( INFO ) : layout overwrite: tab_descr='None'
21.08.18 15:54:33.058 ADMIN ( INFO ) : ucr_overwrite_module_layout: trying to hide properties on tab Password recovery
21.08.18 15:54:33.058 ADMIN ( INFO ) : layout overwrite: tab_layout='None'
21.08.18 15:54:33.058 ADMIN ( INFO ) : layout overwrite: tab_name='None'
21.08.18 15:54:33.058 ADMIN ( INFO ) : layout overwrite: tab_descr='None'
21.08.18 15:54:33.058 ADMIN ( INFO ) : ucr_overwrite_module_layout: trying to hide properties on tab RADIUS
21.08.18 15:54:33.059 LDAP ( INFO ) : uldap.search filter=(&(|(objectClass=univentionDomainController)(objectClass=univentionMemberServer))(univentionService=S4 Connector)) base= scope=sub attr=['aRecord', 'aAAARecord'] unique=0 required=0 timeout=-1 sizelimit=0
21.08.18 15:54:33.059 ADMIN ( INFO ) : reset options to default by _define_options
21.08.18 15:54:33.059 ADMIN ( INFO ) : modules/__init__.py _define_options: reset to default options
21.08.18 15:54:33.059 LDAP ( INFO ) : uldap.search filter=(objectClass=univentionDefault) base=cn=univention,dc=ndgit,dc=intranet scope=sub attr=['univentionDefaultGroup'] unique=0 required=0 timeout=-1 sizelimit=0
21.08.18 15:54:33.059 LDAP ( INFO ) : uldap.search filter=(&(objectClass=posixGroup)(cn=Domain Users)) base=dc=ndgit,dc=intranet scope=domain attr=['dn'] unique=0 required=0 timeout=-1 sizelimit=0
21.08.18 15:54:33.060 ADMIN ( INFO ) : daemon [11050] connection closed [11051]