How to get all addresses - including the "change" addresses - from bitcoind? I want to get all my addresses - including the auto-generated "change" addresses - from a running bitcoind somehow.

I haven't been able to do it in a simple way. "getaddressesbyaccount" and all the other API options are only listing the "public" addresses and sometimes few additional ones, but never the already used change addresses. Can I do that somehow?
listaddressgroupings

I used the command listaddressgroupings from the bitcoin-qt console window and it listed all my addresses.  I then looked for one of my old send transactions here:

https://blockchain.info/

And found the change address.  It matches one of the addresses in the list.