smb_xlate_dialect
static int smb_xlate_dialect(const char *);
if ((dialect = smb_xlate_dialect(negprot->ni_name)) < 0)