smb_validate_object_name
if (!smb_validate_object_name(sr, pn)) {
boolean_t smb_validate_object_name(smb_request_t *, smb_pathname_t *);