libnss-mysql, more docs, examples?

So... I'm finding that after not having touched it for over a decade, I have to get involved with libnss-mysql again.

Google is unkind - lots of good info if you're on linux, and nothing very current if you're on FreeBSD, and given how divergent these OSes are, that's tough - the 'getpw*'/'getg*' stuff is totally different.

Two questions:

  • Anyone currently using libnss-mysql on 11.x or newer, and if so can you share your config files (libnss-mysql.cfg, libnsss-mysql-root.cfg, nsswitch.cfg - sanitized of course)?
  • Can anyone explain with some certainty what the data returned for 'gidsbymem' and 'memsbygid' should look like? I believe that multiple members are just concatenated by a ',', but would like to clarify that?
 
This poor unanswered question is where I'm at as well:


Also any way to get mysql started earlier in the boot process? Booting up with libnss-mysql enabled is pretty noisy while waiting for mysql to become available. I guess nscd caches nothing across boots?
 
Back
Top