smb_share_valid
int smb_share_valid(struct smb_share *ssp);
if (smb_share_valid(ssp) || (ssp->ss_flags & SMBS_CONNECTED) == 0) {