Bug 14707 - editing ntsecuritydescriptor SDDL resutls in confusing error message
Summary: editing ntsecuritydescriptor SDDL resutls in confusing error message
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.14.4
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Stefan Metzmacher
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-17 15:28 UTC by Björn Jacke
Modified: 2021-05-17 15:55 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 Björn Jacke 2021-05-17 15:28:57 UTC
editing ntsecuritydescriptor SDDL resutls in confusing error message

# ldbedit -H ldap://172.18.103.211 -b "CN=foo,CN=Users,DC=sdom1,DC=site" -Uadministrator%Passw0rd ntsecuritydescriptor

ndr_pull_relative_ptr1: ndr_pull_error(Buffer Size Error): ndr_pull_relative_ptr1 rel_offset(1094990407) > ndr->data_size(2814) at ../../librpc/ndr/ndr.c:1907

This is because the SDDL is first tried to be interpreted in binary format and not in string format.
Comment 1 Rowland Penny 2021-05-17 15:55:46 UTC
(In reply to Björn Jacke from comment #0)
It is picking up the 'log level' from the smb.conf , try adding '-d0' to the end of the command.