Bug 14516 - samba-tool dbcheck: Failed to remove unknown attribute because is is not a valid attribute in schema
Summary: samba-tool dbcheck: Failed to remove unknown attribute because is is not a va...
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.11.6
Hardware: x64 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-28 10:09 UTC by Andrea Frati
Modified: 2020-09-28 10:09 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Frati 2020-09-28 10:09:07 UTC
I create a personal Samba Domain Controller and added some users for my family usage.

I created my personal account with wrongly named attribute 
"userCertificate;binary".

When i try to remove wrong user attribute using following command:

samba-tool dbcheck --cross-ncs --fix --yes

i receive the error below:

ERROR: unknown attribute 'userCertificate;binary' in CN=andrea,CN=Users,DC=frati,DC=local
Remove unknown attribute userCertificate;binary [YES]
ERROR: Failed to remove unknown attribute userCertificate;binary : (65, 'replmd_modify_handle_linked_attribs: attribute userCertificate;binary is not a valid attribute in schema')

I'm not able to do that using any other tool like ldapmodify or ldbmodify too.