Bug 32938 - 96univention-samba4slavepdc.inst failed: samba-tool user add: error: no such option: -x
96univention-samba4slavepdc.inst failed: samba-tool user add: error: no such ...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.1
Other Linux
: P5 normal (vote)
: UCS 3.2-0-errata
Assigned To: Arvid Requate
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-22 09:07 CEST by Sönke Schwardt-Krummrich
Modified: 2014-02-12 10:26 CET (History)
3 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:
requate: Patch_Available+


Attachments
bug_32938.patch (556 bytes, patch)
2014-01-29 17:00 CET, Arvid Requate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2013-10-22 09:07:02 CEST
A customer reported the following snippet from join.log on a UCS@school slave with U@S 3.1R2 and UCS 3.1-1:

RUNNING 96univention-samba4slavepdc.inst
Waiting for RID Pool replication: done.
Usage: samba-tool user add <username> [<password>] [options]

samba-tool user add: error: no such option: -x
Object exists: cn=services,cn=univention,dc=school,dc=example,dc=com
Object exists: cn=S4 SlavePDC,cn=services,cn=univention,dc=school,dc=example,dc=com
Object modified: cn=dcfoobar,cn=dc,cn=server,cn=computers,ou=foobar,dc=school,dc=example,dc=com
EXITCODE=0

The join script did not fail although the tool for adding the DNS service principal name had failed.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2013-10-22 09:08:07 CEST
The customer has several school slaves but only a small number of slaves was affected.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2014-01-20 11:31:47 CET
A join.log from customer has been attached to ticket# 2013101121001931.
Comment 3 Arvid Requate univentionstaff 2014-01-29 17:00:04 CET
Created attachment 5764 [details]
bug_32938.patch
Comment 4 Arvid Requate univentionstaff 2014-01-29 17:02:34 CET
This happens whenever the random password starts with a dash. Happened several times during my ucs-test-samba4 runs.
Comment 5 Arvid Requate univentionstaff 2014-01-30 15:28:25 CET
Fixed.
Advisory: 2014-01-30-univention-samba4.yaml
Comment 6 Stefan Gohmann univentionstaff 2014-02-10 14:46:26 CET
YAML: OK (minor updates r47703)
Code: OK
Tests: OK
Comment 7 Moritz Muehlenhoff univentionstaff 2014-02-12 10:26:29 CET
http://errata.univention.de/ucs/3.2/56.html