Bug 30096 - ucc joinscripts can not be run on memberserver
ucc joinscripts can not be run on memberserver
Status: CLOSED FIXED
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: Image management
unspecified
Other Linux
: P5 normal
: UCC 1.0
Assigned To: Moritz Muehlenhoff
Erik Damrose
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-21 18:17 CET by Tobias Scherer
Modified: 2013-03-26 09:14 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
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 Tobias Scherer univentionstaff 2013-01-21 18:17:45 CET
If the ucc-image-toolkit and/or the packages  ucc-1.0-thinclient-image and ucc-1.0-desktop-image are installed on a memberserver, the joinskripts are not run successfully. Although the joinskript output says "run successful" the ldapobjects are not created due to insufficient permission. Joinskripts of self-created images show the same behaviour.
Comment 1 Moritz Muehlenhoff univentionstaff 2013-01-29 08:44:25 CET
The join script has been fixed.
Comment 2 Erik Damrose univentionstaff 2013-01-30 15:55:03 CET
30univention-corporate-client-schema.inst fails:

RUNNING 30univention-corporate-client-schema.inst
Object created: cn=UCC,cn=univention,dc=intra,dc=net
Object created: cn=Autostart,cn=UCC,cn=univention,dc=intra,dc=net
Object created: cn=Session,cn=UCC,cn=univention,dc=intra,dc=net
Object created: cn=Images,cn=UCC,cn=univention,dc=intra,dc=net
Object created: cn=UCC autostart sessions,cn=policies,dc=intra,dc=net
Object created: cn=ucc,cn=policies,dc=intra,dc=net
Object created: cn=UCC,cn=custom attributes,cn=univention,dc=intra,dc=net
LDAP Error: Invalid syntax: objectClass: value #2 invalid per syntax
EXITCODE=3
Comment 3 Moritz Muehlenhoff univentionstaff 2013-01-31 11:01:26 CET
Auf dem Master waren die LDAP-Schemata nicht installiert.
Comment 4 Erik Damrose univentionstaff 2013-02-04 15:16:11 CET
Joinscript 30univention-corporate-client-schema.inst installs but prints a warning: 

Mo 4. Feb 14:36:47 CET 2013: running 30univention-corporate-client-schema.inst
Object exists: cn=UCC,cn=univention,dc=intra,dc=net
Object exists: cn=Autostart,cn=UCC,cn=univention,dc=intra,dc=net
Object exists: cn=Session,cn=UCC,cn=univention,dc=intra,dc=net
Object exists: cn=Images,cn=UCC,cn=univention,dc=intra,dc=net
Object exists: cn=UCC autostart sessions,cn=policies,dc=intra,dc=net
Object exists: cn=ucc,cn=policies,dc=intra,dc=net
Object exists: cn=UCC,cn=custom attributes,cn=univention,dc=intra,dc=net
Object exists: cn=default-settings,cn=ucc,cn=policies,dc=intra,dc=net
WARNING: cannot append cn=default-settings,cn=ucc,cn=policies,dc=intra,dc=net to univentionPolicyReference, value exists
No modification: dc=intra,dc=net
Object exists: cn=services,cn=univention,dc=intra,dc=net
Object exists: cn=UCCTS,cn=services,cn=univention,dc=intra,dc=net
Object exists: cn=UCCAutostart,cn=UCC,cn=custom attributes,cn=univention,dc=intra,dc=net
Object exists: cn=UCCClientSession,cn=UCC,cn=custom attributes,cn=univention,dc=intra,dc=net
Object exists: univentionCorporateClientSessionName=Windows Terminal Server,cn=Session,cn=UCC,cn=univention,dc=intra,dc=net
Object exists: univentionCorporateClientSessionName=Citrix XenApp,cn=Session,cn=UCC,cn=univention,dc=intra,dc=net
Object exists: univentionCorporateClientSessionName=Firefox,cn=Session,cn=UCC,cn=univention,dc=intra,dc=net
Mo 4. Feb 14:36:48 CET 2013: 30univention-corporate-client-schema.inst finished with exitcode 0

Addionally, a downloaded image file installs its joinscript with a filename like ucc-1.0-thinclient-image.img.inst, without a prepending number. This causes the joinscript to not show up in the UMC.
Comment 5 Moritz Muehlenhoff univentionstaff 2013-02-04 15:35:04 CET
(In reply to comment #4)
> Joinscript 30univention-corporate-client-schema.inst installs but prints a
> warning: 

That's harmless /expected.

> Addionally, a downloaded image file installs its joinscript with a filename
> like ucc-1.0-thinclient-image.img.inst, without a prepending number. This
> causes the joinscript to not show up in the UMC.

I've modified ucc-image-download to prefix the downloaded images with "95".
Comment 6 Erik Damrose univentionstaff 2013-02-04 17:00:10 CET
previous errors have been fixed / invalidated -> OK
joinscript is prepended by 95 and shows up in UMC -> OK

-> Verified
Comment 7 Moritz Muehlenhoff univentionstaff 2013-03-26 09:14:31 CET
UCC 1.0 has been released: 
http://forum.univention.de/viewtopic.php?f=26&t=2417
http://forum.univention.de/viewtopic.php?f=54&t=2418

If this error occurs again, please use "Clone This Bug".