Hint: Extract IP's of Windows Clients from sambalog
as I didn't find my win machines in the leases lists (at least not with their
given host names) I now used this command line in order to get a list from
samba logs. To understand it entirely, you must know, that our clients' names
(for windows) start with the name of the room the clients are in, in this
/var/log/samba# grep -i g100 /var/log/samba/log.g100-* \
| grep init | cut -d\ -f3-4 | sort | uniq
The result looks like:
To get a sorted list of IPs, use cut -d\ -f4 instead of 3-4!
grep -i g100 /var/log/samba/log.g100-* | \
grep init |cut -d\ -f4 |sort |uniq |tr "()" " "