Hostname Dont IP in user-maping.xml

Help
Anonymous
2012-07-10
2013-03-15
  • Anonymous - 2012-07-10

    Hi, when I use for hostname param a Name NetBIOS for a machine in the net, dont connect to the host, only with IP address,

    What can I do?

    Thanks

     
  • Luca Ferrario

    Luca Ferrario - 2012-07-10

    Just add to the hosts file of your system the netbios hostname that you want.
    In Linux systems this file is usually "/etc/hosts". So just add a line with the hostname and the IP. Now you can write the hostname into the user-mapping, since your system will resolve that hostname into the IP you have provided.

    NOTE: the Windows machine you want to connect to should have a static IP address. Otherwise, you'll have to update the hosts file everytime the IP changes.

     
  • simon1tan

    simon1tan - 2012-08-23

    You may need something like Samba that can resolve NetBIOS names…at least I think Samba can do that :)

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks