Bug 26600 - umc-client Password aus Datei
umc-client Password aus Datei
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.0
Other Linux
: P5 enhancement (vote)
: UCS 3.0-2
Assigned To: Stefan Gohmann
Andreas Büsching
: interim-1
Depends on:
Blocks: 26332 26816
  Show dependency treegraph
 
Reported: 2012-03-22 20:04 CET by Stefan Gohmann
Modified: 2012-07-20 15:24 CEST (History)
0 users

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 Stefan Gohmann univentionstaff 2012-03-22 20:04:48 CET
umc-client sollte das Passwort aus der Datei lesen können.
Comment 1 Stefan Gohmann univentionstaff 2012-03-22 20:27:49 CET
Option wurde hinzugefügt: -y
Comment 2 Andreas Büsching univentionstaff 2012-06-18 11:08:28 CEST
umc-client -U Administrator --password_file pwd -l -o ldap/base GET ucr

sowie

umc-client -U Administrator -y pwd -l -o ldap/base GET ucr

funktionieren. Ob mit oder ohne Zeilenumbruch in der Datei scheint egal. Gibt man eine nicht existierende Datei an:

umc-client -U Administrator -y does_not_exist -l -o ldap/base GET ucr

gibt es einen Traceback

16.05.12 11:16:01.732  DEBUG_INIT
Traceback (most recent call last):
  File "/usr/sbin/umc-client", line 260, in <module>
    options.password = open(options.password_file).read().strip()
IOError: [Errno 2] No such file or directory: 'does_not_exist'

Ich denke das ist ok.  ChangeLog-Eintrag existiert
Comment 3 Stefan Gohmann univentionstaff 2012-07-20 15:24:35 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".