Bug 10262 - net's createupn option creates non-usable upn when generating keytab
Summary: net's createupn option creates non-usable upn when generating keytab
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.1.1
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks: 10274
  Show dependency treegraph
 
Reported: 2013-11-12 13:33 UTC by Guenther Deschner
Modified: 2013-11-26 19:29 UTC (History)
2 users (show)

See Also:


Attachments
patch for master (1.48 KB, patch)
2013-11-12 13:37 UTC, Guenther Deschner
no flags Details
patch for 4-1-test (1.53 KB, patch)
2013-11-12 13:42 UTC, Guenther Deschner
asn: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guenther Deschner 2013-11-12 13:33:20 UTC
When "net ads join createupn" is called and the system is configured to create a keytab, the upn composed is host/hostname@realm.com. We should always uppercase the realm part of that principal, so e.g. kinit -k can be called with it.
Comment 1 Guenther Deschner 2013-11-12 13:37:18 UTC
Created attachment 9407 [details]
patch for master
Comment 2 Guenther Deschner 2013-11-12 13:42:09 UTC
Created attachment 9408 [details]
patch for 4-1-test
Comment 3 Guenther Deschner 2013-11-12 15:49:28 UTC
patch is in master now
Comment 4 Andreas Schneider 2013-11-18 09:16:30 UTC
Karolin, please add the patch to v4-1-test. Thanks!
Comment 5 Karolin Seeger 2013-11-22 10:34:45 UTC
Pushed to autobuild-v4-1-test.
Comment 6 Karolin Seeger 2013-11-26 19:29:01 UTC
Pushed to v4-1-test.
Closing out bug report.

Thanks!