FYI, it works when finding my *own* address:
nissan$ smbutil lookup nissan
Got response from 192.168.0.2
IP address of nissan: 192.168.0.2
But I assumed the point of it was to find the address of *other* machines.
Note that I can access other machines using smbfs:
nissan$ df /home/rosalind
Filesystem kbytes used avail capacity Mounted on
//[EMAIL PROTECTED]/MyDocuments
239215880 236350152 2865728 99% /home/rosalind
nissan$ ls -ld '/home/rosalind/My Pictures'
drwxrwxrwx 1 shannon 0 Nov 22 20:59 /home/rosalind/My Pictures
nissan$ grep rosalind /etc/auto.home
rosalind -fstype=smbfs,uid=shannon,gid=staff,fileperms=0666,noprompt
://[EMAIL PROTECTED]/MyDocuments
nissan$ grep rosalind /etc/hosts
192.168.0.100 home-100 rosalind
Since the IP address for rosalind comes from DHCP, I was hoping to
use smbutil lookup to find the current IP address, rather than
constantly updating /etc/hosts as it changes.
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss