If it is a name resolution issue that would be one way to work around it assuming your network share is using a static IP [reference] without blowing up your library and starting over. Other options include figuring out why name resolution isn’t working, using a path sub in an advancedsettings.xml file, or manually editing ~/.kodi/userdata/passwords.xml changing the substitution tags with the credentials to ones using an IP instead of a hostname or FQDN.