Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crudini cannot parse /etc/krb5.conf because of indents #105

Closed
sebma opened this issue Oct 30, 2024 · 2 comments
Closed

crudini cannot parse /etc/krb5.conf because of indents #105

sebma opened this issue Oct 30, 2024 · 2 comments

Comments

@sebma
Copy link

sebma commented Oct 30, 2024

Hi, I'm using crudini v0.9.4 from Ubuntu 24.04 and it seems it cannot parse /etc/krb5.conf :

$ crudini --get /etc/krb5.conf libdefaults
Source contains parsing errors: '<???>'
        [line  2]:      default_realm = myDOMAIN.LAN

$ echo $?
1
$
@sebma sebma changed the title crudini cannot parse /etc/krb5.conf crudini cannot parse /etc/krb5.conf because of indents Nov 2, 2024
@sebma
Copy link
Author

sebma commented Nov 2, 2024

It seems it was because of indents, adding this --ini-options=ignoreindent option solved my problem.

Related : #104 (comment)

@sebma sebma closed this as completed Nov 2, 2024
@pixelb
Copy link
Owner

pixelb commented Nov 6, 2024

Also tangentially related: #45

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

No branches or pull requests

2 participants