using and testing %a

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


isguest at sab.wels.net 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
 \/    http://www.valinux.com  VA Linux Systems    gcarter at valinux.com
       http://www.samba.org       SAMBA Team           jerry at samba.org
       http://www.eng.auburn.edu/~cartegw

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




More information about the samba mailing list