Bug 15893 - Improve handling of principals and realms in client tools
Summary: Improve handling of principals and realms in client tools
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jule Anger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-07 16:13 UTC by Andreas Schneider
Modified: 2025-08-29 12:15 UTC (History)
2 users (show)

See Also:


Attachments
backport to v.4.23 (16.57 KB, patch)
2025-08-25 13:31 UTC, Alexander Bokovoy
ab: review? (gd)
pfilipensky: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2025-08-07 16:13:49 UTC
Improve handling of principals and realms in client tools. We should uppercase the realm for principals.

Have MR need BUG :-)
Comment 1 Samba QA Contact 2025-08-25 12:09:04 UTC
This bug was referenced in samba master:

e5608cdb2e5a7ef2641ec0e7b0ce0b4640a02ce1
4f8ff3a567d6318c71b0960345592224721c9594
67c2feba290764c62ab01602d5bc9d4d122c2c12
705db6c8b295f65f40b7dcd0d5dc0f6db901c8d7
34482f4ad014a09c84b484097a8d03dfec4f6512
f86739e3abd63ba0b7ba632d796968fec9fa2f8f
e848671f34f969634d55eb7b846d70e6334034ae
5879410caf9303a378f3d90365e60928a735e65a
7a19fde92605a3a3699998fb226e3e787de0b5ca
Comment 2 Alexander Bokovoy 2025-08-25 13:31:08 UTC
Created attachment 18694 [details]
backport to v.4.23

Backport to v4-23-test
Comment 3 Pavel Filipenský 2025-08-26 08:53:40 UTC
Comment on attachment 18694 [details]
backport to v.4.23

patch LGTM
Comment 4 Alexander Bokovoy 2025-08-26 08:57:25 UTC
Jule, could you please apply the patches to 4.23 branches? Thank you!
Comment 5 Jule Anger 2025-08-28 08:15:07 UTC
Pushed to autobuild-v4-23-test.
Comment 6 Samba QA Contact 2025-08-28 10:40:12 UTC
This bug was referenced in samba v4-23-test:

3985c45ad97a3b2729f3970a8fbcf989a093ca44
e6158a6bf6d7ad40045d2107a5ea509f0b375278
8f98180ed716e94332bb856a9da418905abc949b
16b4aa95658b997efe917a65f164a5e94764870e
ae5124ac5f52a344822194c2e50fe614c408a367
2629f19dbe5b7b2e133d20ac303d20a2d65b80d9
e9b5835127f84b9503f1ce0d363b5c86f463923c
1505f1304504913b47eb48d0ac99a9dfb5cef65d
3710cb26ae3bcfd97e10ad358ace894d18160fb5
Comment 7 Jule Anger 2025-08-29 12:03:01 UTC
Closing out bug report.

Thanks!
Comment 8 Samba QA Contact 2025-08-29 12:15:29 UTC
This bug was referenced in samba v4-23-stable (Release samba-4.23.0rc3):

3985c45ad97a3b2729f3970a8fbcf989a093ca44
e6158a6bf6d7ad40045d2107a5ea509f0b375278
8f98180ed716e94332bb856a9da418905abc949b
16b4aa95658b997efe917a65f164a5e94764870e
ae5124ac5f52a344822194c2e50fe614c408a367
2629f19dbe5b7b2e133d20ac303d20a2d65b80d9
e9b5835127f84b9503f1ce0d363b5c86f463923c
1505f1304504913b47eb48d0ac99a9dfb5cef65d
3710cb26ae3bcfd97e10ad358ace894d18160fb5