RE: smbclient/windows 2K settings?
Francisco Vaucher <[email protected]>
| Newsgroups | gmane.linux.redhat.release.guinness |
|---|---|
| Message-ID | <[email protected]> |
ups sorry, i didn't read all the message lol ;P The problem is that your linux box is not resolving names (NetBios sessions). Under w2k if you have a WINS running you could add it to your smb.conf file the 'wins server' directive that points to your WINS server IP wins server = 192.168.1.1 Here is the HELP for the wins server directive: "wins server (G) This specifies the IP address (or DNS name: IP address for preference) of the WINS server that nmbd(8) should register with. If you have a WINS server on your network then you should set this to the WINS server's IP. You should point this at your WINS server if you have a multi-subnetted network. NOTE. You need to set up Samba to point to a WINS server if you have multiple subnets and wish cross-subnet browsing to work correctly. See the documentation file BROWSING.txt in the docs/ directory of your Samba source distribution. Default: not enabled Example: wins server = 192.9.200.1" If you don't have a WINS server, you could add in your /etc/hosts an entry to that machine: 192.168.1.5 your_machine_name Francisco M. Vaucher Departamento IT Tyco / ADT Security Services Buenos Aires - Argentina mailto:[email protected] -----Mensaje original----- De: John G. Wohlbier [mailto:[email protected]] Enviado el: viernes, 20 de septiembre de 2002 14:33 Para: [email protected] Asunto: smbclient/windows 2K settings? Hi, I am trying to get to a windows share on a Win2K box on our network using smbclient. When I try the machine name I get: $ smbclient //machinename/username added interface ip=myip bcast=mybcast nmask=mynmask Connection to morpheus failed where of course the ip, bcast and nmask are valid numbers, i just hid them for security sake (??!! i'm a newbie, i don't know if this is neccessary.) then if i try using the IP address directly I get $ smbclient //123.456.789.876/username added interface ip=myip bcast=mybcast nmask=mynmask session request to 123.456.789.876 failed (Called name not present) session request to 123 failed (Called name not present) Password: and I can successfully log in. For the life of me I can't figure out what is happening on the win2k end that won't let me say the machine name directly. Help? Thanks jgw -- John G. Wohlbier [email protected] http://www.cae.wisc.edu/~wohlbier 608.265.3981 _______________________________________________ Guinness-list mailing list [email protected] https://listman.redhat.com/mailman/listinfo/guinness-list