to get round the problems of merging smbclient dce/rpc code (from BRANCH_NTDOM) into the current cvs tree, i've instead created a "rpcclient" command. its first duty was to do a "LsaQueryInfoPolicy" at levels 3 & 5, with its only command (lsaquery) which it passed with flying colours. hooray.