Bug 15692 - Missing conversion for msDS-UserTGTLifetime, msDS-ComputerTGTLifetime and msDS-ServiceTGTLifetime on "samba-tool domain auth policy modify"
Summary: Missing conversion for msDS-UserTGTLifetime, msDS-ComputerTGTLifetime and msD...
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (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: 2024-08-02 08:43 UTC by Yohannès ALEMU
Modified: 2024-11-19 14:48 UTC (History)
2 users (show)

See Also:


Attachments
patch for 4.20 (7.86 KB, patch)
2024-10-04 09:28 UTC, Douglas Bagnall
jsutton: review+
Details
patch for 4.21 (7.85 KB, patch)
2024-10-04 09:29 UTC, Douglas Bagnall
jsutton: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yohannès ALEMU 2024-08-02 08:43:59 UTC
Hi everyone,

There is a missing conversion when using the samba-tool domain auth policy modify command, for :
    * --user-tgt-lifetime-mins=
    * --computer-tgt-lifetime-mins=
    * --service-tgt-lifetime-mins=

The unit for msDS-UserTGTLifetime[1], msDS-ComputerTGTLifetime[2] and msDS-ServiceTGTLifetime[3] is 10^(-7) seconds.

Cheers,

Yohannès

[1] : https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-ada2/51b8ff85-94b4-43cf-b5b2-087814548cef
[2] : https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-ada2/c62c8901-e05d-4be3-ab89-95332075f3f4
[3] : https://learn.microsoft.com/fr-fr/openspecs/windows_protocols/ms-ada2/01775102-33b1-412e-ab44-225a1fe2444c
Comment 1 Samba QA Contact 2024-10-04 04:02:04 UTC
This bug was referenced in samba master:

3766b6a126f659a43e2e36c66689c136fc22dbc4
Comment 2 Douglas Bagnall 2024-10-04 09:28:23 UTC
Created attachment 18462 [details]
patch for 4.20
Comment 3 Douglas Bagnall 2024-10-04 09:29:32 UTC
Created attachment 18463 [details]
patch for 4.21
Comment 4 Jule Anger 2024-10-07 08:29:34 UTC
Pushed to autobuild-v4-{21,20}-test.
Comment 5 Samba QA Contact 2024-10-07 09:46:12 UTC
This bug was referenced in samba v4-20-test:

44378caeb4cd314d5f35f706835794fda179c0b4
Comment 6 Samba QA Contact 2024-10-09 10:08:12 UTC
This bug was referenced in samba v4-21-test:

aca7b7b44b7d19ea9b0508cdbd0d4e16cb538899
Comment 7 Jule Anger 2024-10-09 14:20:23 UTC
Closing out bug report.

Thanks!
Comment 8 Samba QA Contact 2024-10-14 11:33:18 UTC
This bug was referenced in samba v4-21-stable (Release samba-4.21.1):

aca7b7b44b7d19ea9b0508cdbd0d4e16cb538899
Comment 9 Samba QA Contact 2024-11-19 14:48:15 UTC
This bug was referenced in samba v4-20-stable (Release samba-4.20.6):

44378caeb4cd314d5f35f706835794fda179c0b4