]> git.ipfire.org Git - thirdparty/samba.git/commit
s4-backupkey: Comply with [MS-BKRP] 2.2.1
authorArvid Requate <requate@univention.de>
Mon, 7 Jul 2014 16:25:29 +0000 (18:25 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 3 Mar 2015 21:07:11 +0000 (22:07 +0100)
commita03df4799f5183742c3948363006f70a3dd1821f
tree94b6682af2de44a7a3ddf15984b417e24e694b59
parent0d6e32f2a52b3f1b7843ec645abe627aa3c62557
s4-backupkey: Comply with [MS-BKRP] 2.2.1

[MS-BKRP] 2.2.1 specifies "The Common Name field of the Subject name
field SHOULD contain the name of the DNS domain assigned to the server."

In fact Windows 7 clients don't seem to care. Also in certificates
generated by native AD the domain name (after CN=) is encoded as
UTF-16LE. Since hx509_parse_name only supports UTF-8 strings currently
we just leave the encoding as it is for now.

Signed-off-by: Arvid Requate <requate@univention.de>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
(cherry picked from commit 007c3978a46d5f50051605752a76d12f30c5a0de)
source4/rpc_server/backupkey/dcesrv_backupkey.c