Bug 14960 - SDB uses HDB flags directly which can lead to unwanted side effects
Summary: SDB uses HDB flags directly which can lead to unwanted side effects
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.16.0rc1
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jule Anger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-26 07:42 UTC by Andreas Schneider
Modified: 2022-02-15 07:55 UTC (History)
2 users (show)

See Also:


Attachments
patch for 4.16 (4.05 KB, patch)
2022-01-28 16:21 UTC, Andreas Schneider
metze: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2022-01-26 07:42:52 UTC
With the heimdal update, we have conflicting defines in SDB and HDB now:

#define SDB_F_FORCE_CANON 16384
#define HDB_F_PRECHECK    16384

In order to fix that we need to translate from HDB to SDB.
Comment 1 Samba QA Contact 2022-01-28 13:34:03 UTC
This bug was referenced in samba master:

63e00f81b5dd05b50e6ac286e87b8637a4ecd7e0
2a0d6c11330c40f5692dc07ed6482c7107035bd4
6063e8016fccbefd1c3fe378e3807c77bc04e4ec
Comment 2 Andreas Schneider 2022-01-28 16:21:00 UTC
Created attachment 17133 [details]
patch for 4.16
Comment 3 Jule Anger 2022-02-14 09:06:18 UTC
Pushed to autobuild-v4-16-test.
Comment 4 Samba QA Contact 2022-02-14 09:59:05 UTC
This bug was referenced in samba v4-16-test:

6628357976bbef265bd0785c40a7607642a25a54
27c6ad1f9b6dc75bf21efe54895acde160c99bcf
bc72fb438fe72d4403ba30f8e1a394a92507b88b
Comment 5 Jule Anger 2022-02-14 10:12:22 UTC
Closing out bug report.

Thanks!
Comment 6 Samba QA Contact 2022-02-15 07:55:39 UTC
This bug was referenced in samba v4-16-stable (Release samba-4.16.0rc3):

6628357976bbef265bd0785c40a7607642a25a54
27c6ad1f9b6dc75bf21efe54895acde160c99bcf
bc72fb438fe72d4403ba30f8e1a394a92507b88b