• VMware

    Learn about VMware virtualization for its products like vsphere ESX and ESXi, vCenter Server, VMware View, VMware P2V and many more

  • Linux

    Step by step configuration tutorials for many of the Linux services like DNS, DHCP, FTP, Samba4 etc including many tips and tricks in Red Hat Linux.

  • Database

    Learn installation and configuration of databases like Oracle, My SQL, Postgresql, etc including many other related tutorials in Linux.

  • Life always offers you a second chance ... Its called tomorrow !!!

    Sunday, December 29, 2013

    Multiple connections to a server or shared resource by same user

    Error:
    Multiple connections to a server or shared resource by same user, using more than one username, are not allowed. Disconnect all previous connections to the server or shared resource and try again
    This is generally a windows error which comes across when you try to access some share with multiple username/password on the same machine. But it is related to Linux as it also happens when you try to access the same samba share with different login credentials using the same windows machine.

    Solution:
    Windows by default stores a cache of all the network drives accessed so that next time when you try to access the same path it will take the credentials from the cache without prompting for username/password again.

    In such cases you need to clear the cache. How do we do that?

    Go to your windows machine and open the cmd prompt
    C:\Users\Deepak>net use
    New connections will be remembered.

    Status       Local     Remote                    Network

    -------------------------------------------------------------------------------
    OK                     \\192.168.0.100\IPC$        Microsoft Windows Network
    The command completed successfully.

    As you see above a single cache entry is there in my windows machine for //192.168.0.100, so next time if I try to access this share with some other username/password, I would get the same error.

    So we will have to clear this cache
    C:\Users\Deepak>net use /delete \\192.168.0.100\IPC$
    \\192.168.0.100\IPC$ was deleted successfully.

    C:\Users\Deepak>net use
    New connections will be remembered.

    There are no entries in the list.

    Now the cache list is empty and you can try to re-connect the share with new credential

    Follow the below links for more tutorials


    0 comments:

    Post a Comment