I installed Oracle 8.1.7 and then committed the SQL*Net authentication services in SQLNet.ora file. Now if I connect with internal user and Oracle password to explicitly close the database it gives ORA-01017: Invalid username/password; login denied. When I remove the comments from SQLNet.ora, it works.
I'm not sure you're commenting the file properly then because comments shouldn't cause any issues. The proper comment character in the sqlnet.ora is the pound sign (#).
If you think you're doing things right, maybe a non-printable character found its way into your sqlnet.ora file...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
to cause your issue. In that case, I'd open a new text editor and retype the contents of the file by hand, then save it over the top of your existing file.