Bug 46851 - Updating logon script for certain user fails
Updating logon script for certain user fails
Status: CLOSED DUPLICATE of bug 45802
Product: UCS@school
Classification: Unclassified
Component: Netlogon scripts
UCS@school 4.2
Other Linux
: P5 normal (vote)
: UCS@school 4.2 v10
Assigned To: Sönke Schwardt-Krummrich
Daniel Tröder
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-04-19 10:58 CEST by Stefanie Schneider
Modified: 2018-07-04 18:11 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefanie Schneider univentionstaff 2018-04-19 10:58:58 CEST
root@ucs-7973:~# univention-app info
UCS: 4.2-3 errata315
App Center compatibility: 4
Installed: cups=1.7.5 samba4=4.6 squid=3.4 ucsschool=4.2 v7
Upgradable: 
root@ucs-7973:~# ucr get server/role 
domaincontroller_slave

> root@ucs-7973:~# tail -f /var/log/univention/ucs-school-user-logonscript-daemon.log
> 2018-04-19 10:39:53,732 [INFO]  updating logon script for uid=blub,cn=users,ou=gsmitte,dc=test01,dc=intranet
> 2018-04-19 10:39:53,734 [ERROR]  An error occured while processing "uid=blub,cn=users,ou=gsmitte,dc=test01,dc=intranet": TypeError("'NoneType' object has no attribute '__getitem__'",)
> 2018-04-19 10:39:58,745 [INFO]  updating logon script for uid=mmuster,cn=users,dc=test01,dc=intranet
> 2018-04-19 10:39:58,758 [ERROR]  An error occured while processing "uid=mmuster,cn=users,dc=test01,dc=intranet": TypeError("'NoneType' object has no attribute '__getitem__'",)
> 2018-04-19 10:40:03,765 [INFO]  updating logon script for uid=blub,cn=users,ou=gsmitte,dc=test01,dc=intranet
> 2018-04-19 10:40:03,767 [ERROR]  An error occured while processing "uid=blub,cn=users,ou=gsmitte,dc=test01,dc=intranet": TypeError("'NoneType' object has no attribute '__getitem__'",)


# mmuster, users, test01.intranet
dn: uid=mmuster,cn=users,dc=test01,dc=intranet
uid: mmuster
objectClass: person
objectClass: univentionPWHistory
objectClass: simpleSecurityObject
objectClass: top
objectClass: uidObject
objectClass: univentionObject
pwhistory: $6$WgAlcjxVtJsJeiCH$yCaLeL7c1h./ho6UhfuJgJc7hgwHZ0ee97GR4PkggQom740
 uc1V.NV8.BMprYSABuPrGtZT0zK63KnxOlERPI1
univentionObjectType: users/user
sn: Musterman
userPassword:: e2NyeXB0fSQ2JERKdXU3eDBLcjFGQXdnd3EkNVNUWm9KNnp5LzRCV1lXaXc5RXB
 BMGhYSy85OEdtTmlXQ05IN2w4VnNwbXFGaXp1WXMwVmk4T1h4UjFXYjYzT09yQ2ZSelRFbHNCVmZi
 R01jV3kxVS4=
cn: Musterman
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2018-04-19 18:01:19 CEST
Looks like a traceback due to missing uidNumber at the user object. A fix of the problem is currently being prepared as part of bug 45802.

*** This bug has been marked as a duplicate of bug 45802 ***
Comment 2 Daniel Tröder univentionstaff 2018-06-04 15:40:13 CEST
OK - has been fixed as part of Bug #45802.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2018-07-04 18:11:20 CEST
UCS@school 4.2 v10 has been released.

https://docs.software-univention.de/changelog-ucsschool-4.2v10-de.html

If this error occurs again, please clone this bug.