harkman - 2010-07-03

Hello,

I have the problem, that I need nss-mysql for two different applications on the same server. Therefore I need two user databases.
Is there a way to configure this?
can I create two concurrent nss-mysql setups like
/etc/libnss-mysql.cfg and
/etc/libnss-mysql2.cfg

and bind them to nss in the /etc/nsswitch.conf  like

passwd: files mysql mysql2
shadow: files mysql mysql2
group:  files mysql mysql2

Is that possible? Any other way to do this?