It is possible that the authentication dialog is not for the drive itself, but for a particular folder on the drive. Without any detailed context, there is little else I can add.
I can however point you at two very long but elaborate and relevant tutorials. ![]()