Fix bug #10100 - rpcclient crashes when sending the 'netshareenum 502' command