Bug 30434 - uldap.py->getMachineConnection: ldap/server/addition not properly evaluated
uldap.py->getMachineConnection: ldap/server/addition not properly evaluated
Status: CLOSED FIXED
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: General
unspecified
Other Linux
: P5 normal
: UCC 1.0
Assigned To: Felix Botner
Moritz Muehlenhoff
: interim-4
Depends on:
Blocks: 30436
  Show dependency treegraph
 
Reported: 2013-02-14 09:25 CET by Felix Botner
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 Felix Botner univentionstaff 2013-02-14 09:25:38 CET
for server in ucr.get('ldap/server/addition', []):
  lo=access(host=server, 

A for loop over a string iterates over the characters of the string. 
That is not what we want here.
Comment 1 Felix Botner univentionstaff 2013-02-14 11:42:55 CET
univention-python has been cherry picked to ucc and patched to correct the ldap/server/addition handling.

univention-ucc-initramfs has been modified. "option timeout:2" will be added to the dhcp resolv.conf in the initrd  if not present ti reduce dns timeouts.
Comment 2 Moritz Muehlenhoff univentionstaff 2013-02-15 14:25:59 CET
The additional servers are now correctly split.
Comment 3 Moritz Muehlenhoff univentionstaff 2013-03-26 09:14:23 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".