[Samba] basic WINS/smbclient problems
tmp at nitwit.de
tmp at nitwit.de
Sun Mar 27 16:03:12 GMT 2005
Hi!
Two problems:
1) I can access shares by IP but not by name, so I assume that WINS doesn't do
its job for some reason, smb.conf:
[global]
wins support = yes
name resolve order = lmhosts wins hosts bcast
2) I don't quite get it how smbclient works. As I mentioned name resolve
does't work and hance smbclient -M MACHINE doesn't either but an IP should
work:
# nmblookup -A 192.168.0.5
Looking up status of 192.168.0.5
NOTEBOOK <00> - M <ACTIVE>
HOME <00> - <GROUP> M <ACTIVE>
NOTEBOOK <20> - M <ACTIVE>
HOME <1e> - <GROUP> M <ACTIVE>
MAC Address = 00-13-77-00-15-15
# smbclient -I 192.168.0.5
Usage: [-?] [-?EgV] [-?EgV] [-?EgVNkP] [-?|--help] [--usage]
[-R|--name-resolve NAME-RESOLVE-ORDER]
[-M|--message HOST] [-I|--ip-address IP] [-E|--stderr] [-L|--list
HOST]
[-t|--terminal CODE] [-m|--max-protocol LEVEL] [-T|--tar <c|
x>IXFqgbNan]
[-D|--directory DIR] [-c|--command STRING] [-b|--send-buffer BYTES]
[-p|--port PORT] [-g|--grepable] [-d|--debuglevel DEBUGLEVEL]
[-s|--configfile CONFIGFILE] [-l|--log-basename LOGFILEBASE]
[-V|--version] [-O|--socket-options SOCKETOPTIONS]
[-n|--netbiosname NETBIOSNAME] [-W|--workgroup WORKGROUP]
[-i|--scope SCOPE] [-U|--user USERNAME] [-N|--no-pass] [-k|--kerberos]
[-A|--authentication-file FILE] [-S|--sign
...or whatever I tried with -I, it didn't work...
More information about the samba
mailing list