using and testing %a

Gerald Carter gcarter at
Tue Aug 29 14:16:28 GMT 2000

isguest at wrote:
> Is there a quick and easy way to find out what the %a 
> substitution string returns for a given computer?  

Use a preexec script on a share like

	preexec = echo "machine (%I) = %a" >> /tmp/os.log

Cheers, jerry
   /\  Gerald (Jerry) Carter                     Professional Services
 \/  VA Linux Systems    gcarter at       SAMBA Team           jerry at

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )

More information about the samba mailing list