Skip to content

Eliminated LDIF read failure due to incorrect args#54

Open
SphtKr wants to merge 1 commit intoFmstrat:masterfrom
SphtKr:fix-ldbadd-error-message
Open

Eliminated LDIF read failure due to incorrect args#54
SphtKr wants to merge 1 commit intoFmstrat:masterfrom
SphtKr:fix-ldbadd-error-message

Conversation

@SphtKr
Copy link
Copy Markdown

@SphtKr SphtKr commented Jan 16, 2024

The ldbadd command for Sshpubkey schema specifies the sam.ldb file twice, which ldbadd treats as a second LDIF file, which prints an error to the output (because parsing the ldb file as LDIF fails). Also strictly speaking the options should be specified before the LDIF file(s) on the command line. The existing code worked, but this eliminates a spurious error from the output that caused me to waste time troubleshooting.

The ldbadd command for Sshpubkey schema specifies the sam.ldb file twice, which `ldbadd` treats as a second LDIF file, which prints an error to the output (because parsing the ldb file as LDIF fails). Also strictly speaking the options should be specified before the LDIF file(s) on the command line. The existing code worked, but this eliminates a spurious error from the output that caused me to waste time troubleshooting.
kapdap added a commit to kapdap/samba-domain that referenced this pull request Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant