************** try script like this works fine for me HOSTS=`/usr/local/samba/bin/smbstatus -b | tail -n +5 | cut -c19-26` for PC in $HOSTS do cat $1 | /usr/local/samba/bin/smbclient -M $PC done ************** Peter Lingen Tel.: +49 2166 27 2646