Bug 23977 - Ein univention-s4search-decode Skript wäre nützlich
Ein univention-s4search-decode Skript wäre nützlich
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0-1
Assigned To: Arvid Requate
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-06 15:52 CEST by Arvid Requate
Modified: 2012-03-04 14:34 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
Ein erster Vorschalg für univention-s4search-decode (2.87 KB, text/plain)
2011-10-06 15:53 CEST, Arvid Requate
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2011-10-06 15:52:27 CEST
Analog zu ldapsearch-decode64 wäre ein Decodescript für Samba-Verzeichnisdaten sinnvoll, z.B. für Attribute wie dnsRecord und supplementalCredentials. Das Skript kann die python-Bindings aus samba4 verwenden um die Binärdaten in einem lesbaren Format auszugeben.
Comment 1 Arvid Requate univentionstaff 2011-10-06 15:53:08 CEST
Created attachment 3607 [details]
Ein erster Vorschalg für univention-s4search-decode
Comment 2 Arvid Requate univentionstaff 2011-12-19 11:42:39 CET
Ist über Bug 21213 eingecheckt und über Bug 22866 erweitert worden.
Comment 3 Felix Botner univentionstaff 2012-02-09 15:29:57 CET
OK

-> univention-s4search dnsRecord=* dnsRecord | s4search-decode

# record 82
dn: DC=85,DC=7.200.10.in-addr.arpa,CN=MicrosoftDNS,CN=System,DC=school,DC=test
dnsRecord:: GwAMAAUAAAABAAAAAAAOEAAAAAAAAAAAGQMLd2luMjhnMDEtMDUGc2Nob29sBHRlc3QA
# decoded:
#     dnsp_DnssrvRpcRecord: struct dnsp_DnssrvRpcRecord
#         wDataLength              : 0x001b (27)
#         wType                    : DNS_TYPE_PTR (12)
#         version                  : 0x05 (5)
#         rank                     : DNS_RANK_NONE (0)
#         flags                    : 0x0000 (0)
#         dwSerial                 : 0x00000001 (1)
#         dwTtlSeconds             : 0x00000e10 (3600)
#         dwReserved               : 0x00000000 (0)
#         dwTimeStamp              : 0x00000000 (0)
#         data                     : union dnsRecordData(case 12)
#         ptr                      : win28g01-05.school.test


Da das Tool schon länger dabei war, ist ein Eintrag im Changelog wohl nicht nötig.
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2012-03-04 14:34:24 CET
UCS 3.0-1 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert
werden: "Clone This Bug"