rubywmq icon indicating copy to clipboard operation
rubywmq copied to clipboard

How to configure username?

Open darkleaf opened this issue 7 years ago • 0 comments

I found option for WMQ::QueueManager.connect: user_identifier. But client send process uid instead user_identifier value.

Server check user name. It must be "web". But I want run app in docker by "root" user.

I can connect only when this TCP packet contains "WEB" and "web" instead "ROOT" and "root". Packet info by tcpdump.

	0x0000:  ff03 0021 4500 00dc f3ba 4000 4006 29bb  ...!E.....@.@.).
	0x0010:  0a23 0514 0a4d 0323 e4fb 0595 86ad 8d93  .#...M.#........
	0x0020:  9372 5df8 8018 1000 eb38 0000 0101 080a  .r]......8......
	0x0030:  3c42 c83a 241d a908 5453 484d 0000 00a8  <B.:$...TSHM....
	0x0040:  0000 0001 0000 0000 0208 0100 0000 0000  ................
	0x0050:  0000 0000 2202 0000 b804 0000 5549 4420  ....".......UID.
	0x0060:  524f 4f54 2020 2020 2020 2020 2020 2020  ROOT............
	0x0070:  2020 2020 2020 2020 726f 6f74 2020 2020  ........root....
	0x0080:  2020 2020 2020 2020 2020 2020 2020 2020  ................
	0x0090:  2020 2020 2020 2020 2020 2020 2020 2020  ................
	0x00a0:  2020 2020 2020 2020 2020 2020 2020 2020  ................
	0x00b0:  2020 2020 2020 2020 0000 0000 0000 0000  ................
	0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
	0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................

darkleaf avatar Nov 07 '17 11:11 darkleaf