You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use vp.WriteConfigAs("/root/viper/smb.ini") everything work as expected.
So my question is, it's possible overwrite file extension for a specific file type? In this case my config type is INI and I want the file name to be smb.conf.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I want to write an INI file type with .conf extension.
https://web.mit.edu/kerberos/krb5-1.11/doc/admin/conf_files/krb5_conf.html
I'm trying this but returns a error
I also tried to add conf extension to allowed extention, this not return any error but creates a empty conf file.
If I use vp.WriteConfigAs("/root/viper/smb.ini") everything work as expected.
So my question is, it's possible overwrite file extension for a specific file type? In this case my config type is INI and I want the file name to be smb.conf.
Best regards
Beta Was this translation helpful? Give feedback.
All reactions