I am using python shutil.copy() method to copy the file to file server earlier as there is no credentials or authentication required. Now there is a change in ldap server which requires authentication to copy the file.
shutil.copy(file_path, target)
Is there anyway to copy the file to file server without mounting. I required help for my windows pc with python3.