juanjo_dic
asked on
Command to get (SAMBA) WINS SERVER IP
I need to get the IP of the wins server in the samba server. How do I get it on the linux server?
Thanks!
Thanks!
the easy way? connect a windows XP and run ipconfig /all and check what is the wins server ip. or ask the network administrator
See if the commands "findsmb" and "smbstatus" give you what you need.
harbor235 ;|
harbor235 ;|
Try this command from the /etc/samba directory. (or wherever your smb.conf file is)
testparm -s smb.conf|grep wins
It should list the values you have for the following. (This is from mine, you may have others too)
wins proxy = No
wins server =
wins support = No
wins hook =
Are you saying you want to put the IP in SAMBA for your WINS server or find out what it's using.
If it's the former, you can add those lines to you smb.conf file with the correct values.
Cheers,
Gary
testparm -s smb.conf|grep wins
It should list the values you have for the following. (This is from mine, you may have others too)
wins proxy = No
wins server =
wins support = No
wins hook =
Are you saying you want to put the IP in SAMBA for your WINS server or find out what it's using.
If it's the former, you can add those lines to you smb.conf file with the correct values.
Cheers,
Gary
ASKER
pablouruguay: I want to get the WINS server IP so I can put it in my XP PC.
harbor235: Thanks but that only gives me the Server IP not the samba WINS Server IP
grsteed: Thanks, but I need to find out what IP it's using the SAMBA WINS server
Help!
harbor235: Thanks but that only gives me the Server IP not the samba WINS Server IP
grsteed: Thanks, but I need to find out what IP it's using the SAMBA WINS server
Help!
Have you tried to use the nbtstat command at the cmd prompt? Try it with the -? to see all the options.
Gary
Gary
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Gary, its just that some times after a few hours setting up a network my brain colapses (haha!)
Good think we have this site!
Good think we have this site!
Thanks!! glad I could help!
Gary
Gary