smb_get_status() takes an fd as argument, just like smb_get_line()