As it stands, any default port would do both, internal and OS user authentication.
Should OS auth be done through PAM, so on an Informix port configured to use PAM, no internal users could connect on that port.
(One could argue why not allowing internal auth on a PAM port, esp. if that's configured to do simple OS auth only, but that's not implemented as of now.)
So, to your question: you'd not even need those two separate ports - but could of course do it this way.
What would not be possible, I think, is restricting such port to either only OS auth or only internal auth.
------------------------------
Andreas Legner
------------------------------
Original Message:
Sent: Thu February 18, 2021 09:02 AM
From: John Smith
Subject: Authenfication
Hi to All
on onconfig :
i want to use two different authentification methods for the same server : OS USER and INTERNAL USER, is is possible ?
DBSERVERNAME db_serv (OS USER)
DBSERVERALIASES db_net (INTERNAL USER)
on sqlhosts
db_serv onsoctcp host_ip host_port_1
db_net onsoctcp host_ip host_port_2
thanks :)
------------------------------
John Smith
------------------------------
#Informix