Bug 25976 - Drucker URI wird immer als none ausgegeben
Drucker URI wird immer als none ausgegeben
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Printers
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0-2
Assigned To: Andreas Büsching
Felix Botner
: interim-1
Depends on:
Blocks: 26290
  Show dependency treegraph
 
Reported: 2012-01-31 08:45 CET by Janis Meybohm
Modified: 2012-07-20 15:24 CEST (History)
2 users (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:
buesching: Patch_Available+


Attachments
fix reading available printer schemas (1.35 KB, patch)
2012-02-28 17:49 CET, Andreas Büsching
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Meybohm univentionstaff 2012-01-31 08:45:20 CET
root@billy:~# ldapsearch -xLLL objectClass=univentionPrinter univentionPrinterURI | grep ^univentionPrinterURI
univentionPrinterURI: ipp://farblaser.knut.univention.de/ipp
univentionPrinterURI: socket://HPTechnik.knut.univention.de:9100
univentionPrinterURI: socket://kopierer.knut.univention.de:9100
univentionPrinterURI: cups-pdf:/
univentionPrinterURI: socket://Hpvertrieb.knut.univention.de:9100
univentionPrinterURI: parallel:/dev/usb/lp0
univentionPrinterURI: socket://192.168.37.104:9100
root@billy:~# udm shares/printer list | grep uri
  uri: None
  uri: None
  uri: None
  uri: None
  uri: None
  uri: None
  uri: None


Auf einem 2.4 Backup ist das noch korrekt:
root@mammut:~# udm shares/printer list | grep uri
  uri: ipp://farblaser.knut.univention.de/ipp
  uri: socket://HPTechnik.knut.univention.de:9100
  uri: socket://kopierer.knut.univention.de:9100
  uri: cups-pdf:/
  uri: socket://Hpvertrieb.knut.univention.de:9100
  uri: parallel:/dev/usb/lp0
  uri: socket://192.168.37.104:9100
Comment 1 Andreas Büsching univentionstaff 2012-02-28 17:49:04 CET
Created attachment 4236 [details]
fix reading available printer schemas
Comment 2 Andreas Büsching univentionstaff 2012-04-13 09:08:20 CEST
Patch ist angewendet und ChangeLog hinzugefügt
Comment 3 Felix Botner univentionstaff 2012-06-14 13:42:18 CEST
Das wird i.M. noch so dargestellt:
 
 uri: ipp:// 10.200.7.33

Vielleicht kann man das Leerzeichen zw. Protokoll und Ziel noch entfernen.

OK - Changelog Eintrag
Comment 4 Andreas Büsching univentionstaff 2012-06-14 14:29:24 CEST
(In reply to comment #3)
> Das wird i.M. noch so dargestellt:
> 
>  uri: ipp:// 10.200.7.33

Das ist ein generisches Problem mit dem UDM-CLI. Elemente mit einer complex-Syntax werden immer Leerzeichen-separiert ausgegeben.

Früher funktionierte die Ausgabe ohne Leerzeichen, da es keine complex-Syntax war.

Man könnte das sicherlich korrigieren, aber ich denke dazu sollte ein separater Bug geöffnet werden.
Comment 5 Felix Botner univentionstaff 2012-06-14 15:39:37 CEST
OK
Comment 6 Stefan Gohmann univentionstaff 2012-07-20 15:24:14 CEST
UCS 3.0-2 has been released: 
  http://forum.univention.de/viewtopic.php?f=54&t=1905

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